Deploy ASP.NET MVC on IIS 5.1 (Windows XP)

南楼画角 提交于 2019-11-27 03:24:00
Graviton

Here's what I found out and what worked for me: Deploy ASP.NET MVC App on Windows XP (IIS 5.1)

Edit:

For the latest release of ASP.NET MVC, replace .mvc with a wildcard .* Extension textbox in the Add/Edit Application Extension mapping.

You need to add a wildcard mapping in IIS 5. In IIS 6 you have a specific section to add wildcard mappings. In IIS 5 you map the extension .* and you select your asp.net ISAPI dll. If the "Ok" button is not clickable, click in the textbox of the dll path and it should then be clickable (don't ask, this happens to me all the time).

To host ASP .NET MVC applications in Windows XP, use IIS Developer Express.

After IIS Express is installed, open a command prompt at the install location and execute the following (substituting where necessary):

iisexpress.exe /path:[path_to_mvc_project] /port:[port] /systray:true /clr:v2.0

The same process (using Ionic rewriter) which works for 6.0 works for us on 5.x. What do you see in the Windows App Event log? And the IIS server log? Have you tried a rewriter?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!