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 ---