Hi Chaps
I normally do not post asking for a solution but this one has really driven me mad.
I am using the HttpWebRequest object in the .NET framework to perform a really normal 'GET' request. The target is on IIS.
If I run the code through a console application it runs fine and I get a response back.
If I run it through a web app ( ASP.NET, C#) I get the above exception.
Two days of googling and troubleshooting has got me nowhere.
Another thing is, on that same IIS box, there are two more websites which return a response, but the rest give me that exception.
Any clues? Anybody encountered this problem before ?
I normally do not post asking for a solution but this one has really driven me mad.
I am using the HttpWebRequest object in the .NET framework to perform a really normal 'GET' request. The target is on IIS.
If I run the code through a console application it runs fine and I get a response back.
If I run it through a web app ( ASP.NET, C#) I get the above exception.
Two days of googling and troubleshooting has got me nowhere.
Another thing is, on that same IIS box, there are two more websites which return a response, but the rest give me that exception.
Any clues? Anybody encountered this problem before ?
Comment