Link to home
Start Free TrialLog in
Avatar of dodgerfan
dodgerfanFlag for United States of America

asked on

Timeout error in C# web service

My web service is timing out when it runs and I am not sure what the issue is. The service itself is just a console application that opens and imports records from an oracle db into  a sql server db.  Here is the error:
The request channel timed out while waiting for a reply after 00:00:59.9687500. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

I've made a change to the timeout property in IIS, but no success. any ideas and help is appreciated.
Avatar of kaufmed
kaufmed
Flag of United States of America image

How long does you import usually take to run (outside of the web service part)?
Avatar of dodgerfan

ASKER

The web service does the import. It has not run all the way to completion as of yet. It gets through about 350 records before it stops, always on the same record, too.
Have you inspected that record to see if it has any data anomalies? If you break that code out into a Console application (temporarily), do you get the same behavior?
It's just a console application now. I have not checked the record in question by I will. Should I be seeting something with maxReceievedMessageSize in the app.config?
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Which response to I set higher? I'm thinking that there is too much data going across.