Forum Moderators: open

Message Too Old, No Replies

problems with httpwebrequest

         

vite_rts

11:03 am on Jul 5, 2006 (gmt 0)

10+ Year Member



Has anyone here had problems with httpwebrequest when their host upgraded to .net 2.0 ?

wardbekker

7:13 am on Jul 6, 2006 (gmt 0)

10+ Year Member



vite_rts,

No, but it might be good to check if your host supports run-time switching, allowing your website to run under 1.x of the framework. IIS supports this out of the box, so they should be able to do it.

Easy_Coder

3:21 pm on Jul 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you getting a specific error?

To see the runtime breaking changes in 2.0 on the msdn just google :
.net breaking changes

vite_rts

11:50 pm on Jul 6, 2006 (gmt 0)

10+ Year Member



The error is now well known, an its a permissions issues, apparently

yes they do have 1.1 emulation, but!

The security provisions off 2.0 rule even in 1.1 emulation. I imagine this is going to go round as more servers uprade to net 2.0

so, the hosts must resolve it :)

Actually, I've been labouring to work around it, not very nice,,

Easy_Coder

12:16 am on Jul 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Whats the error?

vite_rts

10:27 am on Jul 7, 2006 (gmt 0)

10+ Year Member



Here is the error message

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=