I use web service to upload image on server but when I called it I got following error:
No connection could be made because the target machine actively refused
Here is my code snippet.
MemoryStream ms = new MemoryStream(f)
FileStream fs = new FileStream(@"C:\\" + fileName, FileMode.Create);
ms.WriteTo(fs);
ms.Close();
fs.Close();
fs.Dispose();
return "OK";
4 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Munesh SharmaPosted Sep 5, 2015, 1:34 AM
Rajesh SahooPosted Sep 4, 2015, 9:13 PM
Rehan ShaikhPosted Sep 4, 2015, 8:44 AM
Rajesh SahooPosted Sep 4, 2015, 8:19 AM