I have deployed an app to an IIS6 server. For now, I’m using the wildcard mapping. My app works perfectly fine on my development machine, but when I try to access it on the server, some pages work and some don’t.
It is the scripts & images that are giving me the biggest problem.
I have a url http://localhost/sdev/home/index and the page comes up fine except the images and scripts don’t load. When I view source and look at the url I see:
../../Content/Images/logo.png
If I try to navigate to that url, it tries to go to
http://localhost/content/images/logo.png
instead of
http://localhost/sdev/content/images/logo.png
The strange thing is that some pages work fine, such as:
http://localhost/sdev/ServiceCall/DivisionStep/ALB?type=fsr
Any ideas on what I can do to fix this? Yes, I have read Phil’s instructions and thought I followed them correctly but maybe I missed something.
Use
to generate the urls and you should be ok.