New error

  • Thread starter Thread starter Mark Goldin
  • Start date Start date
M

Mark Goldin

Does that make any sence for anybody:

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 36: "Passport" and "None"
Line 37: -->
Line 38: <authentication mode="Windows" />
Line 39:
Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING

Source File: D:\testarea\dotnet\samples\treeview2\advtree\web.config
Line: 38
 
see inline

Mark Goldin said:
Does that make any sence for anybody:

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.

This last sentence says that you have lines in a web.config file that
are only allowed in a web.config at the application root. Possible reasons
for this:
* you copied a web.config file to somewhere below the approot and you should
remove the offending lines
* you copied your webapp to a (virtual) directory on the webserver,
without marking that directory as an "application" (see IIS console)
 
Back
Top