asp.net mvc 4 - RedirectPermanent working on local server but giving Error 500.19 on remote -
We are trying to implement a new ASP.NET webapplication. To ensure compatibility with older customers, who use the webservice on a URL which is no longer valid, the following solutions:
context.MapRoute ("WebSwies_LlGlassi-Compatibility", "Oldname / Webservices / getVersion ", new {controller =" redirection ", action =" index "}); This method is in Redirect Controller:
Public ActionResult Index (String Name) {Redirect Permanent ("/ webservices / update / getlatestversionLegacy? Name =" + Name); } Everything now works on the local Visual Studio Development Server, but once I work on remote IIS 7.5, I get a HTTP error 500.19 - Internal Server Error telling me, \ Web.config file \ path will not be found here \ old \ web.config
Note: access to / webservices / update / GetLatestVersionLegacy is working directly on remote!
I found a solution by contacting the server administrator, another application pool was handed over to the old name, one Once they get rid of it, the problem has gone away.
Comments
Post a Comment