Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to All,

I used one (*.vbs) file for scheduler process. In that .vbs file i called Page1.aspx on that Page1.aspx page contain the method to redirect to Page2.aspx.

My Problem is:
While i configure the .vbs in Windows scheduler it's working fine and call the Page1.aspx, while executing the Page1 method it will not redirect to Page2.aspx, How can i redirect the Scheduler from Page1 to Page2.

Code Sample:
test.vbs:
---------
C#
window.location = "Page1.asp"


Page1.aspx:
-----------
C#
public void CallRedirect()
{
  Response.Redirect("Page2.aspx");
}


Page Load:
---------
C#
Callredirect();
Posted
Updated 22-Aug-11 17:00pm
v4
Comments
thatraja 20-Aug-11 10:09am    
Need more details. Include the code in your question.
Sunasara Imdadhusen 22-Aug-11 23:00pm    
Add PRE tag

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900