MTSkull
Centurion
I have a web app that runs fine on the Dev Machine but, when run from a folder on the server it cannot find files in the code behind. When I run it locally I can find all files. On the server, any <a> redirects work file but I can not use Response.Redirect in the code behind.
On the Server the pages are located in a subdirectory. Updating the redirect to include the sub dir also does not work.
I.E. "/SubDir/NextPage.aspx?SID=1234"
Not sure what else to try at the moment.
Thanks
MTS
Code:
//in the aspx page the following always works...
<a href="NextPage.aspx?SID=1234">Go To Next Page</a>
//in the code behind the equivalent does not work on the server.
// But does work on the development machine
Response.Redirect("~/NextPage.aspx?SID=1234");
On the Server the pages are located in a subdirectory. Updating the redirect to include the sub dir also does not work.
I.E. "/SubDir/NextPage.aspx?SID=1234"
Not sure what else to try at the moment.
Thanks
MTS