asp.net mvc - ASP MVC on IIS6 -
In our asp mvc application, we are using embedded views, images and CSS files. Though deployed on IIS 6, ideas are being presented but we are having problems with images and CSS files. We are not receiving 404 error.
The same application on the UltiDev Casino web server is working fine. The problem with IIS6 seems to be that any kind of advice / help on this topic will be highly appreciated.
Are you saying IIS to handle all requests via ISAPI filter? It was not clear that it was done in your configuration. If not, it requires a MVC application in IIS6 ...
- Go to IIS Manager.
- Select your website then properties.
- Home Directory
- Configuration
Then insert a wildcard application map.
Set it to [Star]. [Star] and set it executable C: \ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ aspnet_isapi.dll
UNTICK "Verify file exists".
This will make IIS6 push all the requests for any file type through ISAPI filter is the negative side performance but the posts of the SO are telling you that for your MVC application a How to write a better handler.
Comments
Post a Comment