The operation timed out while writing (kCFStreamStatusOpening)

iMessage cant send files. This is what it says in the file transfer window. "the operation timed out while writing (kCFStreamStatusOpening)" Help

Hi,
In the past in the Mountain Lion (Messages 7.x.x) I have sent quite large photos via the iMessages account of several GBs of data.
I have yet to do the same in Messages 8 (Mavericks) but don't expect for this to have changed.
I do know that the Messages 8 app tends to zip some files before sending when dragged from other apps such as a Browser or iPhoto.
I have sent a Keynote file to my iPhone in Messages 7.x.x  but this was only 334 kb
What sort of files are you trying to send ?
If not zipped already it may pay to try this first.
7:21 pm      Sunday; November 3, 2013
  iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad

Similar Messages

  • Please HELP! Error: -2147012894 (80072ee2) the operation timed out on WinHttpRequest.5.1

    Hello
    I REALLY NEED SOME GUIDANCE ON THIS ERROR.
    Does anyone know why this could be happening.  I am getting the error:  -2147012894 (80072ee2) the operation timed out.  I have this code in an Excel macro.  I am sending the URL an XML string and am expecting a response
    but I am getting the time out error on the SEND.  I have tried using the SetTimeouts method, but I still get the error.    
    Could it be my machine settings?  Does WinHTTPRequest work with Excel VBA?  I am just lost at this point.  I have researched, and have seen examples of Excel VBA using WinHTTPRequest.  I do not know why I am getting
    the error.
    Your help is very much appreciated.  I really need some direction on how to resolve this issue. 
    smsemail
    Private Sub CmdGetData_Click()
    colLabel = 1
    colStreetAddress = 23
    colCity = 24
    colState = 25
    colZipCode = 26
    colZipFour = 27
    lastRow = ActiveSheet.Range("A" & Rows.Count).End(xlUp).Row
    For rw = 4 To lastRow
    If Worksheets("Sheet1").Cells(rw, colStreetAddress).Value = "" Then GoTo nextLabel:
    If Worksheets("Sheet1").Cells(rw, colCity).Value = "" And _
    Worksheets("Sheet1").Cells(rw, colState).Value = "" And _
    Worksheets("Sheet1").Cells(rw, colZipCode).Value = "" Then GoTo nextLabel:
    If (Worksheets("Sheet1").Cells(rw, colCity).Value = "" And _
    Worksheets("Sheet1").Cells(rw, colState).Value = "") Or _
    Worksheets("Sheet1").Cells(rw, colZipCode).Value = "" Then GoTo nextLabel:
    strStreetAddress = Worksheets("Sheet1").Cells(rw, colStreetAddress).Value
    strCity = Worksheets("Sheet1").Cells(rw, colCity).Value
    strState = Worksheets("Sheet1").Cells(rw, colState).Value
    strZipCode = Worksheets("Sheet1").Cells(rw, colZipCode).Value
    'Initialize variables
    strXML = ""
    Label = Worksheets("Sheet1").Cells(rw, colLabel).Value
    'Write XML header information
    Call WriteXMLHeader
    'Write address information to XML file
    strXML = strXML & "<p3:AddressCriteria>"
    strXML = strXML & "<p3:CanadianProvince></p3:CanadianProvince>"
    strXML = strXML & "<p4:LocationCityName>" & strCity & "</p4:LocationCityName>"
    strXML = strXML & "<p4:LocationCountyName></p4:LocationCountyName>"
    strXML = strXML & "<p4:LocationPostalCode></p4:LocationPostalCode>"
    strXML = strXML & "<p4:LocationStateUSPostalServiceCode>" & strState & "</p4:LocationStateUSPostalServiceCode>"
    strXML = strXML & "<p4:StreetFullText>" & strStreetAddress & "</p4:StreetFullText>"
    strXML = strXML & "</p3:AddressCriteria>"
    'Write XML footer information
    Call WriteXMLFooter
    'URI
    strURI = "https://a325.wgs.thomson.com/api/v1/person/searchResults"
    strUserID = "xxxxxxx"
    strUserPassword = "yyyyyyyy"
    Set httpRequest = CreateObject("WinHttp.WinHttpRequest.5.1")
    httpRequest.SetTimeouts 80000, 80000, 90000, 90000
    With httpRequest
    .Open "POST", strURI, False
    .SetRequestHeader "Content-type", "application/xml"
    .SetRequestHeader "Content-Length", Len(strXML)
    .SetRequestHeader "Authorization", "Basic " & EncodeBase64(strUserID & ":" & strUserPassword)
    ''.SetClientCertificate ("LOCAL_MACHINE\Personal\Certificates\WGS CA\kchin tmp dev cert")
    .SetClientCertificate ("LOCAL_MACHINE\Personal\kchin tmp dev cert")
    .Send (strXML)
    End With
    If httpRequest.Status = 200 Then
    MsgBox httpRequest.GetAllResponseHeaders
    Else
    MsgBox httpRequest.Status & ": " & httpRequest.StatusText
    End If
    MsgBox httpRequest.ResponseText
    nextLabel:
    Next rw
    MsgBox "PROCESSING HAS COMPLETED", vbOKOnly, "E-Interdiction Clear Update"
    End Sub
    Public Sub WriteXMLHeader()
    strXML = "<?xml version=" & Chr(34) & "1.0" & Chr(34) & "?>"
    strXML = strXML & "<psr1:PersonSearchRequest " & "xmlns:psr1=" & Chr(34) & "http://wgs.thomsonreuters.com/clear/api/search/1.0 " & Chr(34) & " xmlns:xsi=" & Chr(34) & "http://www.w3.org/2001/XMLSchema-instance" & Chr(34) & ">"
    strXML = strXML & "<PermissiblePurpose>"
    strXML = strXML & "<GLB>L</GLB>"
    strXML = strXML & "<DPPA>1</DPPA>"
    strXML = strXML & "<VOTER>2</VOTER>"
    strXML = strXML & "</PermissiblePurpose>"
    strXML = strXML & "<Reference>S2S Test</Reference>"
    strXML = strXML & "<Criteria>"
    strXML = strXML & "<p1:PersonCriteria"
    strXML = strXML & "xmlns:p1=" & Chr(34) & "http://wgs.thomsonreuters.com/clear/api/search/person-search/niem/1.0" & Chr(34) & ""
    strXML = strXML & "xmlns:p2=" & Chr(34) & "http://niem.gov/niem/structures/2.0" & Chr(34) & ""
    strXML = strXML & "xmlns:p3=" & Chr(34) & "http://wgs.thomsonreuters.com/clear/api/search/person-search-extension/niem/1.0" & Chr(34) & ""
    strXML = strXML & "xmlns:p4=" & Chr(34) & "http://niem.gov/niem/niem-core/2.0" & Chr(34) & ">"
    End Sub
    Public Sub WriteXMLFooter()
    strXML = strXML & "</p1:PersonCriteria>"
    strXML = strXML & "</Criteria>"
    strXML = strXML & "<Datasources>"
    strXML = strXML & "<PublicRecordCriminalAndInfractions>false</PublicRecordCriminalAndInfractions>"
    strXML = strXML & "<PublicRecordPeople>true</PublicRecordPeople>"
    strXML = strXML & "<NPIRecord>false</NPIRecord>"
    strXML = strXML & "<WorkAffiliations>false</WorkAffiliations>"
    strXML = strXML & "<RealTimeIncarcerationAndArrests>false</RealTimeIncarcerationAndArrests>"
    strXML = strXML & "</Datasources>"
    strXML = strXML & "</psr1:PersonSearchRequest>"
    End Sub
    Public Function EncodeBase64(text As String) As String
    Dim arrData() As Byte
    arrData = StrConv(text, vbFromUnicode)
    Dim objXML As MSXML2.DOMDocument
    Dim objNode As MSXML2.IXMLDOMElement
    Set objXML = New MSXML2.DOMDocument
    Set objNode = objXML.createElement("b64")
    objNode.DataType = "bin.base64"
    objNode.nodeTypedValue = arrData
    EncodeBase64 = objNode.text
    Debug.Print EncodeBase64
    Set objNode = Nothing
    Set objXML = Nothing
    End Function

    Kristin --- the C# forum may not be the place for web service questions, but the ASP.NET forums is not a correct suggestion for Karthik's question either. ASP.NET really has absolutely nothing to do with a web service. The WCF forum may have been
    a better suggestion (although you don't necessarily have to have a WCF service for RESTful web services) ... So, could you move this thread here:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf
    Karthik --- sorry I couldn't help you more, but I've seriously run out of ideas. If Kristen can't move your thread out of this Off-Topic forum, then perhaps you could re-post it to the WCF forums from the link I provided above. Perhaps I should have
    moved the thread to begin with (I can do that from the C# forum, but I cannot do it from this Off-Topic forum, sorry)
    ~~Bonnie DeWitt [C# MVP]
    http://geek-goddess-bonnie.blogspot.com

  • Unexpected error during HTTP request to voucher server The operation timed out

    I read books from my library through a system called READS. I have successfully used DE 1.0 without any problems, however, when I tried to use it recently it required me to upgrade to 1.5. Well I did so and now the books won't authorize. Here is the error message I am getting:
    Adobe DRM Error System: 5 State: 4 Class: 600 Code: 106 Message: Error on request or response from server. Please check your network connection and try again. Scroll below or view error.log for more details.
    Adobe DRM client Error: 706 Unexpected error during HTTP request to voucher server The operation timed out
    Requested URL: http://207.54.136.76/fulfill/ebx.etd?action=lend&orderid=939605378082105&bookid=ContentRe serveID:B91CC494-23AF-4C6A-9B0C-7DA050C05722-50
    Requested URL: http://207.54.136.76/fulfill/ebx.etd ?action=lend &orderid=939605378082105 &bookid=ContentReserveID:B91CC494-23AF-4C6A-9B0C-7DA050C05722-50
    --- end ---
    I have tried this multiple times with more than one book. Again, they worked just fine before I did the upgrade. I am running Vista SP1.

    Never mind, they obviously post the message on the ticket, but it doesn't send an e-mail. I will try what they indicated. Here is their response...
    Thank you for contacting Adobe Technical Support.
    I understand that you are getting "Adobe DRM Error" in Digital Editions.
    We have documented the steps to resolve this error message. Please do
    refer to this TechNote:
    Error: "Adobe DRM Error" when you activate Digital Editions or access an
    eBook
    http://www.adobe.com/go/kb402747

  • Facebook timed out while writing a post.  Any attempt to open FB, now shows post that was in progress and immediately crashes app.  Cannot clear timed out item.  Have power failed and done warm reboot on iPad.   Is Delete/Reinstall only option?

    Was writing post, as part of sharing article from my newsfeed.   While writing, Facebook timed out.  Display cleared.  App recycled and returned to newsfeed.  This has happened previously and for all purposes, the original post, since it had never been "loaded" onto FB servers effectively was deleted from iPad memory.  That appeared to be the case yesterday; as I was able to continue reading, sharing and commenting on other articles. 
    Later, as I was shutting iPad down for the night, scrolled through open Apps and discovered the original FB window was still "open" I'd apparently been working on a 2nd or mirror version of the app.  Attempting to access the original page; it opens, but I am unable to "interact" with the display/app, pressing "cancel" on my original post has no effect.  Within 5-6 seconds FB crashes.   
    I power failed the iPad, left it over night and today am encountering the same problem.   Tapping FB icon, brings up the post that was timed out.  It displays for 2-3 seconds max, then original article and partial post disappear.  Newsfeed appears to be loading as that and contact columns are visible in light font indicating they are preparing to load.   2-3 seconds, that vanishes.  Am left with blue header band, spinning wheel indicating it is trying to communicate or process something.   2-3 seconds and then screen goes black and I'm returned to my app desktop. 
    If I immediately tap icon to reopen I get white screen, with blue header band.   2-3 seconds, black screen, back to app desktop.   If I wait 2 minutes, I get the full shared article, partial post as described above.  I've confirmed in the problem log that this is failing in Thread 0 and showing up as system crash. 
    Based on feedback to somewhat similar FB problem I found in forum; in addition to doing power fail.  I also did warm reboot (Home and Sleep keys) in hope app would reboot along with ios.  No change.
    At this point, I'm assuming my only viable option is to delete the app and reinstall it from App Store.  Easy enough to accomplish.  But wanted to see if there were any other recommendations, or whether anyone else has experienced a similar failure with FaceBook.
    Thanks for your assistance.

    Was writing post, as part of sharing article from my newsfeed.   While writing, Facebook timed out.  Display cleared.  App recycled and returned to newsfeed.  This has happened previously and for all purposes, the original post, since it had never been "loaded" onto FB servers effectively was deleted from iPad memory.  That appeared to be the case yesterday; as I was able to continue reading, sharing and commenting on other articles. 
    Later, as I was shutting iPad down for the night, scrolled through open Apps and discovered the original FB window was still "open" I'd apparently been working on a 2nd or mirror version of the app.  Attempting to access the original page; it opens, but I am unable to "interact" with the display/app, pressing "cancel" on my original post has no effect.  Within 5-6 seconds FB crashes.   
    I power failed the iPad, left it over night and today am encountering the same problem.   Tapping FB icon, brings up the post that was timed out.  It displays for 2-3 seconds max, then original article and partial post disappear.  Newsfeed appears to be loading as that and contact columns are visible in light font indicating they are preparing to load.   2-3 seconds, that vanishes.  Am left with blue header band, spinning wheel indicating it is trying to communicate or process something.   2-3 seconds and then screen goes black and I'm returned to my app desktop. 
    If I immediately tap icon to reopen I get white screen, with blue header band.   2-3 seconds, black screen, back to app desktop.   If I wait 2 minutes, I get the full shared article, partial post as described above.  I've confirmed in the problem log that this is failing in Thread 0 and showing up as system crash. 
    Based on feedback to somewhat similar FB problem I found in forum; in addition to doing power fail.  I also did warm reboot (Home and Sleep keys) in hope app would reboot along with ios.  No change.
    At this point, I'm assuming my only viable option is to delete the app and reinstall it from App Store.  Easy enough to accomplish.  But wanted to see if there were any other recommendations, or whether anyone else has experienced a similar failure with FaceBook.
    Thanks for your assistance.

  • Error 7 (net::ERR_TIMED_OUT): The operation timed out

    Hi,
    I changed from HP to Mac and I am having problems opening specific websites:
    https://elearning.uol.ohecampus.com/webapps/bbgs-SSO-bb_bb60/execute/login?aid=G WGdfsQZLwUD3COgrDFFbGN0TCFY9HyHlLr3ruugp%2fDzrjxUUUqph8JuKgPvdazbmO0lvlptietNgME YslS%2b5MBmUlDPfcqyVvvcgYTkKmAwL1J6etAHBg%3d%3d
    https://meine.deutsche-bank.de/
    I downloaded all the latest software, but the error remains. All other pages work and my other computer opens the pages without any problems.
    Any clue what (browser)system settings prevent from opening?
    Thank you

    Hi,
    I didn't have any problems loading those sites, v10.6.7 and Safari 5.0.4.
    Go to Safari / Preferences - Advanced. Click the Change Settings button next to: Proxies
    That will prompt the System Preferences / Network - Proxies pane.
    If any of the boxes are selected on the left, deselect, then click OK. Restart Safari. See if that makes a difference.
    If Proxies aren't the issue, check Safari / Preferences - Extensions. If you have any installed, turn that off, then try Safari.
    Carolyn

  • When I try to dowwnload Firefox on my ASUS netbook, I get message "The operation timed out." and it doesn't load

    ASUS model Eee PC 1015 PEB
    Kaspersky
    Windows 7

    Hello,
    What have you tried so far?
    Can you try reinstalling Firefox? Uninstall it from your Control Panel > Programs and Features/Add or Remove Programs (if you want to keep your bookmarks and other information, do '''not''' delete personal information). After uninstalling, delete the Mozilla Firefox folder to remove any damaged files leftover from the uninstall (your profile is in a different location so will be unaffected by this):
    * (32 bit installation) C:\Program Files\Mozilla Firefox
    * (64 bit installation) C:\Program Files (x86)\Mozilla Firefox
    Download and reinstall the latest copy:
    * https://www.mozilla.org/en-US/firefox/all/
    For more information, see
    * http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Listener overloaded or High load .?..ORA-12535: TNS:operation timed out

    We have an OLTP db server with oracle 11g(11.1.0.7) installed on Linux 64bit OS.
    Client : Dotnet application running on win2003 server
    oracle client version on webServer 9.2.0.4
    Work load on system is
    Avg Executions Per Sec 1273.35
    Avg Executions Per Txn 42.1
    Avg Response Time Per Txn (secs) .13
    Avg User Transaction Per Sec 30.4
    Avg Concurrent Sessions on server 350 processes 600
    memory_target 13gb
    we are experiencing "ORA-12535: TNS:operation timed out" while users access the application from webserver.per day around 200 errors.
    To get rid of the above error we set SQLNET.INBOUND_CONNECT_TIMEOUT=0 in server side sqlnet.ora and
    in Listener.ora inbound_connect_timeout=120 but of no use, even we observed for few days with inbound_connect_timeout=0.
    There is Only one listener configured on server.
    The similar set up with lesser workload working fine without any errors.
    Please let me know your thoughts....
    --Pandey
    Edited by: user12204025 on Feb 10, 2010 8:14 AM
    Edited by: user12204025 on Feb 12, 2010 2:52 PM

    But I am seeing this errors in listener alert file.
    <msg time='2010-02-15T15:55:37.734-06:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='hostname.domainname'
    host_addr='127.0.0.1'>
    <txt>15-FEB-2010 15:55:37 * 12502
    </txt>
    </msg>
    <msg time='2010-02-15T15:55:37.734-06:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='hostname.domainname'
    host_addr='127.0.0.1'>
    <txt>TNS-12502: TNS:listener received no CONNECT_DATA from client
    </txt>
    </msg>
    and in alert log file below entry...
    Fatal NI connect error 12170.
    VERSION INFORMATION:
    TNS for Linux: Version 11.1.0.7.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 15-FEB-2010 02:46:21
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 110
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=gatewayip)(PORT=4804))
    please let me know your thoughts.....

  • ADFS setup "operation timed out"

    I am getting operation timed out while setting up ADS . I checked the event viewer , came across" certificate exceeds xxx milli seconds" please help in this regards .
    As part of this issue i was trying to change the value of timeout value at webconfig lkevel for that web application port,but this is not the recommended one. please help me with the exact fix.
    Appreciate the help
    Blitz

    Hi,
    According to your post, my understanding is that you got operation time out while setting up ADFS.
    The token-signing certificate CRL (revocation List) location must be accessible from SharePoint. Otherwise you will get the time out error.
    You can check with the token-signing certificate CRL, then check whether it works.
    http://777notes.wordpress.com/2012/12/20/sharepoint-2013-single-server-deployment-on-windows-server-2012-claim-based-authentication-cloud-simulation/
    What’s more, as the issue is related to ADFS, if you still have issues about it, you can post your question to the ADFS forum.
    http://social.msdn.microsoft.com/Forums/en/Geneva/
    Thanks for your understanding and support.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Operation timed out when starting application server

    Hello experts, I recently installed the Netweaver ABAP preview edition on my pc. So when I try to start the application server after a while it says that the operation timed out so I cant log on using SAPlogon. Any help on this would be greatly appreciated. Thanks a lot guys!

    Hi,
    Check if SAP is up and running in the SAP MMC.
    If SAP is not running
    Please check/paste the dev_w0 file in /usr/sap/NSP/DVEBMGS00/work directory.
    Regards,
    Siddhesh

  • The Opration timed out occurred on calling REST Service in Addin in windows 7 ultimate 64 bit

    Hi,
    I have created VSTO solution for Outlook Addin in Visual studio 2010.
    In that on button it will call Java REST webservice and validating the username and password.
    Evrything working fine in few systems.But it showing "The operation timed out" in WIndows 7 64 bit office 2013.
    In other windows 7 machine with office 2010 and 2007 its working perfectly.
    Below is the code :
    var responseMessage = (String)null;
                var request = WebRequest.Create(string.Concat(serviceUrl, resourceUrl)) as HttpWebRequest;
                if (request != null)
                    request.ContentType = "application/xml";
                    request.MediaType = "text/xml";
                    request.Method = method;
    request.keepalive=false;
                   request.ContentLength = xmlRequestBody.Length;                
                ServicePointManager.Expect100Continue = false;            
                //var objContent = HttpContentExtensions.CreateDataContract(requestBody);
                if (method == "POST" && xmlRequestBody != null)
                    byte[] requestBodyBytes = ASCIIEncoding.UTF8.GetBytes(xmlRequestBody.ToString());
                    request.ContentLength = requestBodyBytes.Length;
                    using (Stream postStream = request.GetRequestStream())
                        postStream.Write(requestBodyBytes, 0, requestBodyBytes.Length);
                if (request != null)
                    request.Credentials = new NetworkCredential("Username", "password");
                    //request.ProtocolVersion = HttpVersion.Version11;
                    var response = request.GetResponse() as HttpWebResponse;
                    if (response.StatusCode == HttpStatusCode.OK)
                        Stream responseStream = response.GetResponseStream();
                        if (responseStream != null)
                            var reader = new StreamReader(responseStream);
                            responseMessage = reader.ReadToEnd();
                    else
                        responseMessage = response.StatusDescription;
                return responseMessage;
    Could you please help what could be the reason.Any firewall issue or any serviced related issue.Kidly suggest.

    Hi,
    I have created the windows application using REST Service and tested the application on
    windows 7 64 bit Ultimate edition but I'm getting the same error "The
    operation timed out" attached the screen shot for your reference.
    http://www.screencast.com/t/YeIJxl383a
    I developed the application on Windows 7 Ultimate 64 bit version it is working on my machine. while the executing exe on another windows 7 64 bit Ultimate
    edition which is on the virutal machine Im getting the error.
    There is no visual studio installed on the Virtual machine , i have installed the Dot Net frame work 4.0 client profile on the virtual machine.
    Could you please suggest is there any issues related to opearating system or related to framework.
    Kindly help with some suggestions.

  • Consistently getting "The wait operation timed out" when connecting to Azure SQL Database from a virtual instance...

    I have a web app that is backed by a an Azure SQL Database. The problem is that I had multiple issues when connecting to the database mainly when trying to establish a connection, or timeouts. This is the log I just encountered when trying to use the web
    app.
    [Win32Exception (0x80004005): The wait operation timed out]
    [SqlException (0x80131904): Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=21970; handshake=1; ]
    System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +671
    System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +116
    System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1012
    System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +6712291
    System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +152
    System.Data.SqlClient.SqlConnection.Open() +229
    System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +102

    Hi Affar2k,
    According to your description, we need to verify if there is no network issue and the Sqlclient version is older than .NET 4.5.  You can try to connect to the Windows Azure SQL database via SSMS and check if it can run well. When you
    connect to the SQL Azure database via ADO.NET, you need to verify that the server name and passwords are right in the connection string.
    For more information, you can review the following article about how to connect to Windows Azure SQL Database using ADO.NET.
    http://msdn.microsoft.com/en-us/library/windowsazure/ee336243.aspx
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Unhandled Exception: System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:59.9139778.Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding.

    Hi, 
    I created a simple plugin and since i wanted to use Early Binding i added Xrm.cs file to my solution.After i tried registering the plugin (using the Plugin Registration Tool) the plugin does not gets registered and i get the below mentioned Exception.
    Unhandled Exception: System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:59.9139778. 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.
    Server stack trace: 
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Xrm.Sdk.IOrganizationService.Update(Entity entity)
       at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.UpdateCore(Entity entity)
       at Microsoft.Crm.Tools.PluginRegistration.RegistrationHelper.UpdateAssembly(CrmOrganization org, String pathToAssembly, CrmPluginAssembly assembly, PluginType[] type)
       at Microsoft.Crm.Tools.PluginRegistration.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e)
    Inner Exception: System.TimeoutException: The HTTP request to 'https://demoorg172.api.crm.dynamics.com/XRMServices/2011/Organization.svc' has exceeded the allotted timeout of 00:01:59.9430000. The time allotted to this operation may have been a portion of a
    longer timeout.
       at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
    Inner Exception: System.Net.WebException: The operation has timed out
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
    And to my Surprise after i remove the Xrm.cs file from my solution the Plugin got registered!
    Not understanding what exactly is the issue.
    Any Suggestions are highly appreciated.
    Thanks,
    Shradha
      

    Hello Shardha,
                            I really appreciate that you have faced this issue.This is really very strange issue and basically it occurs because of big size of your early bound class and slow internet
    connection.
                            I would strictly recommend you to reduce the file size of your early bound class and then register.By default early bound class is created for all the entities which are
    present in CRM(System entities as well custom entities).Such kind of early bound classes takes lots of time to register on server and hence timeout exception comes.
                            There is some standard define to reduce the size of early bound class.Please follow the link to get rid from big size of early bound class.
    Create a new C# class library project in Visual Studio called SvcUtilFilter.
    In the project, add references to the following:
    CrmSvcUtil.exe(from sdk)   This exe has the interface we will implement.
    Microsoft.Xrm.Sdk.dll  (found in the CRM SDK).
    System.Runtime.Serialization.
      Add the following class to the project:
    using System;
    using System.Collections.Generic;
    using System.Xml.Linq;
    using Microsoft.Crm.Services.Utility;
    using Microsoft.Xrm.Sdk.Metadata;
    namespace SvcUtilFilter
        /// <summary>
        /// CodeWriterFilter for CrmSvcUtil that reads list of entities from an xml file to
        /// determine whether or not the entity class should be generated.
        /// </summary>
        public class CodeWriterFilter : ICodeWriterFilterService
            //list of entity names to generate classes for.
            private HashSet<string> _validEntities = new HashSet<string>();
            //reference to the default service.
            private ICodeWriterFilterService _defaultService = null;
            /// <summary>
            /// constructor
            /// </summary>
            /// <param name="defaultService">default
    implementation</param>
            public CodeWriterFilter( ICodeWriterFilterService defaultService )
                this._defaultService = defaultService;
                LoadFilterData();
            /// <summary>
            /// loads the entity filter data from the filter.xml file
            /// </summary>
            private void LoadFilterData()
                XElement xml = XElement.Load("filter.xml");
                XElement entitiesElement = xml.Element("entities");
                foreach (XElement entityElement in entitiesElement.Elements("entity"))
                    _validEntities.Add(entityElement.Value.ToLowerInvariant());
            /// <summary>
            /// /Use filter entity list to determine if the entity class should be generated.
            /// </summary>
            public bool GenerateEntity(EntityMetadata entityMetadata, IServiceProvider services)
                return (_validEntities.Contains(entityMetadata.LogicalName.ToLowerInvariant()));
            //All other methods just use default implementation:
            public bool GenerateAttribute(AttributeMetadata attributeMetadata, IServiceProvider services)
                return _defaultService.GenerateAttribute(attributeMetadata, services);
            public bool GenerateOption(OptionMetadata optionMetadata, IServiceProvider services)
                return _defaultService.GenerateOption(optionMetadata, services);
            public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services)
                return _defaultService.GenerateOptionSet(optionSetMetadata, services);
            public bool GenerateRelationship(RelationshipMetadataBase relationshipMetadata, EntityMetadata otherEntityMetadata, IServiceProviderservices)
                return _defaultService.GenerateRelationship(relationshipMetadata, otherEntityMetadata, services);
            public bool GenerateServiceContext(IServiceProvider services)
                return _defaultService.GenerateServiceContext(services);
    This class implements the ICodeWriterFilterService interface.  This interface is used by the class generation
    utility to determine which entities, attrributes, etc. should actually be generated.  The interface is very simple and just has seven methods that are passed metadata info and return a boolean indicating whether or not the metadata should be included
    in the generated code file.   
    For now I just want to be able to determine which entities are generated, so in the constructor I read from an XML
    file (filter.xml) that holds the list of entities to generate and put the list in a Hashset.  The format of the xml is this:
    <filter>
      <entities>
        <entity>systemuser</entity>
        <entity>team</entity>
        <entity>role</entity>
        <entity>businessunit</entity>
      </entities>
    </filter>
    Take a look at the methods in the class. In the GenerateEntity method, we can simply check the EntityMetadata parameter
    against our list of valid entities and return true if it's an entity that we want to generate.
    For all of the other methods we want to just do whatever the default implementation of the utility is.  Notice
    how the constructor of the class accepts a defaultService parameter.  We can just save a reference to this default service and use it whenever we want to stick with the default behavior.  All of the other methods in the class just call the default
    service.
    To use our extension when running the utility, we just have to make sure the compiled DLL and the filter.xml file
    are in the same folder as CrmSvcUtil.exe, and set the /codewriterfilter command-line argument when running the utility (as described in the SDK):
    crmsvcutil.exe /url:http://<server>/<org>/XrmServices/2011/Organization.svc /out:sdk.cs  /namespace:<namespace> /codewriterfilter:SvcUtilFilter.CodeWriterFilter,SvcUtilFilter
    /username:[email protected] /password:xxxx
    That's it! You now have a generated sdk.cs file that is only a few hundred kilobytes instead of 5MB. 
    One final note:  There is actually a lot more you can do with extensions to the code generation utility. 
    For example: if you return true in the GenerateOptionSet method, it will actually generated Enums for each CRM picklist (which it doesn't normally do by default).
    Also, the source code for this SvcUtilFilter example can be found here. 
    Use at your own risk, no warranties, etc. etc. 
    Please mark as a answer if this post is useful to you.

  • SQL Azure - Intermittent The wait operation timed out

    I have a website engine which runs a few hundred "white label" sites. It's hosted on Azure with a SQL Azure Business database. Generally everything is fine - it all works and runs at a good speed.
    However, throughout the day I get maybe 40 or 50 of the error:
    System.ComponentModel.Win32Exception: The wait operation timed out
    Please don't refer me to the connectivity blog at http://blogs.msdn.com/b/sqlazure/archive/2010/03/22/9982979.aspx as this seems to refer to problems where you just can't connect. My problem is that it's fine most of the time, but I still get these
    intermittently.
    This is sometimes on the main database, but we're also using a database for sessions and this gets the errors too. Both databases are on the same server.
    I also get errors like: 
    An existing connection was forcibly closed by the remote host
    and:
    System.Data.SqlClient.SqlException: The service has encountered an error processing your request. Please try again. Error code 40143. A severe error occurred on the current command. The results, if any, should be discarded.
    and, when evil bots are hammering the site:
    System.Data.SqlClient.SqlException: Resource ID : 1. The request limit for the database is 180 and has been reached. See 'http://go.microsoft.com/fwlink/?LinkId=267637' for assistance.
    Each website can potentially have a Google footprint of around 10,000 pages. The result it that bots are hitting the sites regularly, indexing lots of pages for hundreds of sites. I also have some worker roles doing data work. The database is clearly busy!
    I am hoping to add 2 or 3 times the number of sites that I currently have to the "engine". 
    I am looking at efficiency where possible, but the sites are clearly under a fair load from bots and visitors.
    My question is, will one of the upgrades from Business to S2, P1, P2 or P3 resolve these problems? The financial cost of these database instances stagger greatly so I wouldn't want to update and find I'm left with the same problems but am paying many times
    more each month.
    Thank you in advance.

    Hello,
    For Web/Business edition database, the maximum limit of concurrent requests is 180. Beyond this limit, you will receive error.
    The Max woker threads for Standard(S2) is 100, you should upgrade your database to Permium tier.
    The concurrent requests limit of premium database varies depending on the reservation size of a premium database. For example, for P1, the max worker threads is 200.
    Reference:Azure SQL Database Resource Governance
    Azure SQL Database Service Tiers and Performance Levels
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • TNS:Operation Timed Out error while trying to invoke BPEL Process from sql

    Hi,
    I am trying to invoke a BPEL Process from PL/sql code. When i try to invoke the process, I am getting the following error message
    ORA-29273 HTTP Request Failed
    ORA:06512: at SYS.UTH_HTTP at line 1029
    ORA:12535: TNS:Operation Timed Out
    ORA:06512: at line 18
    I have the SOA suite installed on my local machine...and the BPEL process that i am trying to invoke is deployed their.
    Any idea what could be wrong..following is the code piece
    soap_request:='<?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header/>
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/Test">
    <ns1:TesProcessRequest><ns1:input>is1_1land</ns1:input></ns1:TesProcessRequest>
    </soap:Body>
    </soap:Envelope>';
    dbms_output.put_line('soap_request: '||soap_request);
    utl_http.set_proxy('3.209.30.25:80', '3.209.32.149:8888');
    http_req:= utl_http.begin_request('http://3.209.32.149:8888/orabpel/default/Tes/1.0 '
                   ,'POST'
                                  ,'HTTP/1.1');
    dbms_output.put_line('after Begin Request' );
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    Please advise

    you are right the file adapter doesnt invoke any bpel
    process, instead it is polling the file from
    directory location?If it is polling for new files, shouldn't it create a new instance of the BPEL process automatically the moment it finds a new file? In other words, should a new file trigger an instance of the BPEL process rather than being started from PL/SQL?
    Can this file adapter not be invoked as bpel process
    in that case?The file adapter is part of a BPEL process. The BPEL process can be invoked from e.g. PL/SQL.
    In this case this file adapeter return to an RECEIVE
    activity...I think this receive cannot be invoked as
    a BPEL process rite?Can you explain what you mean with this?
    Also , will all synchronous request return "TIMEOUT"
    error, if tried to invoke from pl/sql?Only if the synchronous process instance takes more time to complete (and thus to return) than the value specified for a time-out to occur. If the instance completes in for example 10 ms and the time-out time is specified as 30 seconds, no time-out will occur.
    Regards, Ronald

  • Getting session has timed out while trying to redeem a gift card. have had no problem in the past.  am running a g4 since 2002 with os 10.4 and itunes 9. have no internet problems and can connect to store ok. so far apple no help keeps blaming it on othrs

    am having trouble for the first time trying to redeem a gift card. Everything same on computer, OS, and internet connection. have been able to redeem other cards. this time am getting "SESSION HAS TIMED OUT" while trying to redeem card. have contacted apple and checked out all their suggestion iE:( must be your connection. typed in code wrong, too old version of itunes, etc) anything but why would a gift card code bee tied to a specific vetrsion of ITUNES. Rediculous!! there has to be others out there that have an older version if itune than i have. has anyone ever had the error "SESSION HAS TIMED OUT" and if so was it corrected?? any information other than apples {change password and give us lots of personal info they probably have) would be appreciated..

    Hello,
    As far as I can see, that Verizon Jet Pack wireless Modem uses WPA2 to connect.
    The Router might complicate things right now.
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    Is that Interface dragged to the top of Network>Show:>Network Port Configurations and checked ON?
    The Interface that connects to the Internet, needs to be drug to the top of System Preferences>Network>Show:>Network Port Configurations and checked ON.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.

Maybe you are looking for

  • Word property with multiple lines

    Good Morning, I have a Document Library with an Word template, I fill some properties of the library so I can put this properties in the template. I am trying to write a line break, Any idea? Thanks.

  • Sound but no video through composite and s-video

    I have a QIP2500-3 STB. My tv is a FHD2400, its a monitor by Gateway. There is 2 other QIP25003 STB around the house. As welI, also get only sound and no video while using S-Video. I've checked the wire, and there is current flowing but no signal. Co

  • Enable particular row of apex_item report region....

    Hi guys, I have a report region.i used apex_item to create report region. select apex_item.checkbox(1,ADDRESS1) chk_bx,apex_item.text(2,ADDRESS1) Address,apex_item.text(3,ITEM1) Item,null from address_details;On page load i disabled the report region

  • Any help adding podcasts to my shuffle? New version causing probs

    I have a 2nd gen shuffle and a couple of days ago updated to latest version of itunes. Since then I cant add any podcasts to a playlist. Music I can add fine, but when I add a podcast, even when it shows in the playlist it just wont update into the s

  • SCHEDULES E18: NON PROJECT REVENUE REPORT

    HI GURUS, CAN YOU PLEASE TELL ME WHERE CAN WE FIND OUT THE STANDARD REPORT, RELATED DATASOURCES AND RELATED TABLES for <b>NON PROJECT</b> REVENUE PLEASE. THANKS & REGARDS VENU