CF 6.1 - JRUN Closed Connection/Server errors occurring on a daily basis

We seem to be having issues with Jrun Closed Connection/Server errors occuring on a daily basis now. The server will stop responding to requests until the ColdFusion service is restarted.
We're using CF 6.1, the following error message is from the log files and seems to be Java/JVM related but I was hesitant to make any changes to the JVM parameters.
Any suggestions on how to resolve this daily issue of restarting CF service? Other than upgrading to more recent version of CF which we'll be doing later this year.
Thanks,
Dave
>>>>>>>>>>>>
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77FCAFF8
Function=[Unknown.]
Library=C:\WINNT\system32\ntdll.dll
NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.
Current Java thread:
          at java.io.WinNTFileSystem.list(Native Method)
          at java.io.File.list(File.java:915)
          at coldfusion.mail.MailSpooler.refreshSpoolFiles(MailSpooler.java:1484)
          at coldfusion.mail.MailSpooler.run(MailSpooler.java:897)
          at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
          at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70)
Dynamic libraries:
0x00400000 - 0x0040F000           C:\CFusionMX\runtime\bin\jrun.exe
0x77F80000 - 0x77FFC000           C:\WINNT\system32\ntdll.dll
0x7C570000 - 0x7C624000           C:\WINNT\system32\KERNEL32.dll
0x7C2D0000 - 0x7C335000           C:\WINNT\system32\ADVAPI32.dll
0x77D30000 - 0x77D9F000           C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78045000           C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x082A7000           C:\CFusionMX\runtime\jre\bin\server\jvm.dll
0x77E10000 - 0x77E6F000           C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7D000           C:\WINNT\system32\GDI32.dll
0x77570000 - 0x775A0000           C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000           C:\CFusionMX\runtime\jre\bin\hpi.dll
0x00770000 - 0x0077E000           C:\CFusionMX\runtime\jre\bin\verify.dll
0x00780000 - 0x00798000           C:\CFusionMX\runtime\jre\bin\java.dll
0x007A0000 - 0x007AD000           C:\CFusionMX\runtime\jre\bin\zip.dll
0x39A70000 - 0x39A7F000           C:\CFusionMX\runtime\jre\bin\net.dll
0x75030000 - 0x75044000           C:\WINNT\system32\WS2_32.dll
0x75020000 - 0x75028000           C:\WINNT\system32\WS2HELP.DLL
0x782C0000 - 0x782CC000           C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A5000           C:\WINNT\system32\DNSAPI.DLL
0x75050000 - 0x75058000           C:\WINNT\system32\WSOCK32.dll
0x77340000 - 0x77353000           C:\WINNT\system32\iphlpapi.dll
0x77520000 - 0x77525000           C:\WINNT\system32\ICMP.dll
0x77320000 - 0x77337000           C:\WINNT\system32\MPRAPI.dll
0x75150000 - 0x75160000           C:\WINNT\system32\SAMLIB.DLL
0x7CDC0000 - 0x7CE10000           C:\WINNT\system32\NETAPI32.DLL
0x7C340000 - 0x7C34E000           C:\WINNT\system32\Secur32.dll
0x77BF0000 - 0x77C01000           C:\WINNT\system32\NTDSAPI.dll
0x77950000 - 0x7797B000           C:\WINNT\system32\WLDAP32.DLL
0x751C0000 - 0x751C6000           C:\WINNT\system32\NETRAP.dll
0x7CE20000 - 0x7CF0F000           C:\WINNT\system32\OLE32.DLL
0x779B0000 - 0x77A4C000           C:\WINNT\system32\OLEAUT32.DLL
0x773B0000 - 0x773DF000           C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773A3000           C:\WINNT\system32\ADSLDPC.DLL
0x77830000 - 0x7783E000           C:\WINNT\system32\RTUTILS.DLL
0x77880000 - 0x7790E000           C:\WINNT\system32\SETUPAPI.DLL
0x7C0F0000 - 0x7C154000           C:\WINNT\system32\USERENV.DLL
0x774E0000 - 0x77514000           C:\WINNT\system32\RASAPI32.dll
0x774C0000 - 0x774D1000           C:\WINNT\system32\rasman.dll
0x77530000 - 0x77552000           C:\WINNT\system32\TAPI32.dll
0x71710000 - 0x71794000           C:\WINNT\system32\COMCTL32.DLL
0x70A70000 - 0x70AD6000           C:\WINNT\system32\SHLWAPI.DLL
0x77360000 - 0x77379000           C:\WINNT\system32\DHCPCSVC.DLL
0x777E0000 - 0x777E8000           C:\WINNT\System32\winrnr.dll
0x777F0000 - 0x777F5000           C:\WINNT\system32\rasadhlp.dll
0x39FB0000 - 0x39FBC000           C:\CFusionMX\runtime\bin\portscan.dll
0x74FD0000 - 0x74FED000           C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000           C:\WINNT\System32\wshtcpip.dll
0x3AAC0000 - 0x3AAC5000           C:\CFusionMX\runtime\jre\bin\rmi.dll
0x3B9D0000 - 0x3B9D6000           C:\CFusionMX\runtime\jre\bin\ioser12.dll
0x3BBE0000 - 0x3BC60000           C:\CFusionMX\lib\izmjniado.dll
0x3C270000 - 0x3C278000           C:\CFusionMX\lib\CFXNeo.dll
0x780A0000 - 0x780B2000           C:\WINNT\system32\MSVCIRT.dll
0x780C0000 - 0x78121000           C:\WINNT\system32\MSVCP60.dll
0x3C280000 - 0x3C28B000           C:\CFusionMX\lib\cfregistry.dll
0x3C3A0000 - 0x3C3A8000           C:\CFusionMX\lib\PerfmonClient.dll
0x3C5C0000 - 0x3C5CC000           C:\CFusionMX\lib\cfindex.dll
0x3C5D0000 - 0x3C7C2000           C:\CFusionMX\lib\vdk200.dll
0x3C7D0000 - 0x3C805000           C:\CFusionMX\lib\LIBALLRSEI.dll
0x7CA00000 - 0x7CA23000           C:\WINNT\system32\rsaenh.dll
0x7C740000 - 0x7C7CC000           C:\WINNT\system32\CRYPT32.dll
0x77430000 - 0x77441000           C:\WINNT\system32\MSASN1.dll
0x3EE10000 - 0x3EE3E000           C:\CFusion\CustomTags\GetUserGroups.dll
0x77800000 - 0x7781E000           C:\WINNT\system32\WINSPOOL.DRV
0x76620000 - 0x76631000           C:\WINNT\system32\MPR.DLL
0x7CF30000 - 0x7D176000           C:\WINNT\system32\SHELL32.dll
0x3F650000 - 0x3F75A000           C:\CFusionMX\runtime\jre\bin\awt.dll
0x75E60000 - 0x75E7A000           C:\WINNT\system32\IMM32.dll
0x3F760000 - 0x3F7B0000           C:\CFusionMX\runtime\jre\bin\fontmanager.dll
0x72800000 - 0x72846000           C:\WINNT\system32\ddraw.dll
0x728A0000 - 0x728A6000           C:\WINNT\system32\DCIMAN32.dll
0x72CF0000 - 0x72D84000           C:\WINNT\system32\D3DIM700.DLL
0x690A0000 - 0x690AB000           C:\WINNT\system32\PSAPI.DLL
Heap at VM Abort:
Heap
PSYoungGen      total 5824K, used 1523K [0x10010000, 0x10800000, 0x138f0000)
  eden space 3520K, 26% used [0x10010000,0x100fa4e0,0x10380000)
  from space 2304K, 25% used [0x105c0000,0x106528b0,0x10800000)
  to   space 2304K, 0% used [0x10380000,0x10380000,0x105c0000)
