.NETGURU
Webservice Timeout in Visual Studio 2003
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.aspnet.webservices.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

John Nelson (VIP)
I have posted this question before but did not get a reply from Microsoft so
I thought I would try it again.

I can’t get any webservices to work in Visual Studio 2003. If I use IE or
run the EXE then everything works fine.

There seems to be a lot of posts in the newsgroups about this problem but no
solution.

Can anyone help shed some light on this problem? It can’t be code related
since the EXE works and it can’t be network related because IE works. Or am I
overlooking something?

-John
KingDuck

Reply to this message...
 
    
Lucas Canavan [MSFT] (VIP)
| I have posted this question before but did not get a reply from Microsoft
so
| I thought I would try it again.
|
| I can’t get any webservices to work in Visual Studio 2003. If I use IE
or
| run the EXE then everything works fine.
|
| There seems to be a lot of posts in the newsgroups about this problem but
no
| solution.
|
| Can anyone help shed some light on this problem? It can’t be code
related
| since the EXE works and it can’t be network related because IE works.
Or am I
| overlooking something?
|
| -John
| KingDuck
|

Hi John,

When you say you can't get webservices to work from VS.NET 2003, are you
referring to the ability to add a web reference? If so, the following
should help:

307303 INFO: Troubleshooting Add Web Reference Issues
http://support.microsoft.com/?id=307303

HTH,
Lucas Canavan | Support Professional | MCSD | MCSD for .NET | Microsoft
Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights

Reply to this message...
 
    
John Nelson (VIP)
It's a timeout error and it only happens when I am in Visual Studio 2003
debugging. I have no problems using a webservice in the EXE or using IE.

-John

"Lucas Canavan [MSFT]" wrote:

[Original message clipped]

Reply to this message...
 
    
Lucas Canavan [MSFT] (VIP)
| > | I have posted this question before but did not get a reply from
Microsoft
| > so
| > | I thought I would try it again.
| > |
| > | I can’t get any webservices to work in Visual Studio 2003. If
I use IE
| > or
| > | run the EXE then everything works fine.
| > |
| > | There seems to be a lot of posts in the newsgroups about this problem
but
| > no
| > | solution.
| > |
| > | Can anyone help shed some light on this problem? It can’t be
code
| > related
| > | since the EXE works and it can’t be network related because IE
works.
| > Or am I
| > | overlooking something?
| > |
| > | -John
| > | KingDuck
| > |
| >
| > Hi John,
| >
| > When you say you can't get webservices to work from VS.NET 2003, are
you
| > referring to the ability to add a web reference? If so, the following
| > should help:
| >
| > 307303 INFO: Troubleshooting Add Web Reference Issues
| > http://support.microsoft.com/?id=307303" target="_blank">http://support.microsoft.com/?id=307303
| >
| > HTH,
| > Lucas Canavan | Support Professional | MCSD | MCSD for .NET | Microsoft
| > Developer Support
| >
| >
| > This posting is provided "AS IS" with no warranties, and confers no
rights
| >
| >
|
| It's a timeout error and it only happens when I am in Visual Studio 2003
| debugging. I have no problems using a webservice in the EXE or using IE.
|
| -John

Hi John,

Try increasing the "maxconnection" setting in machine.config. More info:

821268 PRB: Contention, Poor Performance, and Deadlocks When You Make Web
Service Requests from ASP.NET Applications
<http://support.microsoft.com/?id=821268>

If problem persists, it might be worthwhile trying .NET 1.1 SP1.

Microsoft .NET Framework 1.1 Service Pack 1 for Windows Server 2003
<http://www.microsoft.com/downloads/details.aspx?familyid=AE7EDEF7-2CB7-4864
-8623-A1038563DF23&displaylang=en>

Microsoft .NET Framework 1.1 Service Pack 1 [for Windows 2000/XP

<http://www.microsoft.com/downloads/details.aspx?familyid=A8F5654F-088E-40B2
-BBDB-A83353618B38&displaylang=en>

If the problem still persists, I suggest opening a support incident with
Microsoft. More info: http://support.microsoft.com

HTH,
Lucas Canavan | Support Professional | MCSD | MCSD for .NET | Microsoft
Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights

Reply to this message...
 
    
John Nelson (VIP)
I can't modify the machine.config of the webservices. Hosting companies and
other webservices I found off of google won't allow that. I tried the
suggestions on my own machine.config just to see if it would hep but it
didn't. :-(

I also tried the .Net Service Pack but it did not help. I would rather not
pay to open a support incident as I feel as though there is not a problem on
my end.

There are other news group posting of people who have had the same problem I
just can't find any of the solutions that were used.

As stated, it works with IE and a compiled EXE so code changes should not be
needed. Perhaps it's a firewall issue? I guess I am just stuck with it. I
have a feeling that if I reinstall my machine it will fix the problem but of
course that is a last resort.

-John

"Lucas Canavan [MSFT]" wrote:

[Original message clipped]

Reply to this message...
 
    
John Nelson (VIP)
The problem was the router. When I changed routers from one netgear firewall
to another the problem went away. I am not sure why the firewall had anything
to do with it but everything is working now with the new router in place.

-John

"John Nelson" wrote:

[Original message clipped]

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification