Web Service Timeout while Debugging

I'm using Visual Studio 2013 Pro with the local IIS Express web server.

When trying to step through the code to debug I keep getting a timeout error, is there anyway to lengthen or remove the timeout option?
BrianFordAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Miguel OzSoftware EngineerCommented:
What kind of web service are you building? Web Api, WCF, etc.
For example in WCF service, you would want to adjust the receiveTimeout attribute of a binding elemnent.  Check timeout explanation here

Note: You should request that this question be added "Web Services and WCF" for more expert participation
0
BrianFordAuthor Commented:
It's a standard SOAP call to a Web API
0
Miguel OzSoftware EngineerCommented:
If is it s the client that is calling the web API service then use Timeout property .
This property defines a TimeSpan in milliseconds, after which the request times out.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

BrianFordAuthor Commented:
That's my problem, unfortunately there doesn't appear to be a 'TimeOut' property when using IIS Express ?? or if there is I can't see anywhere to set it.
0
Miguel OzSoftware EngineerCommented:
IIS Express Manager 7.5/8.0 supports timeout, you need to right click on the site hosting your web api and go to Manage Web Site -> Advanced Settings. In the property connection dialog look under Connection Limits you should see Connection Time-out property there.

Note: Please post IIS Express version and web.config file if more help required
0
BrianFordAuthor Commented:
The version I'm using is what was installed with Visual Studio 2013 Pro, I'm not sure where to check the version number.
When I right click on IIS Express these are the only options I see:
screenshot
Web.config endpoint entry:
 <endpoint address="http://webforms.<snip>/webFormsService.asmx"
        binding="basicHttpBinding" bindingConfiguration="ServiceSoap"
        contract="webFormsService.ServiceSoap" name="ServiceSoap" />

Open in new window

0
Miguel OzSoftware EngineerCommented:
What OS version are you using?
IIS Express is the default web server:
http://msdn.microsoft.com/en-AU/library/58wxa9w5.aspx
but it is very limited as it does not have a UI, You may need to install proper IIS Express as it has the UI to do changes.

Once installed, for example: IN Windows 7(and up) type IIS Manager and in the open dialog go to Help->About.
0
BrianFordAuthor Commented:
Using Windows 8.1 Pro
0
BrianFordAuthor Commented:
so where can I get the 'proper' IIS Express?

I downloaded and installed IIS 8 Express but it appears that was already the version I was running, so no changes there.
0
Miguel OzSoftware EngineerCommented:
Yes, but you the UI (find IIS express manager) and you should be able to see the values.
Then you need to specify that your Web api project uses this ISS as per my previous post link.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BrianFordAuthor Commented:
thsnks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.