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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DnnDev.me on Windows 10DnnDev.me on Windows 10
Previous
 
Next
New Post
8/19/2015 6:33 PM
 

Made a preliminary attempt on setting up Dev environment (7.03.02) on Windows 10 machine following videos on this site (dnndev.me).  Install went fine, DNN loads fine.  Then when attempted to use the Christoc templates, doing a debug build (not even installing module yet), when I navigate to a page or two I get a generic DNN Error and Object Reference not set to an instance of an object with no real useful info when I look at SQL EventLog.  Any one seen this?  Thought it might be a permission issue, but checked web folder permissions set to IIS AppPool\dnndev.me, full control.  SQL running under same account as owner (again, all exactly like the Chris Hammond videos show.

 
New Post
8/20/2015 5:05 AM
 
Usually an Object Reference not set will include a stack trace in the DNN Event log.  That should help identify where in the system the error occured.  If you could post the full event details (mainly just the stack trace) from the DNN Event Log for the error in question it would help.  Alternatively, you could try looking at the log4net logs in the \Portals\_default\Logs folder to see what errors are getting logged.

Joe Brinkman
DNN Corp.
 
New Post
8/20/2015 6:53 AM
 

Thanks, Joe.  Here are the last errors I see.  Interesting before that a ton of similar errors to the first error about the missing Menu.ascx file, although it clearly exists and permissions are correctly cascading to that level for the dnndev.me appPool account.    Thoughts?

 

2015-08-19 16:19:23,654 [WorkPC][Thread:10][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.Web.HttpParseException: The file '/DesktopModules/DDRMenu/Menu.ascx' does not exist. ---> System.Web.HttpParseException: The file '/DesktopModules/DDRMenu/Menu.ascx' does not exist. ---> System.Web.HttpException: The file '/DesktopModules/DDRMenu/Menu.ascx' does not exist.

   at System.Web.UI.Util.CheckVirtualFileExists(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.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile)

   at System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath)

   at System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry)

   at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)

   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

   --- End of inner exception stack trace ---

   at System.Web.UI.TemplateParser.ProcessException(Exception ex)

   at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

   --- End of inner exception stack trace ---

   at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

   at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)

   at System.Web.UI.TemplateParser.ParseInternal()

   at System.Web.UI.TemplateParser.Parse()

   at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()

   at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)

   at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()

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

2015-08-19 16:19:23,657 [RickWorkPC][Thread:10][FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.

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)

   at System.Web.UI.Control.InitRecursive(Control namingContainer)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

2015-08-19 16:19:23,658 [WorkPC][Thread:10][ERROR] DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=37&error=terminate

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)

   at System.Web.UI.Control.InitRecursive(Control namingContainer)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

2015-08-19 16:19:23,665 [WorkPC][Thread:10][ERROR] DotNetNuke.Services.Exceptions.Exceptions - 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)

   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
8/21/2015 10:23 AM
 
Check your IIS Manager. You probably have a folder, probably DesktopModules, configured as an Application and it shouldn't be.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
8/21/2015 10:50 AM
 

Thank you, sir!  You were dead on.  Had set up a VS project with Christoc template, it had converted \DesktopModules to virtual directory and I didn't catch it.  I know better.  Been too long since I've done full module dev.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DnnDev.me on Windows 10DnnDev.me on Windows 10


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