EWS service calls not responding. No timeout, no error, no response

Hi.
I'm using the EWS Managed API v2.2 to make EWS calls to Exchange 2010 SP1 on premises.  The referenced code is a C# client application running in .Net 3.5 on a Windows 2008 server.
Recently at one of my customers, we have a weird situation where service calls, any service call,never receives a response.  
We are setting an explicit timeout, surrounding service calls with logging and are using EWS trace listening.  The listener show the EWSRequest SOAP message, and that's it.  The logging shows the "before service call" log entry but not the
"after service call" entry.
I suspected throttling might be behind it and have temporarily removed the EWS throttling limits to no effect and in any case, I would expect an error response if throttling was kicking in.
This is how the service is initialised:
public ExchangeWebService(string username, string password, string emailAddress, string exchangeUrl, string exchangeVersion)
ExchangeVersion exVersion = (ExchangeVersion)Enum.Parse(typeof(ExchangeVersion), exchangeVersion);
_exchangeService = CreateExchangeService(username, password, emailAddress, exchangeUrl, exVersion);
_exchangeService.Timeout = 30000;
private static ExchangeService CreateExchangeService(string username, string password, string emailAddress,
string exchangeUrl, ExchangeVersion exchangeVersion)
IntegrationLogging _il = new IntegrationLogging(Constants.LoggingSourceName);
ExchangeService service = new ExchangeService(exchangeVersion);
QualifiedUserName qualifiedName = new QualifiedUserName(username);
NetworkCredential credentials = new NetworkCredential(qualifiedName.UserName, password);
if (qualifiedName.HasDomain)
credentials.Domain = qualifiedName.Domain;
service.Credentials = credentials;
if (string.IsNullOrEmpty(exchangeUrl))
if (string.IsNullOrEmpty(emailAddress))
throw new ArgumentException("emailAddress and exchangeUrl parameters cannot both be empty");
else
_il.WriteTrace(string.Format("CreateExchangeService using auto discovery with email address {0} and user name {1}. {2}", emailAddress, username, Environment.StackTrace));
service.AutodiscoverUrl(emailAddress);
else
_il.WriteTrace(string.Format("CreateExchangeService using EWS URI {0} and user name {1}", exchangeUrl, username));
service.Url = new Uri(exchangeUrl);
return service;
From one of the methods that never returns, we get the first log entry but not the second and our perf monitor shows the thread still running at the line of the service call.
_il.WriteTrace("ConvertInternalIdToEwsId:mailboxAddress=" + mailboxAddress);
AlternateIdBase _altBase = _exchangeService.ConvertId(_alternateId, IdFormat.EwsId);
_il.WriteTrace("ConvertInternalIdToEwsId:Returned from call");
return ((AlternateId)_altBase).UniqueId;
The service instance is of type `Microsoft.Exchange.WebServices.Data.ExchangeService`.
This problem seems to be intermittent.  How can a call not result in a response, an exception or a timeout?
Thanks
Simon

Did you check the IIS logs on the target server, to make sure that the EWS requests are actually reaching it?
OWA For SmartPhone

