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...
Loading
Pramod Kumar NandagiriPosted Jun 7, 2012, 10:10 AM
i am executing the below code in a button click, if the code fires properly then it a sms message will be sent to the destin number
button_Click
{
Process.Start("http://192.168.1.101:801/Send/Default.aspx?Destin=9703683347&msg=fromlocalsystem2");
}
The code working fine from local system, when button is clicked the Default.aspx is opened in browser and sms has been sent
but when i host the page in windows server 2008, and then clicked the button then nothing happened and sms has not sent
Please provide me a solution, thanking you very much...
the 192.168.1.101:801 is the other system with windows7 operationg system
server is one another system with windows server 2008
server and 192.168.1.101:801 are connected through LAN
The sms is going if i manually run the url "http://192.168.1.101:801/Send/Default.aspx?Destin=9703683347&msg=fromlocalsystem2" from server's browser. but not working if i keep it in the process.start(""); method like above
Thanking you very much...