When I open the above website in vwd2005 or2008 I receive the following error when trying to view default.aspx in the browser.
Server Error in '/pwsk' Application.
Configuration Error
Description:
An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: 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.
Source Error:
Line 154: </compilation>
Line 155:
Line 156: <authentication mode="Forms">
Line 157: <forms loginUrl="Login.aspx" protection="Validation" timeout="300"/>
Line 158: </authentication>
Source File: C:\Documents and Settings\Jerry Dean\My Documents\Visual Studio 2008\WebSites\pwsk\sitecode\web.config Line:
156
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. (C:\Documents and Settings\Jerry Dean\My Documents\Visual Studio 2008\WebSites\pwsk\sitecode\web.config line 166)
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. (C:\Documents and Settings\Jerry Dean\My Documents\Visual Studio 2008\WebSites\pwsk\sitecode\web.config line 168)
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. (C:\Documents and Settings\Jerry Dean\My Documents\Visual Studio 2008\WebSites\pwsk\sitecode\web.config line 175)
</div> <script type=text/javascript> function OnToggleTOCLevel1(level2ID) { var elemLevel2 = document.getElementById(level2ID); if (elemLevel2.style.display == 'none') { elemLevel2.style.display = ''; } else { elemLevel2.style.display = 'none'; } } </script>
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
I can however extract the files to the desktop, open and view default.aspx without a problem, the problem occurs only after I open the website and try to view default.aspx in the browser.
Member
13 Points
179 Posts
pwsk from http://willyd.ca/Default.aspx
Nov 29, 2007 10:28 PM|jerrydean|LINK
When I open the above website in vwd2005 or2008 I receive the following error when trying to view default.aspx in the browser.
Server Error in '/pwsk' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message: 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.
Source Error:
Source File: C:\Documents and Settings\Jerry Dean\My Documents\Visual Studio 2008\WebSites\pwsk\sitecode\web.config Line: 156
<div class=expandable onclick="OnToggleTOCLevel1('additionalConfigurationErrors')">Show Additional Configuration Errors:</div> <div id=additionalConfigurationErrors style="DISPLAY: none">
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
I can however extract the files to the desktop, open and view default.aspx without a problem, the problem occurs only after I open the website and try to view default.aspx in the browser.
Participant
1900 Points
446 Posts
Re: pwsk from http://willyd.ca/Default.aspx
Nov 30, 2007 02:42 AM|somnathmali|LINK
You need to create Web Application OR virtual Directory in the IIS.
.NET Developer , Pune INDIA.
Please Mark As Answer If my reply helped you.