ASP. net mvc application, site published to local IIS, asp. netmvc
Detailed steps for preparing materials for visual studio 2013 and iis 7
1. Start visual studio as an administrator
2. Create a project web app or site
3. compile the project
4. Right-click the project and select publish (publish)
5. Create a configuration file for the first configuration.
6. For connection verification, enter the server and site name.
7. Click publish.
Ps: Common Errors
1. visual studio failed to open the press conference without an administrator
2. Error ERROR_APPPOOL_VERSION_MISMATCH: The Web deployment task fails. (The application pool you are trying to use has set the "managedRuntimeVersion" attribute to "v2.0 ".
You need to modify the default program pool. net framework version in the application pool.
3,HTTP 500.21-Internal Server ErrorThe handler "PageHandlerFactory-Integrated" has an error module "ManagedPipelineHandler" in its module list"
Cause: after the Framework v4.0 is installed, IIS is enabled again. As a result, the Framework is not fully installed.
Solution:
4,Compiler error message: CS0016:Failed to write the output file "c:/Windows/Microsoft. NET/Framework/v2.0.50727/Temporary ASP. NET Files/root/d553c2e4/701310ee/logs" -- "access is denied. "
Solution:
Reference: 1,HTTP Error 500.21
2. Error cs0016