how to execute the webpage hosted in windows7 os from the server system(windows 2008)

Jun 7 2012 9:01 AM
Hi,

I have hosted a application in windows7 IIS, i just want to execute(not to open the page) the page from the server system , for that i have used the code



button1_Click
{
 using (Process p = Process.Start("http://192.168.1.101:801/Send/Default.aspx"))
  {
 
  }
}

The above code is the  web page code hosted in windows 2008, and Default.aspx is the page hosted in window7 operating system

This is working fine if try to execute the above code from the local system, but it is not working when i host the same page in windows 2008 and clicked the button1.

please any one help me why the above code is working from local system, why not from server system


Hi friends,, some times it has been worked from server also, but not every time,  i think problem is there in closing the process

Please tell me how to close or kill the above process...



Answers (1)