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)