FAQ and solutions for publishing ASP. WIN7

Source: Internet
Author: User

last month, the website published by ASP, the results encountered a variety of problems, for the future, or to write down a convenient point.

1. The page you requested cannot be provided due to an extended configuration issue. If the page is a script, add a handler. If you should download the file, add a MIME map.

Workaround:

Locate the Visual Studio 2008 Command Prompt tool or the Visual Studio 2005 Command Prompt tool. Then run as administrator, enter the command
Aspnet_regiis-i (version 2010 and 2012 Pro-Test is also possible)

2.HTTP error 404.17-not The content of the Found request appears to be a script and therefore cannot be handled by a static file handler.

Solution: Check to see if ASP is installed:
Control Panel programs and features turn on or turn off Windows features > Internet Information Services > World Wide Web Services > Application Development features > ASP. NET (see if this is selected);

3. Error Details: System.Data.SqlClient.SqlException: User ' IIS Apppool\defaultapppool ' logon failed

Solution:

Open SQL Server 2005 (Management Studio)

1. Security--Login name--New login 2. General-Search

.

3. Add Service Users (click Advanced--Find Now, find service in search results) Click Advanced:

Click Find Now

In the search results, locate the service, double-click, and then OK.

4. Server role Check the sysadmin: click OK.

In IIS: Identification of the process model, advanced settings, right-click, application pool, corresponding program pool

Find NetworkService and click OK.

This completes the question 3 ...

4. Configuration Errors

Description: An error occurred while processing the configuration file required to service the request. Please check the specific error details below and modify the configuration file as appropriate.

Parser Error Message: Unrecognized property "TargetFramework". Note that property names are case-sensitive.

Solution: Change the application pool version to 4.0

5. Other issues: If the remote port can not connect to the server, it may be a firewall problem, the simplest is to shut down the firewall.

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.