Jump to content
Sign in to follow this  
yoshida

Runtime Error Upon Testing Pages

Recommended Posts

I'm learning ASP.net from a book, and I must say it's quite enjoyable and straightforward. Less of a hassle than PHP from what I've experienced.However I'm in day three of learning, and every next day I can't seem to run a previous project. Though I can start a new project and that'll run no problem.The software I'm using is Microsoft Visual Web Developer 2008 Express edition on Windows 7 build 7100. The warning I get is this one:X:\docs\project folder\project\chapter0203.aspx: ASP.NET runtime error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (X:\docs\project folder\project\web.config line 86)It's no doubt a minor serversided issue, like the project being in the wrong folder or a service that refuses to start. I didn't use the Search function because I lack sufficient experience to effectively use the right keywords (so don't nag about it!) and the outcome of this issue will greatly determine my motivation to learn this web language.Definite solutions only please, keep the guesstimation level to a plausible level. if anyone could help me out then that would be greatly appreciated.Thanks, Bram

Edited by yoshida

Share this post


Link to post
Share on other sites

OK I seem to have 'solved' this. Windows 7 appears to have improved user authentication, so this line <authentication mode="Windows" /> which was referenced in the warning caused the f00k-up. I removed it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...