M
Matt
The ASP.NET application connects to MS-SQL database, and I already disabled
Anonymous access in IIS, and add ASPNET user in it. When I run the
application, it throws the following error on windows authentication:
Server Error in '/' 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 46: by Microsoft that offers a single logon and core profile
services for member sites.
Line 47: -->
Line 48: <authentication mode="Windows"/> //<====== ERROR!!
Here's the portion of the web.config file that I modified, any ideas what's
the problem here?
<configuration>
<appSettings>
<add key="connString" value="Data Source=127.0.0.1;Integrated
Security=SSPI;Network Library=DBMSSOCN;Initial Catalog=studentdb;"></add>
</appSettings>
<system.web>
<identity impersonate="true" />
//etc...
Anonymous access in IIS, and add ASPNET user in it. When I run the
application, it throws the following error on windows authentication:
Server Error in '/' 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 46: by Microsoft that offers a single logon and core profile
services for member sites.
Line 47: -->
Line 48: <authentication mode="Windows"/> //<====== ERROR!!
Here's the portion of the web.config file that I modified, any ideas what's
the problem here?
<configuration>
<appSettings>
<add key="connString" value="Data Source=127.0.0.1;Integrated
Security=SSPI;Network Library=DBMSSOCN;Initial Catalog=studentdb;"></add>
</appSettings>
<system.web>
<identity impersonate="true" />
//etc...