all groups > dotnet web services > october 2005 >
You're in the

dotnet web services

group:

Webservice timeout


Webservice timeout WOW.Boomer NO[at]SPAM gmail.com
10/24/2005 1:59:25 PM
dotnet web services:
I've exposed a Data Access Layer with a web service using C#.

When I run the project and click "invoke" the webservice times out in
exactly 30 seconds. Where do I go to extend this time? I'd like to
fully test this Webservice before I start coding the consumers for it.

thanks!
Re: Webservice timeout TalonOfThunder
10/24/2005 2:12:18 PM
CommandTimeout set correctly? Try

command.CommandTimeout = 120;
Re: Webservice timeout CG
10/24/2005 6:37:05 PM
Whatever you are doing in your database query. You might want to run that in
query analyzer to verify how much time it takes. May be you have not indexed
your table etc. That's why it is taking long time.

[quoted text, click to view]
AddThis Social Bookmark Button