I have a testing/development environment and a production environment for an ASP.NET application.
The URLs end up being similar to the following:
http://www.whatever.com/folder/appname for development (running on IIS 5.1)
and
http://app.whatever.com/ for production (running on IIS 6.0)
Both applications presently contain the exact same folder/file structure. Everything is the same. For whatever sets of reasons, the following code is returning different results. On development, the behavior is expected, and the page is displayed
Response.Redire ct(Request.Appl icationPath & "/whatever.aspx")
Deveopment - Redirects to http://www.whatever.com/whatever.aspx
Production - Redirects to http://whatever.aspx
....and we obviously have a problem. I'm probably missing something incredibly simple or my approach is flawed. Just curious what the solution is. Driving me nuts.
Thanks