. NET 4.0 site publishing (GO)

Source: Internet
Author: User

Http://www.cnblogs.com/daomul/archive/2013/05/23/3095232.html

1. Under the Web project of the solution, right click on the project Select "Release (B)"

2. Publish method Select the file system destination location to select a location to publish to this computer

3, copy the WS.DB3 to the published directory, the connection to the object of the data will need this step, (before you need to modify the configuration file, the server's database to add to the machine)

4. Set permissions for folders

4.1 Right click on the published folder, select "Properties", tab Select "Security", click "Edit" to enter the rights of EM, select "Add (D)" into the Select User or group, select "Advanced (A)"

4.2 Click "Find Now", select "Everyone" in the list below, double-click Back to select User or group interface, determine

5. Enter IIS settings, select "Administrative Tools" in the Control Panel, and select "Internet Information Services (IIS) Manager" after entering

6, add the site, right click on the site, add, enter the site name, physical path, port number, determine

7. Application pool configuration, select V4.0 version

8, go to the EM website, switch to view in the content view, select the page file "browse"

9. Error Condition: 500 error may occur, or the following 404 error:

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.

10. Solution:

10.1 Go to the Control Panel--programs and features--turn Windows features on or off--Internet Information Services put the hook on the hook,

10.2 The mapping for ASP. NET 4.0 is missing from the handler mappings, and the mapping needs to be added. How to: Open the command line as an administrator and run the following command:

C:\Windows\Microsoft.NET\Framework\V4.0.30319\aspnet_regiis-i

10.3

Complete.

. NET 4.0 site publishing (GO)

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.