"/" Server errors in applications and Solutions

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.