1. Publish a virtual directory
2. on the virtual directory, right click, click Properties, click configuration, and click Add.
3. In executeable, enter "C: \ WINDOWS \ Microsoft. net \ framework \ v2.0.50727 \ aspnet_isapi.dll ", and enter". * ", remove the check that file exists check (only the home page can be accessed if no such check is available), and click OK.
4. Click Add. In executeable, enter "C: \ WINDOWS \ Microsoft. net \ framework \ v2.0.50727 \ aspnet_isapi.dll ", and enter". MVC ", remove the check that file exists check (if not, only the homepage can be accessed), click OK
4-1. Insert a wildcard ApplicationProgramIng, click Insert, select c: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_isapi.dll, check whether the file exists, and click OK.
5. Compile the WEB Project. System. Web. MVC. dllCopy to local)
6. Configure the correct database connection
7 ,...
You can also refer to: http://www.cnblogs.com/taven/archive/2010/01/13/1646244.html