I have recently converted a VS2003 Web Application to VS2005 Web Application.
I moved the application to the local machine running XP and IIS V5.1 in order to convert the code.
Under VS2003 I could do a Response.Redirect("AspPage.asp"), however under VS2005 this flags up the following error:
Server Error in '/'Application
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.sap' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
Requested URL: /NewClientMenu.asp
The Response. Redirect works if I am calling another .aspx page, however if I am trying to go to a parent directory as in Response.Redirect("../Anotheraspxpage.aspx") I get the following error:
Cannot use a leading .. to exit the above directory.
Again this worked in VS2003 siiting under IIS V5.1.
Is there a way around these two problems in VS2005?
Is it anything to do with IIS V5.1 or that I am running it locally and it is using VS2005 Virtual Server.
I would appreciate any help in this matter.