Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.". This happens after 30-90 sec. (At least, so I'm told) It struck me this morning that it could be the ASP Script Timout, but I created a test webservice that sleeps for 2 minutes before returning. This service returned successfully after 2 minutes- gracefully ignoring my httpRequest timeout setting in machine.config and the ASP Script Timeout setting of IIS. My conclution so far is that the problem is somewhere else. Seen this prob. in other threads, but never found any reasonable explanation/solution. Hope someone can help! :) Lars-Erik [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <#HCyvhXSFHA.3880@tk2msftngp13.phx.gbl> [ref] => [htmlstate] => on_nl2br [postusername] => Lars-Erik Aabech [ip] => larserik@newsgr [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 1 [islastshown] => [isfirstshown] => 1 [attachments] => [allattachments] => ) --> WebService ignoring timeout properties? (Server was unable to process request. --> Timeout exired) - ASP.NET Web Services
Professional Web Applications Themes

WebService ignoring timeout properties? (Server was unable to process request. --> Timeout exired) - ASP.NET Web Services

Hi! I have a webservice serving the latest orders from a webshop. The customer uses a forms app client to fetch these orders and push them into the ERP system manually. (Yes, they really want to :P ) WebService code runs 3 SqlCommands that has timeouts set to 300 sec. Client WebService proxy has a timeout of 900 sec. Every once and a while (each monday - probably 'cause of more orders during the week-end) the server runs the commands when called, but the client reports "Server was unable to process request. --> Timeout expired. The timeout period elapsed prior ...

  1. #1

    Default WebService ignoring timeout properties? (Server was unable to process request. --> Timeout exired)

    Hi!

    I have a webservice serving the latest orders from a webshop. The customer
    uses a forms app client to fetch these orders and push them into the ERP
    system manually. (Yes, they really want to :P )

    WebService code runs 3 SqlCommands that has timeouts set to 300 sec. Client
    WebService proxy has a timeout of 900 sec. Every once and a while (each
    monday - probably 'cause of more orders during the week-end) the server runs
    the commands when called, but the client reports "Server was unable to
    process request. --> Timeout expired. The timeout period elapsed prior to
    completion of the operation or the server is not responding.".

    This happens after 30-90 sec. (At least, so I'm told) It struck me this
    morning that it could be the ASP Script Timout, but I created a test
    webservice that sleeps for 2 minutes before returning. This service returned
    successfully after 2 minutes- gracefully ignoring my httpRequest timeout
    setting in machine.config and the ASP Script Timeout setting of IIS. My
    conclution so far is that the problem is somewhere else.

    Seen this prob. in other threads, but never found any reasonable
    explanation/solution.

    Hope someone can help! :)

    Lars-Erik



    Lars-Erik Aabech Guest

  2. #2

    Default RE: WebService ignoring timeout properties? (Server was unable to process request. --> Timeout exired)

    Hello,

    Since your test web service didn't expire, we can confirm the configration
    in IIS and Machine.config is OK. Have you check the web.config for the two
    web services? Is there any difference? Also, it is important to make usre
    the time the exception occurred, just 30~90 seconds or more? And, is it
    ASP.NET timeout or SQL command timeout? When you call the SQL command in
    web service, have you added some exception handling code to handle such
    time out exception from SQL?

    Luke

    [MSFT] Guest

  3. #3

    Default Re: WebService ignoring timeout properties? (Server was unable to process request. --> Timeout exired)

    Hi! Thanks for your reply.

    I'm actually a bit confused. I've been convinced that my webservice code set
    timeouts for the SqlCommands. Seems like it doesn't. I'll do something about
    it and probably won't return to this thread if it checks out. ;)

    Lars-Erik

    "[MSFT]" <lukezhanonline.microsoft.com> wrote in message
    news:mPSE0PgSFHA.11408TK2MSFTNGXA01.phx.gbl...
    > Hello,
    >
    > Since your test web service didn't expire, we can confirm the configration
    > in IIS and Machine.config is OK. Have you check the web.config for the two
    > web services? Is there any difference? Also, it is important to make usre
    > the time the exception occurred, just 30~90 seconds or more? And, is it
    > ASP.NET timeout or SQL command timeout? When you call the SQL command in
    > web service, have you added some exception handling code to handle such
    > time out exception from SQL?
    >
    > Luke
    >

    Lars-Erik Aabech Guest

  4. #4

    Default Re: WebService ignoring timeout properties? (Server was unable to process request. --> Timeout exired)

    Thank you for update. If you had further question, please feel free to post
    here.

    Luke

    [MSFT] Guest

Similar Threads

  1. #40750 [NEW]: fsockopen timeout parameter overwrites timeout for reading
    By andreas dot rieber at 2e-systems dot com in forum PHP Bugs
    Replies: 14
    Last Post: March 14th, 07:22 PM
  2. Coldfusion Process Won't Timeout
    By carrotsauce in forum Coldfusion Server Administration
    Replies: 1
    Last Post: August 8th, 06:13 PM
  3. Web Service Error - Server was unable to process request. --> Requested registry
    By Chas Woods via DotNetMonster.com in forum ASP.NET Web Services
    Replies: 4
    Last Post: January 26th, 01:59 PM
  4. Web Service - Server was unable to process request
    By Karuppasamy in forum ASP.NET Web Services
    Replies: 1
    Last Post: January 19th, 02:11 PM
  5. Replies: 0
    Last Post: August 7th, 12:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139