ASP.NET 1.1 error

I have made a new ASP.NET program by using a WebClient functionality. I tested it locally and it works fine.

But when I use it on the web site, I get this error:
CS0117: 'System.Net.WebClient' does not contain a definition for 'DownloadString'

I need this functionality. I have already submitted a ticket. Please look into it.

Thanks,
Sanjay
 
Now I am not sure whether the method really exists in 1.1. In my local testing, I am using cassini web server and the web site is set to asp.net 1.1. I hope cassini does use 1.1.

I will try to switch to another method and see if that works.
 
Back
Top