Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > aspnet_wp unable to make remote connection in .net framework 2.0

Reply
Thread Tools

aspnet_wp unable to make remote connection in .net framework 2.0

 
 
StealthEX
Guest
Posts: n/a
 
      07-11-2006
Hi,
I have a .net 2.0 web service that acts as a messaging hub that takes a SOAP
request from a single source and then sparks of a bunch of requests to
multiple web services. This worked fine in .net 1.1 but now we've
re-engineered it and written it using .net 2.0 and now it doesn't work. We
have nailed the problem and it seems to lie in the fact that the when
aspnet_wp makes a request to an external host, it tries to go via a
non-existent proxy server. How can I force it to bypass any proxy and connect
directly? The internet settings are all correct - is there something in
ASP.NET 2.0 that adds extra restrictions to the ASPNET user (as I said, it
works fine in 1.1).
 
Reply With Quote
 
 
 
 
StealthEX
Guest
Posts: n/a
 
      07-12-2006
Don't ask me specifics, but there are changes in system.net in .net 2.0 from
1.1 so this is why you are experiencing a difference. It looks like your web
service is trying to use the default proxy and in .net 2.0 it digs through
your registry and its obviously picking up this proxy that you say doesn't
actually exist.
To force it to use a direct connection add the following into your
web.config and it will prevent any unecessary proxy detection.

<system.net>
<defaultProxy>
<proxy usesystemdefault="False"/>
</defaultProxy>
</system.net>

Hope it helps!

"StealthEX" wrote:

> Hi,
> I have a .net 2.0 web service that acts as a messaging hub that takes a SOAP
> request from a single source and then sparks of a bunch of requests to
> multiple web services. This worked fine in .net 1.1 but now we've
> re-engineered it and written it using .net 2.0 and now it doesn't work. We
> have nailed the problem and it seems to lie in the fact that the when
> aspnet_wp makes a request to an external host, it tries to go via a
> non-existent proxy server. How can I force it to bypass any proxy and connect
> directly? The internet settings are all correct - is there something in
> ASP.NET 2.0 that adds extra restrictions to the ASPNET user (as I said, it
> works fine in 1.1).

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
aspnet_wp.exe did not work after installed Framework 2.0 =?Utf-8?B?RkQ=?= ASP .Net 6 06-28-2007 06:37 PM
aspnet_wp in 100% lockup (framework 1.1, not 1.0) Damien ASP .Net 1 05-20-2005 10:23 AM
Remote Assistance fails to connect, remote remote host name could not be resolved Peter Sale Wireless Networking 1 12-11-2004 09:09 PM
Unable to Kill aspnet_wp.exe Microsoft ASP .Net 0 04-16-2004 09:52 PM
Unable to Kill aspnet_wp.exe Microsoft ASP .Net 2 04-16-2004 08:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57