Forum Moderators: open

Message Too Old, No Replies

ASP.net 3.5 issue

asp.net, 3.5 issue

         

KRMwebdesign

11:49 am on Jan 24, 2011 (gmt 0)

10+ Year Member



I'm getting this error in my .Net application. I just cannot figure it out. Has anyone got any idea what I can do?

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 48: ASP.NET to identify an incoming user.
Line 49: -->
Line 50: <authentication mode="None"/>
Line 51: <!--
Line 52: The <customErrors> section enables configuration

Source File: *myaddress*\webserviceapi\web.config Line: 50

Ocean10000

2:33 pm on Jan 24, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Looks like you need to make a setting change in IIS, specificly mark the folder as an application in IIS.

Reference:
Creating Applications in IIS 6.0 (IIS 6.0)
[microsoft.com]

KRMwebdesign

2:42 pm on Jan 24, 2011 (gmt 0)

10+ Year Member



Thanks Ocean,
I will have a look at that reference and see if it helps.

Thanks again.