Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedUnhandled Error loading page - An error has occurredUnhandled Error loading page - An error has occurred
Previous
 
Next
New Post
5/6/2013 5:13 PM
 

I have spent the last three days trying to solve this and I am stuck:  Any help would be GREATLY appreciated.

I am trying to set up a development environment on a local desktop, but I keep getting errors in the basic site setup.  The site installed without error, but when I try to access the site home, I get the "an error has occured" message.

In looking at the eventlog table I see 7 records that were generated: (I copy/pasted the details at the end of this post)

I have posted the details of one of each of the errors below.  The three are amost identical except for reference to a filename.  They are generated by the  System.Web.Compilation.AssemblyBuilder.Compile module.

The filenames are:

  • App_Web_2-column-right-mega-menu.ascx
  • App_Web_home-mega-menu.ascx 
  • App_Web_2-column-right-mega-menu.ascx 

Each is followed by an identical error generated by DotNetNuke.UI.Skins.Skin.GetSkin

My setup:

Windows Vista
IIS 7
VS2010
NET 4.0 assigned to the app pool
installed DNN ver 6.22
Website virtual folders are on Drive D:
I have given the App Pool Full rights to the entire website.
Also gave NETWORK SERVICE fill rights to the ..v4.0.30319\Temporary ASP.NET Files\root\ folders.

The First Error (repeated X3 with a different file name)

DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.Web.HttpCompileException: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\8d93e68c\ed309ae9\App_Web_home-mega-menu.ascx.c4b92e7a.wbkjezrb.0.vb : (0): error BC31007: Unable to open module file 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\8d93e68c\ed309ae9\App_Web_home-mega-menu.ascx.c4b92e7a.wbkjezrb.0.vb': System Error &Hc0000005& (Visual Basic internal compiler error)     at System.Web.Compilation.AssemblyBuilder.Compile()     at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()     at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)     at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)     at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)     at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)     at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)     at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc)     at DotNetNuke.UI.Skins.Skin.LoadSkin(PageBase page, String skinPath)     --- End of inner exception stack trace

The Error that follows each of the previous errors.

DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.     at DotNetNuke.UI.Skins.Skin.GetSkin(PageBase page)     at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e) in d:\websites\DNNDEV.ME\Default.aspx.cs:line 639     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     --- End of inner exception stack trace ---

 

 

 
New Post
5/7/2013 2:06 AM
 
Hi,

It seems that some of your skin file is missing. Try to recycle the app pool and restart your website. It might do the trick.

Thanks,
Avinash Kumar
Mindfire Solutions

 
New Post
5/7/2013 4:38 PM
 
Thanks for trying, but to no avail. I had already done that, but tried again multiple times. I also re-coppied all the files/folders from both the source and upgrade zip files in case there was something missing. Still have the same problem.

I have set up several local DNN instances on an XP machine that used IIS6 and the IIS and App Pool setup is very different. This is my first time with IIS7. There is an option for "Application settings" that I am not sure if I need to configure. Anyone have any suggestions or advice?
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedUnhandled Error loading page - An error has occurredUnhandled Error loading page - An error has occurred


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out