PSOldGen        total 29824K, used 22612K [0x138f0000, 0x15610000, 0x30010000)
  object space 29824K, 75% used [0x138f0000,0x14f051e0,0x15610000)
PSPermGen       total 20736K, used 20580K [0x30010000, 0x31450000, 0x38010000)
  object space 20736K, 99% used [0x30010000,0x314293b0,0x31450000)
Local Time = Fri Dec 13 13:50:53 2013
Elapsed Time = 19424
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Server VM (1.4.2-b28 mixed mode)
space 3520K, 26% used space 2304K, 25% used space 2304K, 0% used space 29824K, 75% used space 20736K, 99% used# An error report file has been saved as hs_err_pid2920.log.
# Please refer to the file for further information.

CF6, Java 1.4.2 and Windows NT - have not seen those for a long time myself.
Perhaps this is the issue from error report:
PSPermGen       total 20736K, used 20580K
object space 20736K, 99% used
I guess Java non heap space Permanent Generation is full the next object trying to load into that space can’t fit, plus all the objects in there are referenced so no objects can be removed so free space can’t be made available. One would need to do some work with Java logging and know what JVM.CONFIG looks like to know if that guess is accurate.
You could try increase that parameter 10Mb or so and see what happens? In JVM.CONFIG, JVM args, -XX:MaxPermSize=NNm where NN = numbers.
Needless to say you are running a lot of end of life product and should plan to migrate to something more current.
HTH, Carl.