Similar Messages

  • Error 1053: The service did not respond to the start or control ...

    Dear SapService,
    I've installed a BI7.0 (ABAP only) instance on cluster with :
    windows 2003 x64 SP2
    SQL server 2005 x64 SP2
    WAS 7.00 kernel 80
    *the service runs with domain user.
    I've upgraded to kernel 114 (latest). After the upgrade the ASCS service doesn't start. It throws error:
    "Error 1053: The service did not respond to the start or control
    request in a timely fashion"
    To solve this problem I've tried:
    -go back to kernel 80 but I still get the same error.
    -start the service manually on the second node. Still same error.
    -restart the two servers and try again to start the service on the
    nodes.
    Any ideas ?
    Please advice,
    Dimitry Haritonov

    Hi,
    Check SAP Note 82751 - Problems with SAP Services & SAP Service Manager
    for some initial investigation.
    Regards,
    Siddhesh

  • ID 53 Details: The service did not respond to the start or control request in a timely fashion (0x8007041D))

    One of my clients has his dpm server turned off for a long time. Now when that server is back online I cannot re-sync backup. First was database in suspect mode and I was not able to acess dpm console. Now when I fix that I cant re-sync job. I even tried
    to delete on PG and recreate it but without success. Agent showing OK and it can comunicate with server. I have even tried to uninstall agent and re-install it but without luck.
    ID 53 Details: The service did not respond to the start or control request in a timely fashion (0x8007041D))
    That is the error what I get on all protection groups. Is there any one who can help with this?
    And last thing is that DPM is crushing on recovery tab

    Hi
    Do you still need assistance with this?

  • Error 2186: The service is not responding to the control function

    Every time I start the Messaging Server I get an error message. The server
    is running and no event log errors are reported. I see:
    <P>
    Could not start the <%hostname%> on <%computername%>.
    Error 2186: The service is not responding to the control function.
    <P>
    This occurs because the system does not have enough remaining memory to
    create a new desktop heap for the service being started.
    <P>
    The limit can be raised, but doing so requires changing registry entries to
    allow more but smaller desktop heaps for Windows NT services.
    The best solution is to limit the application connector instances to seven
    or less.
    <P>
    For instance, you may make a change from 0 (zero) to 1 (one):
    <P>
    HKEY_LOCAL_MACHINE
    SYSTEM
    ControlSet001
    Control
    Session Manage
    HeapDeCommitTotalFreeThreshold
    <P>
    Or press Ctrl-F to find "heap".

    Nvd,
    I'm sorry to hear about the problems that you are running into with your DAQCard. I can understand your frustration with the errors that you are seeing. You mention that you have tried to do some troubleshooting, I was wondering if you have tried all the troubleshooting techniques listed in this KnowledgeBase:
    http://digital.ni.com/public.nsf/websearch/DCFCDB240788F8D486256D6A00834D80?OpenDocument
    If you have tried all of those things, I would suggest one additional thing to try. I would suggest updating your NI-DAQ drivers to version 7.0. These drivers are the newest versions of our Data Acquisition Drivers, and can be downloaded from our website here:
    http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C128D?OpenDocument&
    node=132060_US
    If you have tried all of the above troubleshooting options, please post a detailed description of what you have tried. This may help to clarify what is going wrong.
    Jed R.
    Applications Engineer
    National Instruments

  • A remote server did not respond within timeout period

    HI
    I have a opened in servlet which is not closed.My servlet uses it for various checks.When a request comes after long time, my servlet tries to make a database call and that time I am getting following error.
    java.sql.SQLException:IO Exception A remote host did not respond within the timeout period.
    Please guide.
    Thanks in advance.

    I am using the same connection again.
    The db server is up and running and the query fetches hardly any data.
    when i stop and restart the servlet, everything becomes normal.

  • Network services do not respond until local user logs in!

    My OS X Server install will not respond to ANY outside network requests (web, server admin, VNC, etc.) until I physically log in a user at the system itself (i.e. using the attached keyboard, mouse and monitor attached to the system.)
    Obviously this is an issue after reboots etc. Thanks for any ideas.

    I'm having a similar problem. VNC and server monitor don't work for me without physically logging in either. As you mentioned, this certainly is an issue with reboots.
    I would recommend doing the version 10.5.6 combo update however, as it did seem to solve some of my other problems.

  • Firefox 29.0.1 on Windows 7 (64-bit): ALWAYS get "Firefox is already running but not responding..." error and need Task Manager to close/restart Firefox.

    I run Firefox 29.0.1 on Windows 7 (64 bit) and I get the "Firefox is already running but not responding. In order to open the program you must close the existing window." error. EVERY TIME I try to start Firefox. The posted solution works to start the program, but it is not a permanent solution. I go through the Task Manager and end the old Firefox process, then I can open a new window. While working, I can open multiple tabs and multiple windows, everything seems to (usually) work the way it should. Then after I completely exit Firefox, in order to open the program again I need to fix the SAME error again. Every time. It doesn't seem to hurt anything really, but it is quite annoying.
    I used to get this same error on some of the older Firefox versions but it was only once in a while. With the new 29.0.1 it is literally EVERY TIME I TRY TO RUN FIREFOX!!!!
    So, down to the big question: is there a permanent fix for this yet? Or will there be one included in the next version update? Or am I going to have to go back to Internet Explorer? I know I am not alone in this experience; i've seen several other users posting similar questions but none of them received satisfactory answers. So what's the story here, team Firefox?

    '''https://support.mozilla.org/questions/997866?esab=a&s=&r=1&as=s'''.<BR>
    This is not a cure but will make it easier if Firefox locks up.

  • R9 280X Display driver not responding and has recovered error

    Hi,
    My new R9 280X OC Edition causes  "Display driver is not responding and has recovered..." error. After this error, my game would hang. It also caused internet browser to crash.
    It has been very frustrating, after 10 minutes of game play, the game would just crash. I have tried many way to try to solve the problem without success
    I have.
    1) Over clock/ lower the graphic card clock
    2) install/reinstall latest ATI release/beta driver, reverted to driver that come with installation disk
    3) update my motherboard bios
    4) reinstalled windows 7
    My PC Spec is
    Windows 7 32 bit
    4G RAM
    Intel Core i5-2500K @ 3.3 GHZ
    Any help would be appreciated. Thanks.

    Use >>this<<
    Create a bootable usb stick (https://forum-en.msi.com/index.php?topic=165175.0).
    Then unpack the previously provided archive (302.rar) and put the included file (TV277MH.302) on that stick.
    Rename TV277MH.302 to 302.rom. Put the atiflash.exe also included in the archive on the USB stick too. Now boot from the stick.
    Type atiflash -p -f -noaper 0 302.rom [ENTER] and let it flash the vbios.

  • Windows Service Error 1053 - Service did not respond to start or control request

    I'm presuming it's logging on as a domain user.  Has that user got "Logon as a Service" rights?

    I've been working on this issue with our developers for the past week, and so far we're stumped. We have a Windows Service that was created in-house to process our customers imaging requests with assured delivery that are past the start date. We currently have this service, and a few others like it, running on 12 different bus servers. The servers all run .NET Framework 4.5, and all the other servers run it with no problem. This particular service bus gives us the "Error 1053" as so on as we try to start the service. I've increased the timeout to 60 seconds, but it was set at 30 before and it times out IMMEDIATELY after pressing start. I've uploaded the .config file we use. I modified the IP addresses for security reasons. The service logs on with an administrator password that has domain access rights. We've tested the connectivity...
    This topic first appeared in the Spiceworks Community

  • LENOVO SERVICE CENTER NOT RESPONDING GOOD IN CHENNAI

    I gave my phone (LENOVO A6000)to service center 15 days ago...
    I gave it because the sum was not recognized after update...
    So I thought it was a small problem and gave it to service center ....
    They said the imie became invalid so they have to insert a new board
    Today I asked about the progress they say...
    They requested to Lenovo for a new board .. but they still did not receive it
    How much time should I wait???
    Will I get a refund???at least???

    Hmm anyway I think I can fix it...
    By changing my imei to normal...
    Using xposed module
    But I shall wait till this month ends and after that..
    We'll see...

  • My location service is not working from the day one the response is that (cannot able to determine the location) .What can i need to do to see my location in maps and other application even the location services is enabled in the settings?

    From the day one the response is that (cannot able to determine the location) while using ios5.1 .What can i need to do to see my location in maps and other application even the location services is enabled in the settings?.Which means that is there is any problem in my ipad ? currently running on IOS 6.

    Your location is determined from a location database which contains the MAC addresses of routers and their physical location. A MAC address is a unique number which is built-in to all network devices when manufactured. The database is built and updated by actually driving around and mapping router locations.
    Since you just moved the location of your router has not been updated in the database and when you use Maps you will see your old location.
    If you go outside your house you can be correctly located because your iPod sees other routers which are in the location database. Note that you do not need to be connected to a router for your iPod to see it and obtain its MAC address.

  • Search Query component not responding and corrupted index error

    I am getting follwing errors in eventviewer -
    1.
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Server Search
    Date:          17.12.2014 14:17:38
    Event ID:      74
    Task Category: Content Index Server
    Level:         Error
    Keywords:     
    User:          xxxxxxxx
    Computer:  xxxxxxxx    
    Description:
    Component: 7f5d330e-b891-4fc0-af0b-60519d60251f-query-1
     An index corruption of type pcomp14 was detected in catalog Portal_Content. Stack trace is
         tquery offset=0x0000000000034FAC (0x000007FEE2E84FAC)
         tquery offset=0x000000000001E2B1 (0x000007FEE2E6E2B1)
         tquery offset=0x0000000000131362 (0x000007FEE2F81362)
         tquery offset=0x000000000010AE9F (0x000007FEE2F5AE9F)
         tquery offset=0x000000000010D356 (0x000007FEE2F5D356)
         tquery offset=0x0000000000139598 (0x000007FEE2F89598)
         tquery offset=0x0000000000143689 (0x000007FEE2F93689)
         ntdll offset=0x00000000000215DB (0x00000000775E15DB)
    2.
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Server Search
    Date:          17.12.2014 13:07:47
    Event ID:      60
    Task Category: Query Processor
    Level:         Error
    Keywords:     
    User:          xxxxxxxxxx
    Computer:      xxxxxxxxxx
    Description:
    The last query component (7f5d330e-b891-4fc0-af0b-60519d60251f-query-1) of a partition failed. It will not be taken out of rotation but queries are likely to fail. Check previous event logs to determine cause. Reinitialization may be necessary.
    Please give some solution to resolve the issue.
    NOTE: Please give solution other than rebuilding the whole search service application. We don't want to rebuild as it is shared with other farms and downtime will be more. 

    Hi Gaurav,
    Please go to Central Administration->Manage services on server, stop and re-start SharePoint Server Search service and Search Query and Site Settings Service. Then open a Command Prompt window and type net stop osearch14 to stop the search service. Type
    net start osearch14 to restart the search service.
    If failure persists, add a new query component as a mirror in the same query group as the failed query component.
    More information, please refer to the link:
    http://technet.microsoft.com/en-us/library/ee513123(v=office.14).aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • While Creating Web service call from JDeveloper getting http 403 error

    1. I have created the new application as Oracle Fusion (ADF) application
    2. I have included the web service technology to the application
    3. I am trying to create new web service data control layer , after specifying URL we are getting the following error
    WSDL:Exception:fault code:=OTHER_ERROR failed read from WSDL from http://10.141.28.242:1030/oraclediagent/OdiInvoke?wsdl
    HTTP connection error code is 403.
    could anyone please try to solve this
    thanks
    887401

    HTTP 403 means you don't have permission to access that URL. Have you supplied credentials?

  • Firefox won't load get not responding then get; script error, script resource://modules/windows jumplists.jsm:540 no windows information listed for this problem( win 7 pro) reloaded firefox from scratch no difference.

    This started after a blue screen while on line watching a video on altnet.

    Does the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
    -- cj

  • Mendelson AS2 - Not able to receive messages- error 302 response code.

    Team ,
    Our scenario is IDOC ( Delivery )  to  AS2 ( Mendelson ) . Not able to Receive AS2 message on mendelson tool. The tool is installed on the server .
    Receiving the error :
    Message processing failed. Cause: javax.resource.ResourceException: Message cannot be delivered: Remote server returned response code 302 and error message Found
    No certificates are been used.
    This is my As2 Receiver Channel.  Can anyone help me on this.

    Team ,
    On connecting to the server , mendelson AS2 Server,  the channel gets connect to this ip  10.30.10.38.
    Is there a proxy placed to connect to mendelson. Can anyone provide inputs on this.
    Processing Details for Cluster Node Server 00 70_7097763
    Type
    Time Stamp
    Message ID
    Explanation
    8/21/14 5:34:34 PM
    3456cba5-2929-11e4-caad-00002a4e53de
    Message processing failed. Cause: javax.resource.ResourceException: Message cannot be delivered: java.net.ConnectException: Connection timed out: connect
    8/21/14 5:34:34 PM
    3456cba5-2929-11e4-caad-00002a4e53de
    disconnected
    8/21/14 5:33:52 PM
    372154d8-292b-11e4-82f8-00002a4e53de
    prepared request to http://10.30.10.38:8080/as2/HttpReceiver
    8/21/14 5:33:52 PM
    372154d8-292b-11e4-82f8-00002a4e53de
    prepared message (1 KiB)
    8/21/14 5:33:52 PM
    372154d8-292b-11e4-82f8-00002a4e53de
    Message processing started

Maybe you are looking for