Hello,
I released my application to another machine and put it under
C:\Inetpub\wwwroot\MyProject and created a web site on this folder. Now I am
running it with http://localhost/MyProject/MyPage.aspx and I am getting the
following error.
What is problem? Do I have to create a virtual directory for my application?
Error:
------------------------------------
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 49: by Microsoft that offers a single logon and core profile
services for member sites.
Line 50: -->
Line 51: <authentication mode="Forms">
Line 52: <!--<forms loginUrl="logon.aspx" name="adAuthCookie" timeout="60"
path="/"></forms> -->
Line 53: <forms loginUrl="logon.aspx" name="sqlAuthCookie" timeout="60"
path="/"></forms>