Solution: Increase the ntfs permission on the directory where the site is located, and increase the service user's full control over the site directory.
The error message is as follows:
Runtime error
Note: An application error occurs on the server. The current custom error settings of this application Disable remote viewing of detailed information about application errors (for security reasons ). However, you can view it in a browser running on the local server computer.
Details: to enable others to view details of this specific error message on a remote computer, go to the "Web. create a <mermerrors> tag in the config file. Set the "mode" attribute marked by <customErrors> to "Off ".
<! -- Web. Config configuration file -->
<Configuration>
<System. web>
<CustomErrors mode = "Off"/>
</System. web>
</Configuration>
Note: Modify the defaultRedirect attribute of the <customErrors> Configuration tag of the application to point to the URL of the custom error page, you can use a custom error page to replace the current error page.
<! -- Web. Config configuration file -->
<Configuration>
<System. web>
<CustomErrors mode = "RemoteOnly" defaultRedirect = "mycustompage.htm"/>
</System. web>
</Configuration>
"/" Indicates a server error in the application.
Configuration Error
Note: An error occurred while processing the configuration file required to provide services to the request. Check the following error details and modify the configuration file as appropriate.
Analyzer error message: Unrecognized configuration section "connectionStrings"
Source error:
Row 12: <add key = "Dsn" value = "server = (local); database = al_bysj; uid = sa; pwd ="/>
Row 13: </FIG>
Row 14: <connectionStrings>
Row 15: <add name = "al_bysjConnectionString" connectionString = "Data Source = (local); Initial Catalog = al_bysj; User ID = sa; Password =" providerName = "System. data. sqlClient "/>
Row 16: </connectionStrings>
Source File: D: PrecompiledWebMaterialManageweb. config row: 14
Version: Microsoft. NET Framework Version: 1.1.4322.2300; ASP. NET version: 1.1.4322.2300
It can be captured from version information,
Confirm your Microsoft. NET Framework version. I use Microsoft. NET Framework 2.0.
Solution 1:
Run C:/WINDOWS/Microsoft. NET/Framework/v2.0.50727/aspnet_regiis.exe-I in the cmd command line.
Solution 2:
Select the website in IIS, right-click 'properties', and select the Asp.net tab bar. Change the Asp.net version to 2.0.
Microsoft. NET Framework Version: 1.1.4322.2300