Similar Messages

  • JRun closed connection

    We have two instances of JRun web connector running on two
    separate IIS 6 servers (W2003). These web connectors point to two
    different JRun web servers running on two separate servers (W2003).
    Both IIS servers will present web pages fine for a while then
    usually within a 1/2 hour I'll get "Server Error..... JRun closed
    connection" While one IIS server gives the error, the other will
    continue working fine. After rebooting the offending server both
    will be working, then the other IIS will give the error. The error
    is experienced on both IIS servers at random times but never the
    error on both IIS servers at the same time. I've scoured the net in
    hopes in finding an answer to this issue but no luck so far, I'm
    hoping someone will know what the issue may be. Thank you.

    Thanks for the input,
    I found that the Hard Disk was failling 'Dirty Disk' having
    replaced the HD and transfered all files I am now working again.
    John

  • The underlying connection was closed: An unexpected error occurred on a receive..Exception.Message - while executing powershell command for sharepoint online site

    " +The underlying connection was closed: An unexpected error occurred on a receive..Exception.Message " OR sometimes
    "The remote server returned an error: (503) Server Unavailable..Exception.Message"
    Getting exception above when performing various operation (site coll creating, group creation, adding users to group) for sharepoint online (Office 365) site using powershell script.
    I want to create 3500 site collections using PS script. In-between getting above exception so it will skip one site collection creating and working again. for eg. after creating 11 site coll, script will through above exception and so 12th site coll will
    not be create but working fine from 13 and so on...

    Remote server seems working to me...any additional check?
    if problem with remote server then may be loop to create site provisioning should not start again..Right?
    any idea?

  • OLAP Error:The underlying connection was closed: An unexpected error occure

    We have recently installed BPC 51 (SP2). This been working fine for months until yesterday. Now we are getting errors on OLAP Database. Following is the problem description. Any help would be appreciated.
    Received error "The underlying connection was closed:  An unexpected error occurred on a send." while processing dimension. This message appears during 'Create Dimension' sub step( step 2/5). After this BPC server crashes.
    The same error appears while deleting appset during 'Delete OLAP Database' sub step (step 2/4). We are also not able to restore an appset since the process hangs during OLAP Database stage.
    Software version: BPC Version 5.0.102 SP2
    MS SQL Server 2005
    Microsoft SQL Server Management Studio      9.00.3042.00
    Microsoft Analysis Services Client Tools      2005.090.3042.00
    Microsoft Data Access Components (MDAC)      2000.086.3959.00 (srv03_sp2_rtm.070216-1710)
    Microsoft MSXML      2.6 3.0 4.0 5.0 6.0
    Microsoft Internet Explorer      6.0.3790.3959
    Microsoft .NET Framework      2.0.50727.1433
    Operating System      5.2.3790
    Thanks

    Yes we did that several time, but did not solve the problem.
    Finally, we processed all the dimensions, applications, appsets within SQL server studio and the problem is resolved. I am not sure if this would surface again.
    Thanks
    Edited by: Sankaranarayanan Janakiraman on Jun 19, 2008 8:34 AM

  • SSRS Reporting manages goes down frequently. ERROR: The underlying connection was closed: An unexpected error occurred on a send.

    We have been experiencing issues with SSRS over the past 5 weeks, the service goes down frequently. And it comes up only on reboot of the server.
    We had also disabled the On Access scan in Mcafee.
    The service is in use for about two years, and the below error started occuring over the last few days. Please advise on this.
    ui!ReportManager_0-2!24e8!08/14/2014-18:13:45:: e ERROR: The underlying connection was closed: An unexpected error occurred on a send.
    ui!ReportManager_0-2!24e8!08/14/2014-18:13:45:: e ERROR: HTTP status code --> 500
    -------Details--------
    System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException:
    An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
       at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       --- End of inner exception stack trace ---
       at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.ConnectStream.WriteHeaders(Boolean async)
       --- End of inner exception stack trace ---
       at Microsoft.SqlServer.ReportingServices2005.RSConnection.GetSecureMethods()
       at Microsoft.ReportingServices.UI.Global.RSWebServiceWrapper.GetSecureMethods()
       at Microsoft.SqlServer.ReportingServices2005.RSConnection.IsSecureMethod(String methodname)
       at Microsoft.SqlServer.ReportingServices2005.RSConnection.ValidateConnection()
       at Microsoft.ReportingServices.UI.Global.SecureAllAPI()
       at Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel level)
       at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object sender, EventArgs args)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Web.UI.Control.OnInit(EventArgs e)
       at System.Web.UI.Page.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ui!ReportManager_0-2!24e8!08/14/2014-18:13:46:: e ERROR: Exception in ShowErrorPage: System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.AbortInternal()
       at System.Threading.Thread.Abort(Object stateInfo)
       at System.Web.HttpResponse.End()
       at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
       at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg) at    at System.Threading.Thread.AbortInternal()
       at System.Threading.Thread.Abort(Object stateInfo)
       at System.Web.HttpResponse.End()
       at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
       at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
    library!ReportServer_0-1!1c90!08/14/2014-18:13:51:: Call to ListParentsAction(/Data Sources).
    library!ReportServer_0-1!1c90!08/14/2014-18:13:51:: Call to ListParentsAction(/Data Sources).
    library!ReportServer_0-1!1c90!08/14/2014-18:13:51:: Call to ListChildrenAction(/Data Sources, False).
    webserver!ReportServer_0-1!1c90!08/14/2014-18:13:51:: i INFO: Processed folder '/Data Sources'
    library!ReportServer_0-1!68c!08/14/2014-18:13:56:: Call to GetItemTypeAction(/).
    library!ReportServer_0-1!68c!08/14/2014-18:13:56:: Call to ListParentsAction(/).
    library!ReportServer_0-1!68c!08/14/2014-18:13:56:: Call to ListChildrenAction(/, False).
    webserver!ReportServer_0-1!68c!08/14/2014-18:13:56:: i INFO: Processed folder '/'

    Hi SThiyag,
    Based on your error message, it may be related to the “SecureConnectionLevel” in the RSReportServer.config file. Please go to C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer, use Notepad to open the RSReportServer.config,
    modify <Add Key="SecureConnectionLevel" Value="0"/>, change the value into "1" or "2".
    (Note: Please backup the file before modify it.)
    Acceptable values are: 
    3 Most secure—Use SSL for absolutely everything.
    2 Secure—Use SSL for rendering and methods that pass credentials but don't insist on it for all SOAP calls.
    1 Basic Security—Accepts http but rejects any calls that might be involved in the passing of credentials.
    0 Least Secure—Don't use SSL at all
    Here is a blog for error message "The underlying connection was closed...", please refer to the link below:
    http://blogs.msdn.com/b/engelsr/archive/2005/11/29/the-underlying-connection-was-closed.aspx
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Cannot upload report to report manager 2008R2 : The underlying connection was closed: An unexpected error occurred on a receive

    Hi all,
    I cannot upload a report to our report manager. The message returned in report manager is: The underlying connection was closed: An unexpected error occurred on a receive
    I have checked the report server log file and found the below...
    Any assistance greatly appreciated.
    Thanks, Clay
    -------Details--------
    System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. --->
    System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       --- End of inner exception stack trace ---
       at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
       --- End of inner exception stack trace ---
       at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
       at Microsoft.ReportingServices.UI.Global.RSWebServiceWrapper.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.SqlServer.ReportingServices2005.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties)
       at Microsoft.SqlServer.ReportingServices2005.RSConnection.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties)
       at Microsoft.ReportingServices.UI.ImportPageCtrl.ApplyChanges()
       at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
       at Microsoft.ReportingServices.UI.ScriptButton.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Hi clay,
    Per my understanding that you got some error when you upload reports in the report manager, right?
    I have checked the log and the issue can be caused by many factors.
    It can be caused by the size of the report is too big which will sent the request in its entirety and got a TCP ACK-FIN or RST from server to close the connection, without a response from server when uploading the reports. We can follow these steps
    to increase the request size to resolve the issue:
    Add the following registry key with the following value:
     Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters
     Value: DWORD "MaxRequestBytes"  set it to a value of 5242880 (5MB). (This number is alterable).
    Stop the SRS Windows Service.
    From a cmd prompt run "net stop http" then "net start http".
    Try and upload your report.
    Details information please reference to this similar thread:
    http://stackoverflow.com/questions/2238494/cant-deploy-or-upload-large-ssrs-2008-report-from-vs-or-ie
    If the above didn't help, please also check below information: 
    configure the rsreportserver.config file and make the SecureConnectionLevel value set to 0 to solve the problem. By default, the file is under the path:
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer
    You can refer to the code below:
    < Add Key="SecureConnectionLevel" Value="0"/>
    The SecureConnectionLevel property allows values of 0,1,2,3, with 0 indicating that Secure Socket Layer is not required for any of the Web service methods. And a positive integer indicates Secure Socket Layer is required for all the Web service methods.
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Getting "The underlying connection was closed: An unexpected error occurred on a receive." in Azure Web Jobs

    I have created one web job - on demand schedule under azure web site.  This web jobs contains .execmd(i.e.)
    Console Application.
    I am retrieving the data from SQL Azure database and uploaded the data in sharepoint online lists. (i.e.)I have uploaded the data to several(7) lists in each subsites. I have 3 subsites. 
    I am getting this error "The underlying connection was closed: An unexpected error occurred on a receive.", while uploaded the data into lists. 
    Full Error Message:
    Message - The underlying connection was closed: An unexpected error occurred on a receive.
    StackTrace -    at System.Net.HttpWebRequest.GetResponse()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
    This is not occur every time. Some time i didn't get any error data successfully uploaded in share point online list.
    Totally 4 hours taken uploaded the data into list for completed all 3 subsites. 
    If anyone know how to resolve this.
    Thanks,
    A.Ramu

    I have created one web job - on demand schedule under azure web site.  This web jobs contains
    .exe cmd(i.e.) Console Application.
    I am retrieving the data from SQL Azure database and uploaded the data in sharepoint online lists. (i.e.)I have uploaded the data to several(7) lists in each subsites. I have 3 subsites. 
    I am getting this error "The remote server returned an error: (503) Server Unavailable", while uploaded the data into lists. 
    Full Error Message:
    Message - The remote server returned an error: (503) Server Unavailable.
    StackTrace -    at System.Net.HttpWebRequest.GetResponse()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
    This is not occur every time. Some time i didn't get any error data successfully uploaded in share point online list.
    Totally 4 hours taken uploaded the data into list for completed all 3 subsites. 
    If anyone know how to resolve this.
    Thanks,
    A.Ramu

  • The underlying connection was closed: An unexpected error occurred on a receive

    Hi,
    We have a requirement where we need to create a custom workflow code activity which will download the current uploaded document to a shared network drive. We have created a code activity using client object model  to achieve this. But intermittently
    below exception is being occured at ctx.ExecuteQuery();
    Can anyone help me in resolving the issue?
    Exception :
    :-The underlying connection was closed: An unexpected error occurred on a receive.The underlying connection was closed: An unexpected error occurred on a receive.   at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
       at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
       at CustomActivity.CustomCodeActivity.Execute(CodeActivityContext context)
    The underlying connection was closed: An unexpected error occurred on a receive.The underlying connection was closed: An unexpected error occurred on a receive.   at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
       at Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfoPrivate()
       at Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest()
       at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
       at CustomActivity.CustomCodeActivity.Execute(CodeActivityContext context)
    Below is the code written.
    using (ClientContext ctx = new ClientContext(strSiteUrl))
    // ctx.ExecutingWebRequest += clientContext_ExecutingWebRequest;
    LogMessage("In Using");
    ctx.FormDigestHandlingEnabled = true;
    Web web = ctx.Web;
    LogMessage("In Using1");
    ctx.Load(web);
    LogMessage("In Using2");
    ctx.FormDigestHandlingEnabled = true; //Issue occurring while executing below line
    ctx.ExecuteQuery();
    LogMessage("Exceute Query 1");
    //foreach (ListItem item in GetAllListItems(web.Url, strListName,strItemId))
    ListItem item = GetAllListItems(web.Url, strListName, strItemId);
    LogMessage("in loop1"+item.DisplayName);
    foreach (Microsoft.SharePoint.Client.File file in GetListItemAttachments(web.Url, item, strListName))
    LogMessage("in loop2");
    SaveAttachmentToDisk(file, strFilePath, web.Url);
    string fileExt = System.IO.Path.GetExtension(file.Name);
    string newName = file.Name.Substring(0, file.Name.IndexOf('.'));
    newName = newName + "-" + curDate;

    Hi,
    According to the error message, it usually occurs when server or network device unexpectedly closes an existing Transmission Control Protocol connection.
    This problem may occur when time-out value on the server or network is set too low.
    To resolve this issue, I suggest you do as the followings:
    1. Configure the Web site that hosts the Web services not to use keep-alive connections.
    2. Override the HttpWebRequest method in the Reference.cs file that is generated by Microsoft Visual Studio .NET for the Web client proxy.
    protected override WebRequest GetWebRequest(Uri uri)
    HttpWebRequest webRequest = (HttpWebRequest) base.GetWebRequest(uri);
    webRequest.KeepAlive = false;
    return webRequest;
    More Reference:
    http://support.microsoft.com/kb/819450
    http://stackoverflow.com/questions/21728773/the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-receiv
    Best regards,
    Zhengyu Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • The underlying connection was closed: An unexpected error occurred on a send.

    Fala ae galera.
    tive problemas ao publicar meu primeiro report, exibe o seguinte erro: The underlying connection was closed: An unexpected error occurred on a send.
    Configurações IIS

    Hello,
    Based on the error message, the issue may be related to the “SecureConnectionLevel” in the RSReportServer.config file. When we use HTTP protocol, the value of the “SecureConnectionLevel” attribute should be 0. Usually, we change the value to “1” or “2” only
    when we configure the Report Server for Secure Sockets Layer (SSL) connections.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms157273(v=sql.105).aspx 
    Please refer to the following steps try to resolve the issue:
    1. Use Notepad to open the RSReportServer.config. By default, in SSRS 2012, it is located in: C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer
    (Note: Please backup the file before modify it.)
    2. Search for “SecureConnectionLevel” and make sure its value is set to 0. It looks like this:
    <Add Key="SecureConnectionLevel" Value="0"/>
    There is a blog about “The underlying connection was closed…" error message, you can refer to it.
    http://blogs.msdn.com/b/engelsr/archive/2005/11/29/the-underlying-connection-was-closed.aspx
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Register-SPWorkflowService : The underlying connection was closed: An unexpected error occurred on a receive

    My Fellow SharePoint 2013 Engineers,
    For the past two days I have been struggling to setup the SharePoint 2013 Workflow Manager. After following the detailed steps provided by
    Harbar.net when I reach the final step to register the workflow service for a site, I get the below error.
    Below is the powershell command that I am running.
    Register-SPWorkflowService -SPSite "http://service.domain.com" -Workflowhosturi "http://wfm.domain.com:12291" -AllowAuthHttp -force
    Our SharePoint farm comprises of two WFE servers and two web application servers all of which are setup. You can see the configuration across our farm after I run the following commands
    Import-Module WorkflowManager
    Get-WFFarm
    Get-WFFarmStatus
    FarmType                   : Workflow
    WFFarmDBConnectionString   : Data Source=sp13-sql-01;Initial Catalog=WFManagementDB;Integrated Security=True;Encrypt=False
    RunAsAccount               : domain\svc_wfman
    AdminGroup                 : BUILTIN\Administrators
    Hosts                      : {Name: SP13-APP-01.domain.com, Configuration State: HostConfigurationCompleted, Name: SP13-APP-02.domain.com, Configuration State:
    HostConfigurationCompleted, Name: SP13-WEB-01.domain.com, Configuration State: HostConfigurationCompleted, Name: SP13-WEB-02.domain.com,
    Configuration State: HostConfigurationCompleted}
    InstanceDBConnectionString : Data Source=sp13-sql-01;Initial Catalog=WFInstanceManagementDB;Integrated Security=True;Asynchronous Processing=True;Encrypt=False
    ResourceDBConnectionString : Data Source=sp13-sql-01;Initial Catalog=WFResourceManagementDB;Integrated Security=True;Asynchronous Processing=True;Encrypt=False
    HttpPort                   : 12291
    HttpsPort                  : 12290
    OutboundCertificate        : Thumbprint: B40221F8511412CF8509DB8873815E793D3B6AC5, IsGenerated: True
    Endpoints                  : {https://SP13-APP-01.domain.com:12290/, https://SP13-APP-02.domain.com:12290/, https://SP13-WEB-01.domain.com:12290/, https://SP13-WEB-02.domain.com:12290/}
    SslCertificate             : Thumbprint: D1F9BF5D83B5CC93D7639A84FEB29A3EC72EEE0F, IsGenerated: True
    EncryptionCertificate      : Thumbprint: D1F9BF5D83B5CC93D7639A84FEB29A3EC72EEE0F, IsGenerated: True
    PS C:\> get-wffarmstatus
    HostName                                                   Service                    
                                                                    ServiceStatus
    SP13-APP-01.domain.com                                       WorkflowServiceBackend                        
                                                                 Running
    SP13-APP-01.domain.com                                       WorkflowServiceFrontEnd                      
                                                                  Running
    SP13-APP-02.domain.com                                       WorkflowServiceBackend                        
                                                                 Running
    SP13-APP-02.domain.com                                       WorkflowServiceFrontEnd                      
                                                                  Running
    SP13-WEB-01.domain.com                                       WorkflowServiceBackend                        
                                                                 Running
    SP13-WEB-01.domain.com                                       WorkflowServiceFrontEnd                      
                                                                  Running
    SP13-WEB-02.domain.com                                       WorkflowServiceBackend                        
                                                                 Running
    SP13-WEB-02.domain.com                                       WorkflowServiceFrontEnd                      
                                                                  Running
    When I go Central Administration>Service Applications>Workflow Service Application Proxy, below is what I see
    Thanks in advance for your help.
    Daniel Christian (MCTS)

    Since I didn't get any response back, I turned on all the loggin on our SharePoint environment and ran the powershell command again. I got the same error. I searched for the Client ActivityID on the log file and found the below. Can anyone shed some light
    on it?
    System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. --->
    System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host     at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)     --- End of inner exception stack trace ---    
    at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)     at System.Net.Connection.ReadCallback(IAsyncResu... ce3bb4ef-40ff-4db8-b6a3-517fd5d1fbf5
    11/22/2013 11:45:05.10* PowerShell.exe (0x0874)                  0x337C SharePoint Foundation          PowerShell                   
     6tf2 High     ...lt asyncResult)     --- End of inner exception stack trace ---     at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)    
    at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)     --- End of inner exception stack
    trace ---     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)     at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)    
    at Microsoft.Workflow.Client.ScopeManager.Get()     at Microsoft.SharePoint.WorkflowServices.WorkflowServerPairingContext.RegisterFarm()     at Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowSe... ce3bb4ef-40ff-4db8-b6a3-517fd5d1fbf5
    11/22/2013 11:45:05.10* PowerShell.exe (0x0874)                  0x337C SharePoint Foundation          PowerShell                   
     6tf2 High     ...rvice.InternalProcessRecord()     at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord() ce3bb4ef-40ff-4db8-b6a3-517fd5d1fbf5
    Daniel Christian (MCTS)

  • [Exchange-Online] [EWSMA] [C#] [Windows]: EWS - CreateAttachment problem - The underlying connection was closed: An unexpected error occurred on a send

    Hello,
    I have a problem with
    ExchangeServiceBinding.CreateAttachment(...) method (EWS with Office 365)
    When I try to add a small attachment (e.g. 5 MB), then the method works fine.
    When I try to add a big attachment (e.g.
    12 MB), then the following exception is thrown:
     System.Net.WebException
    The underlying connection was closed: An unexpected error occurred on a send.
       at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at C2EWS.Proxy.ExchangeServiceBinding.CreateAttachment(CreateAttachmentType CreateAttachment1) in d:\source\EWSProxyClasses.cs:line 1471
       at EWSRequest.Program.UploadAttachment(ExchangeServiceBinding esb, ItemIdType parentItemIdType) in d:\source\EWSRequest\Program.cs:line 90
       at EWSRequest.Program.Main(String[] args) in d:\source\EWSRequest\Program.cs:line 59
    Inner exception:
     System.IO.IOException
     Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
        at System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers)
        at System.Net.Security._SslStream.StartWriting(SplitWritesState splitWrite, SplitWriteAsyncProtocolRequest asyncRequest)
        at System.Net.Security._SslStream.ProcessWrite(BufferOffsetSize[] buffers, SplitWriteAsyncProtocolRequest asyncRequest)
        at System.Net.TlsStream.MultipleWrite(BufferOffsetSize[] buffers)
        at System.Net.Connection.Write(ScatterGatherBuffers writeBuffer)
        at System.Net.ConnectStream.ResubmitWrite(ConnectStream oldStream, Boolean suppressWrite)
    Inner exception:
      System.Net.Sockets.SocketException
      An existing connection was forcibly closed by the remote host
         at System.Net.Sockets.Socket.MultipleSend(BufferOffsetSize[] buffers, SocketFlags socketFlags)
         at System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers)
    The C# code is the following:
    private void UploadAttachment(ExchangeServiceBinding esb, ItemIdType parentItemIdType, string attachmentPath)
    // File Attachment
    FileAttachmentType fileAttach = new FileAttachmentType();
    // Attachment details
    byte[] bytes = System.IO.File.ReadAllBytes(attachmentPath);
    fileAttach.Content = bytes;
    fileAttach.IsInlineSpecified = false;
    fileAttach.LastModifiedTimeSpecified = false;
    fileAttach.Name = System.IO.Path.GetFileName(attachmentPath);
    // Create Attachment
    CreateAttachmentType reqCreateAttach = new CreateAttachmentType();
    // Add parent Id
    reqCreateAttach.ParentItemId = parentItemIdType;
    // Add attachment to the query
    reqCreateAttach.Attachments = new AttachmentType[1];
    reqCreateAttach.Attachments[0] = fileAttach;
    // Upload attachment
    CreateAttachmentResponseType resp = esb.CreateAttachment(reqCreateAttach);
    // Check response errors
    CheckErrors(resp);
    Could you advise a solution, please?
    Robert

    Hello,
    The maximum size is rather not the problem in this case. As mentioned in my question above, I have a problem uploading messages with 12MB attachments to Office 365 via EWS. According
    to the documentation you provided a link to, the message size limit in all plans of Office 365 is 25MB.
    When we try the same request using slow network connection (1Mbit/s) there IS problem  - we are NOT able to upload 12 MB attachments.
    When we try the same request using faster network connection (10Mbit/s) there is NO problem - we are able to upload 12 MB attachments.
    It seems like a kind of timeout - probably from Office365.
    Is there a possibility to upload attachment in chunks?
    Robert

  • Wsus Sync Failed. WebException: The underlying connection was closed: An unexpected error occurred on a send. --- System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.

    Hi I have installed wsus 3 sp2 on a win 2008 R2 Sp1
    before the installation , I have updated the windows
    I can open easily browse internet , but when I try to configure synchronization .but it fails.
    No firewall , no proxy ............. I am behind a nat.
    Wsus version is 3.2.7600.256.
    I have searched and searched .....
    Can any body help me
    WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
    at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
       at Microsoft.UpdateServices.ServerSync.ServerSyncCompressionProxy.GetWebResponse(WebRequest webRequest)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy.GetAuthConfig()
       at Microsoft.UpdateServices.ServerSync.ServerSyncLib.InternetGetServerAuthConfig(ServerSyncProxy proxy, WebServiceCommunicationHelper webServiceHelper)
       at Microsoft.UpdateServices.ServerSync.ServerSyncLib.Authenticate(AuthorizationManager authorizationManager, Boolean checkExpiration, ServerSyncProxy proxy, Cookie cookie, WebServiceCommunicationHelper webServiceHelper)
       at Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.SyncConfigUpdatesFromUSS()
       at Microsoft.UpdateServices.Serve

    Hi
    yes . it is alloweded.
    Nat rule permits any ip traffic . No problem with https...
    also my windows is fully updated.
    here is my netstat -an , maybe usefull.
     TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
     TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
     TCP    0.0.0.0:8530           0.0.0.0:0              LISTENING
     TCP    0.0.0.0:8531           0.0.0.0:0              LISTENING
     TCP    0.0.0.0:47001          0.0.0.0:0              LISTENING
     TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING
     TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING
     TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING
     TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING
     TCP    0.0.0.0:49156          0.0.0.0:0              LISTENING
     TCP    --------------------:139       0.0.0.0:0              LISTENING
     TCP    --------------------:8530      172.16.2.201:53317     ESTABLISHED
     TCP    --------------------:49362     23.65.244.185:443      ESTABLISHED
     TCP    --------------------:49363     23.65.244.185:443      ESTABLISHED
     TCP    --------------------:49367     23.65.244.185:443      ESTABLISHED
     TCP    --------------------:49377     23.65.244.185:443      ESTABLISHED
     TCP    --------------------:49414     131.253.34.141:443     ESTABLISHED
     TCP    --------------------:49416     216.239.32.20:80       ESTABLISHED
     TCP    --------------------:49417     216.239.32.20:80       ESTABLISHED
     TCP    --------------------:49418     173.194.70.113:80      ESTABLISHED
     TCP    --------------------:49419     173.194.70.113:80      ESTABLISHED
     TCP    --------------------:49420     65.52.103.78:80        ESTABLISHED
     TCP    --------------------:49421     65.52.103.78:80        ESTABLISHED
     TCP    --------------------:49424     88.221.93.31:80        ESTABLISHED
     TCP    --------------------:49425     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49426     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49427     88.221.93.31:80        ESTABLISHED
     TCP    --------------------:49428     88.221.93.31:80        ESTABLISHED
     TCP    --------------------:49429     88.221.93.31:80        ESTABLISHED
     TCP    --------------------:49430     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49431     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49432     88.221.93.31:80        ESTABLISHED
     TCP    --------------------:49433     88.221.93.31:80        ESTABLISHED
     TCP    --------------------:49434     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49435     88.221.93.31:80        ESTABLISHED
     TCP    --------------------:49436     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49437     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49438     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49439     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49440     88.221.93.31:80        ESTABLISHED
     TCP    --------------------:49441     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49442     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49443     88.221.93.54:80        ESTABLISHED
     TCP    --------------------:49444     88.221.93.54:80        ESTABLISHED
     TCP    --------------------:49445     88.221.93.63:80        ESTABLISHED
     TCP    --------------------:49446     88.221.93.63:80        ESTABLISHED
     TCP    --------------------:49447     88.221.93.63:80        ESTABLISHED
     TCP    --------------------:49448     88.221.93.63:80        ESTABLISHED
     TCP    --------------------:49449     88.221.93.63:80        ESTABLISHED
     TCP    --------------------:49450     88.221.93.31:80        ESTABLISHED
     TCP    --------------------:49451     88.221.93.31:80        ESTABLISHED
     TCP    --------------------:49453     88.221.93.30:80        ESTABLISHED
     TCP    --------------------:49456     65.55.58.184:80        ESTABLISHED
     TCP    --------------------:49457     65.55.58.184:80        ESTABLISHED
     TCP    --------------------:49460     131.253.34.142:80      ESTABLISHED
     TCP    --------------------:49461     131.253.34.142:80      ESTABLISHED
     TCP    --------------------:49462     65.52.103.78:80        ESTABLISHED
     TCP    --------------------:49463     65.52.103.78:80        ESTABLISHED
     TCP    --------------------:49464     63.251.85.33:80        ESTABLISHED
     TCP    --------------------:49466     131.253.40.50:80       ESTABLISHED
     TCP    --------------------:49467     131.253.40.50:80       ESTABLISHED

  • URGENT - The underlying connection was closed: An unexpected error occurred on a send

    Hello,
    We have a web app that works with Ping Federate SSO. The code that was working fine suddenly stopped working with this error message.
    Code: httpResponse = (HttpWebResponse)httpRequest.GetResponse()
    Error: The underlying connection was closed: An unexpected error occurred on a send
    We have tried everything to try to make it work. Made sure TLS is enabled, review the logs from both sides. Nothing seemed to work. I read on the net that there appears to be some known bug with the .net framework. 
    This is our prodcution code and our customers are currently impacted by this issue and we need to get the SSO working again.
    I'd appreciate if you can email me how we can go about resolving this issue. BTW, I also made sure have the correct certificate through IIS bind.
    regards, 
    Ilanko
    [email protected]
    206.931.9442

    Hello Ilanko,
    It seems that you could access the application source code, if so, I suggest that you could check this
    blog to debug the GetResponse() method to find the exact caused code line.
    For this exception, here I find some related information which might be helpful:
    You receive one or more error messages when you try to make an HTTP request in an application that is built on the .NET Framework 1.1 Service Pack 1
    A blog which contains a summary for this exception and provides various workarounds:
    http://blogs.msdn.com/b/engelsr/archive/2005/11/29/the-underlying-connection-was-closed.aspx
    If your application is calling a web service, you could check this hotfix to see if your environment are met:
    https://support.microsoft.com/kb/819450
    If not, you could post a hotfix request with your environment description to:
    https://support2.microsoft.com/contactus/emailcontact.aspx?scid=sw;%5BLN%5D;1422
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I can´t set the control panel iCloud. PC writes this: you can not connect because the server error occurred. What´s matters?

    I can´t set the control panel iCloud. PC writes this: you can not connect because the server error occurred. What´s matters?

    Whenever I log into icloud.com
    Using what version of which browser?
    iCloud.com requires Safari 6 or later, Firefox 22 or later, or Google Chrome 28 or later. Have you tried all of those?
    If you have, have you tried clearing your browser cache and cookies?
    For the first tine since 1989 I'm thinking about buying a PC.
    You'd have exactly the same problems on an 8 year old PC too. It's a bit unreasonable to expect such an old Mac to continue to be compatible as software is constantly updated.
    Saying that, I'm still able to access iCloud.com successfully in Safari v5.0.6 on a PowerPC Mac running Mac OS X 10.5.8, so the problem you're having is likely to be a browser issue, not something inherently wrong with the computer.
    Since all this crap started, Mail won't download my Mac.com or me.com email.
    The iCloud.com website is totally unconnected to Mail's ability to download email via IMAP. Have you checked the mail server settings are correctly setup and up-to-date?

  • A server error occurred on the current command. the results if any should be discarded in SQL 2008 R2

    Hi,
    I am using SQL server 2008 R2 and also MultipleActiveResultSet = true and Pooling = true (default value) in connection string.
    While executing query 'IF ORIGINAL_LOGIN() = SUSER_SNAME() EXECUTE AS USER = 'MyUser'', I received error stating  'A server error occurred on the current command. the results if any should be discarded'. At the same time I could check that SqlConnection
    state is also closed.
    I have also fired 'REVERT' query If I find such exception and again try to execute same query again. but no luck. I received the same exception while executing query (Execute As) again.
    What can be the solution to avoid such exception and make my code working?
    Thanks,
    Ashish

    Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection.
    Above issue occurs genrally when authentication mode is set to Windows Authentication insted Mixed Mode.
    You can change the authentication mode of the SQL server from “Windows Authentication Mode (Windows Authentication)” to “Mixed Mode (Windows Authentication and SQL Server Authentication)”.
    Run following script in SQL Analyzer to change the authentication
    LOGIN sa ENABLE
    GO
    ALTER LOGIN sa WITH PASSWORD = '<password>'
    GO
    http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/
    But as per the first post it seems issue is different have you observerd Error log?
    Check out at C:\Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG
    Location might differ as per the Server configration
    Please click the Mark as answer button and vote as helpful if this reply solves your problem

