Our environment currently is running ASP page to pass a querystring to the Web Server. The client side is using a windows application to send the data (example):
The Server application (written on VB6) that receives the message will read the querystring content to perform some actions.
We have converted our Server application to .NET. Thus, we understand that the .aspx page is required.
What we want to do is to perform redirection from .asp page to .aspx page for our server application to get the querystring for further action.
We are testing on both Server.Transfer and Response.Redirect. Based on various research done, we got to know the Server.Transfer has better performance if it is used to re-direct a page within the same Server. This is what we are looking at.
We do not face any issue on Response.Redirect. However, we facing issue on Server.Transfer method.
We did some test and fail to redirect our asp page to ASPX page. The .asp page code as below:
<%@ LANGUAGE="VBSCRIPT" %>
Kindly let us know how to make the .asp to .aspx page able to work for Server.Transfer.
Software and Operating System
IIS Version: 8.5
.NET Framework: 4.0/4.5
Windows Server 2012 R2