Click to See Complete Forum and Search --> : configure the Web.config file


netsearcher2000
November 5th, 2004, 11:48 PM
Hello everyone,

I have a project which can run well at the orginal folder in my computer. If I move the project folder in Disk G to Disk D. I got an error message as listed behind.

I did make the virtual directory in IIS similarly as I did for the orginal project.

If someone has encountered this problem, please help me. Thanks in advance.


{quote}
Server Error in '/Website' 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 44: by Microsoft that offers a single logon and core profile services for member sites.
Line 45: -->
Line 46: <authentication mode="Windows"/>
Line 47:
Line 48: <!-- AUTHORIZATION


Source File: G:\My Websites\Website\web.config Line: 46


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

--------------------------------------------------------------------------------

{/quote}