Maybe you are looking for

  • Gaps in financial year variant periods IW

    Hi All, how to fill the Gaps in financial year variant periods IW. i am not able to finish these!!! we have 52 weeks, when i am posted i am facing the above error. thanks and regards Prathap

  • Keynote file i updated yesterday won't open

    I'm feeling nauseous.  I updated a very large file that i've been working on for years yesterday.  Upgraded it to new keynote.  Now....it won't open.  At all.  Just says "can't be opened".  I tried keynote 09, new keynote.  Tried dragging into new ke

  • ASA5510 - Accessing Anyconnect via other local Interface

    Hello - I hope someone can help. I have a scenario where there is an ASA5510 configured as follows: Interface0 = Outside Interface1 = LAN Interface2 = DMZ Interface3 = unused Running ASA version 8.2[1] All network operations are fine, as are the IPSE

  • Problems with Tiger Install

    Previously having OS 10.2, I tried to install 10.4 from an installation disc over 10.2, and it failed to install. After failing to install, the computer made me restart, and now it goes to a screen giving an error about a Mac OS 10.4 and 10.5 Driver.

  • Anyone else is having problems with magic bullet instant hd 1.2?

    i've tried to download the trial from there website but it had a virsus and i couldn't install the trial cuz my norton block it. did anyone eles had this problem?