Ryan Gregg
1/8/2003 6:40:00 PM
I was reading a little more in the NG when I noticed "time-out when trying
to consume a web service", which was my problem exactly. When I disabled
Folding@Home on my development machine, bingo, everything worked perfectly.
Now, for the real question, why does running a distributed application in
background affect the way .NET web services work ONLY when called from an
application. Any ideas on that? Sure sounds like a bug.
Ryan Gregg
"Ryan Gregg" <rgregg@wheatlandsystems.com> wrote in message
news:#jCGVuztCHA.2396@TK2MSFTNGP10...
> I've been working on a webservice to be called from a VB.NET application,
> and for some reason, the strangest thing is going on. If I load up the
> .asmx page in my browser, I can manually invoke the commands for the web
> service without a problem, and they come right back. However, via my
VB.NET
> program, which I used VS.NET to import the web service, I get the
following
> error when I try to call a function in the web service:
>
> System.Net.WebException: The operation has timed-out.
> at
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
> request)
> at
>
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebReques
> t request)
> at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> methodName, Object[] parameters)
> at
>
WheatlandSystems.ProjectMatrix.localhost.AppRegistry.RegisterApplication(Str
> ing AppName, String Version, String User) in C:\...\Web
> References\localhost\Reference.vb:line 47
> at WheatlandSystems.ProjectMatrix.ProgramMain.RegisterWithHost() in
> C:\...\ProgramMain.vb:line 267
>
> Any idea what could be causing this? The web service is located on the
same
> machine (hence using localhost as host for the service URL), and is
> protected with NTLM security. I've added the necessary credentials to the
> web service request, which if I remove I get an "access denied" error
> message immediately. Any help would be greatly appreciated.
>
> TIA
>
> Ryan Gregg
>
>