I have an ajax app in asp.net 4.0. It all works locally, but when I move it to the server I get JavaScript issues that state the namespace that my webservice sits in is not defined. Diving further into this I realize my service.asmx/js and service.asmx/jsdebug are not resolving. I have been all over these forums and the net of course and I can not find a solution. I kinda think this could be an IIS mapping issue, but I just don't know enough. If anyone has anyideas, please let help. Thank you. T
A http status code of 404 is fairly straightforward, the web application is looking for a file or folder and it is not finding it. It is more of a path issue then anything else.
Thank you for your reply. Yeah I agree that it could be some kind of handler issue. I have all the handlers set at the default Winhost and I have it working on a local dev server and in my vs2010 dev environment. the jsdebug scripts are loaded at runtime by .NET and it seems that I can not get IIS on Winhost server to find the jsdebug file. Driving me crazy. Is there any handler that I could create that forces IIS to recognize the .svc/jsdebug as a file? Thanks, Mac
You can always define your own handler mapping in IIS 7 Manager. Look at this kb article for some instructions on how to connect to our server with your IIS 7 Manager. http://support.Winhost.com/KB/a628/using-the-microsoft-iis-70-manager.aspx Then go to the Handler Mapping module and try to setup your own customize handler mapping.
I have tried different mapings with no luck. I have the System.Web.Extensions.dll in the bin cause I am working off ajax 4.0 does that have anything to do with this? Thank you.
Give me a URL to look at so I can run through the steps to produce the error. I'll see what I can come up with on my end.