Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

no response from webservice

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jan - 30 Jan 2005 17:31 GMT
For an educational program I use a webservice for acces to a central database
on a remote server. The webservice is is being accessed over https. So far
this worked fine on the computersystems in the about 20 schools that are
participating.
On one school however, a problem occurs since they changed from internet
provider.
The problem seems to be to get the response back from the webservice. This
is the error message:
System.Net.WebException: Underlying connection closed: can't make connettion
with remote server
  at System.Net.HttpWebRequest.CheckFinalStatus()
  at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
  at System.Net.HttpWebRequest.GetResponse()
  at System.Net.Connection.TunnelThroughProxy(Uri proxy, HttpWebRequest
originalRequest, Socket& socket).

I don't call the HttpWebRequest methods directly from my code, they are
called from within the webserviceproxyclass that I generated with wsdl.exe.

The problem only occurs when the user doesn't have administrational rights.
When the adminstrator himself logs in on the computer, calling the webservice
works fine, like before.

I have no clue yet where to look for the solution. Any suggestions would be
very welcome.

Additional information about the schools LAN (from where the program is
executed): server had windows 2000, clientcomputer has windows XP.
Internetconnection over asdl, no proxyserver used.

Jan
Siegfried Glaser - 31 Jan 2005 17:11 GMT
Maybe a dumb answer but I'm pretty new to this stuff. Have you allready tried
to use the webservice with your browser? The errormessage makes me believing,
you simply aren't allowed to access the webservice's URL.

                Sigi
Jan - 01 Feb 2005 00:11 GMT
thank you for your reaction. In fact your suggestion was the first thing I
tried. When they use the browser they get to see the normal presentation of
the webservice. So in that way nothing goes wrong.

Jan

> Maybe a dumb answer but I'm pretty new to this stuff. Have you allready tried
> to use the webservice with your browser? The errormessage makes me believing,
> you simply aren't allowed to access the webservice's URL.
>
>                  Sigi
Siegfried Glaser - 01 Feb 2005 22:03 GMT
Another posting brought me to a new idea. Does your Client use the IE proxy
settings?

The posting I refer to has the subject "proxy support" and was postet by
"Scott" at 01.02.2005 18:04.
Jan - 02 Feb 2005 21:09 GMT
In addition to my first post the following question: I try to find
information about the "TunnelThroughProxy" method. According to the error
message this should be a method of the System.Net.Connection class. But in
Microsofts reference I cannot find either a System.Net.Connection class or a
TunnelThroughProxy method. Does anyone have suggestion how to find
information about these?

Jan
Dilip Krishnan - 03 Feb 2005 13:40 GMT
Hello Jan,
  Those are private/internal classes, thats why. If you really want to dig
in you would need to use reflector [0]
[0] - http://www.aisto.com/roeder/dotnet/

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> In addition to my first post the following question: I try to find
> information about the "TunnelThroughProxy" method. According to the
[quoted text clipped - 4 lines]
>
> Jan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.