I am writing an integration program to a webservice.
I am getting this error when I try to get the response from the webservice and write it into a text file. It was working fine till a week ago and this program runs fine in the live server.
I have closed all other procces in my program. Any help will be much appreciated.
Here is my code snippet.
catch (Exception e)
string file = Server.MapPath("error.txt");
lblError.Text = "There was an error processing your package,please make sure all your values are correct and try again.";
StreamWriter er = new StreamWriter(file);