A Transport-level error

Our .net application throws an error when the wireless laptop switches from wireless access point to another inside a building. it seems like SQL is closing the existing connetion without notifying the application which thinks that sqlconnetion is still
in OPEN state. why does SQL close a connection without notifying the application? Our programming team does not want to open and close the connection on each transaction because they think it will slow down the application.
Error:
"A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)"

I would expect a disconnect error in such a case.
I don't think SQL Server has a design feature to follow mobile wireless devices.
Threads:
Timeout issue when connection to SQL Server in Wireless environment
Having disconnections with SQL Server using a wireless connection
QUOTE: "Ah, SQL Server connections (and the connection pooling mechanism) are not at
all tolerant of WiFi connections. I suggest you use a replication technology
as exposed by the SQL "Server" Compact Edition and ADO.NET 3.5 Sync
Services. This gives you a local DBMS to work with and connectivity designed
to work over an occasionally (and unreliable) connection."
You may try to adjust the TCP/IP Keep Alive parameter, but no guarantee though.
BOL: "Keep Alive
This parameter (in milliseconds) controls how often TCP attempts to verify that an idle connection is still intact by sending a
KEEPALIVE packet. The default is 30000 milliseconds."
LINK:
http://technet.microsoft.com/en-us/library/ms190771(v=sql.105).aspx
Related thread:
Wireless connections to SQL Databases
Kalman Toth Database & OLAP Architect
SQL Server 2014 Design & Programming
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

Similar Messages

  • A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)

    Hi guys
    i have problem when i run my windows application exe in windows server 2003
    it give me this exception error :
    I using sql server 2005
    visual studio 2008
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
       at System.Data.SqlClient.SqlDataReader.get_MetaData()
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
       at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
       at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
       at Sales.SalesClass.ShowSalesData(String ConnectionString)
       at Sales.Form1.timer1_Tick(Object sender, EventArgs e)
       at System.Windows.Forms.Timer.OnTick(EventArgs e)
       at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    Sales
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Documents%20and%20Settings/administrator.ALTAWIREADYMIX.000/Desktop/Sales.exe
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    System.Transactions
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
    System.EnterpriseServices
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    Why this error show and how to solve it
    if possible help me
    Why this exception show and how to solve it.
    Notes this exception not close my application and not affect in result show but i don't know why it show

    The problem can be caused by certain issues of long-running queries, which are reported improperly. Try increasing the timeout:
    http://support.microsoft.com/en-us/kb/555938

  • SQL Exceptions, transport-level errors on SharePoint 2010 App Server

    SharePoint 2010 becomes inaccessible 2-3 times per day. It happens at approximately the same times: 8 PM, 1 AM and 1 PM. It is inaccessible for about 3-4 minutes and then comes back on its own.
    During the time it is down, we see the following errors in the event viewer on the application server:
    EventID: 5586 Task Category: Database -
    Unknown SQL Exception 64 occurred. Additional error information from SQL Server is included below.A transport-level error has occurred when receiving results from the server.
    (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
    EventID: 3 Task Category: None -
    .Net SqlClient Data Provider: System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error:
    0 - The specified network name is no longer available.)
    EventID: 6398 Task Category: Timer -
    The Execute method of job definition Microsoft.Office.Server.Search.Monitoring.HealthStatUpdateJobDefinition (ID f9db48f1-f115-47ab-99b6-552460cbb782) threw an exception. More
    information is included below. A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
    EventID: 8086 Task Category: Business Data -
    The BDC Service application failed due to a SQL Exception: SQLServer host ums1spd1v. The error returned was: 'A transport-level error has occurred when sending the request to
    the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)'
    The SharePoint logs have errors during the same time period saying the same kinds of things: Sql exception raw message: A transport-level error has occurred when receiving results from the server,
    The specified network name is no longer available, etc.
    Our network administrator has looked at the issue and cannot find any network problems. 
    He setup a continuous ping from the app server to the database server. 
    Even during the times these errors are occurring, the app server is still able to reach the database server. 
    However, you cannot ping the app server itself during this time.
    Our database administer cannot find any SQL Server issues. 
    There are no errors in the event viewer or the SQL logs on the database server.
    In Central Admin, we can see that one or two jobs fail with SQL errors during the times these errors take place.
     It is almost always the “User Profile Service Application – User Profile Language Synchronization Job” and often the “Health Statistics Updating” or “Crawl Log Report for Search Application Search Service Application”. 
    These jobs run successfully at many other times during the day.
    Is there a good way to tell if the database, network or SharePoint itself is the root of these problems? 
    The database and network guys say there are no problems in their areas, but all I can find in the SharePoint logs is that it can’t reach the database server.
    Thank you for any suggestions you may have!

    Since these seem to happen at very specific times, I would run a NetMon trace at that window to capture what is going back and forth (or perhaps the timer service is just unable to reach the SQL server).
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Transport-level error has occurred...No Process is on the other end of the pipe upon first ExecuteQuery() after successful connect.

    I’m running MS SQL Server 2005, Express Edition, SP3 on Windows XP.  Local connections only. 
    In preparation to restore a database, I use IWSQLDMOServer::KillProcesses() to allow the database restore.  (IWSQLSMOResore::SQLRestore())   The restore is successful and I appear to be able to connect OK.  (No error indication on the
    connect)  However, the first time I try to use the database via an ExecuteQuery() the call fails and the connection state is changed to Closed.  I also get the “Transport-level error has occurred...No Process is on the other end of the pipe” exception.
    Closing and restarting the application fixes the problem.
    Also, disconnecting and reconnecting twice before the ExecuteQuery() call also fixes the problem. 
    So, I can hide the problem by connecting twice, but I am hoping there is a better solution.
    Walter Eykel

    It appers when you connect for the restore process, you are opening a different session than that of the original one, with a different database context.
    The first time you try to execute a query, you attempt to use the session that was open BEFORE the KillProcesses() call and therefore was killed. By the time you run the first time, your client is informed that the previous session is no longer available.
    In the second time, as your client was informed that the original session was killed, it opens a new one.
    Its the same behavior as in SSMS.
    As a workaround, you could change your database context of your
    current session to a base that wont be restored, call the restore methods, and then switch back to the original database context.

  • RPC Fault at Transport level?

    One of our Flash programmers is receiving the following error in Flex when connecting to an external MS-SQL DB server.
    "[RPC Fault faultString="A Transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 -- The specified network name is no longer available.)"  faultCode="Server.Processing" faultDetail="null"]
    Apparently my googlefu is no good today as I've not found anything remotely close yet.  Any assistance would be greatly apparectiated.
    Thanks

    Please see attached images which I have got,
    I am using:
    Latest BlazeDS + Flex 3.0 plugin.
    Server JBoss 4.0.2
    I am not getting exactly why this is working so?

  • Transport layer error when refreshing

    Hello!
    I don't know if this is the right place to ask my question, so forgive me, if not.
    I'm facing a weird problem within excel (2007 and 2013) when I'm trying to refresh or filter data retrieved from a cube (Microsoft Analysis Server 10.0.4000.0). The message is: An error was encountered in the transport layer. The weird part of the problem is
    that it does not show up every time and not for every user. I can access the cube, I can read data from it, the problem appears when I try to add or remove fields, or when I try to refresh the pivot table. And not always!
    There are cases when I try to build up a new pivot table, and the message appears, when I already have selected a couple of fields as filter/row label/column label or value. In these cases sometimes I can skip the problem by deselecting one or more of the already
    selected fields, select a new field, then re-select the previously deselected fields.
    There are other cases when I have a saved pivot table, that can't be refreshed because of the transport layer error. However, the same file with the same user ca be refreshed on an another machine.
    I already have googled around, and I actually found a few forum entries with the same problem, but none of them was answered.
    To narrow down the problem I tried to exclude hardware level network problems, so saved a file, which couldn't be refreshed on my laptop, and I tried to refresh it on a PC. On the PC the refresh worked, so I moved
    my laptop next to this PC, and I connected the laptop to the network using the PC's network cable, and tried to refresh the file this way on the laptop. The refresh was not successful, so I even changed the IP address on the laptop to the IP that was set on
    the PC. I also stopped the antivirus (which actually is identical on the PC and laptop). This way I wanted to ensure, that there is nothing blocking the traffic between the server and the laptop. 
    I also tried to find out, if the problem is user related. So i tried to refresh the file, that couldn't be refreshed on my laptop on the previously mentioned PC with my user. The refresh worked. I also tried to refresh the same file on my laptop with the user
    originally used on the PC. The refresh did not work.
    Thank you!

    Hi,
    It seems a common error.
    There is a note that mentions the error, and was fixed since BI addons SP 8
    Note: 1267942 -  Custom macro not being executed on a workbook
    Download and test the latest version: bi710sp12_1200-10004472.exe
    This should fix the issue.
    FYI: SAPGUI 640 is not supported by SAP since 2008. If you are using this version, please download the SAPGUI 7.10 as well.
    Thanks
    Edward John

  • "Multi-level error propagation carried out" in SCM 5.0

    When I use the SNP PPM Generation With Lot Size Margin function in SCM 5.0, I got the following error:
    Multi-level error propagation carried out
    Message no. /SAPAPO/OM242
    Could you please give me this help?
    Thanks,
    Lian

    Hi,
    Thank you for the information, but the problem is still there though I de-activated all user-exits...
    I also saw the following error:
    Invalid planning version
    Message no. /SAPAPO/OM015
    Thanks,
    Lian

  • Multi-level error propagation carried out Error in APO

    Dear Experts,
    We had developed a custom program that is same as /sapapo/rrp3 report, but the issue is when we use planning version other then 000 the custom program is giving the error ""Multi-level error propagation carried out"" but the RRP3 report works fine with all the planning versions.
    Please help to find the cause and to solve the issue.
    Thanks.
    Regards
    Abhinav Nallani.

    Dear Arek,
          The problem is not yet resolved . we have raised an OSS note for the same.
    as the relevant notes are already implemented in our case.
    regards
    Kiran

  • Error "Multi-level error propagation carried out" when I run a report

    Hi All,
    When I run the report /SAPAPO/CDPS_REPT - Order and Resource Reporting with the below criteria I getting error "Multi-level error propagation carried out"
    Planning Version - Simulation Version XXX
    Evaluation Start - 05/03/2011
    Evaluation End - 12/31/2013
    Evaluation List - Extended Operation List
    I do not get error when I run the report with selection as Active version 000 and Evaluation List as Order List, Operation List.
    I have tried by ruuning Live cache consistancy check, but the issue is not fixed
    Please help me to resolve this issue
    Thanks & Regards,
    Rajkumar

    Hi Jack,
    Please do post the server log file here so that we can try and find a solution for the problem you are facing.
    I had a problem a while ago with the app server too. While trying to run an application, after a few times, it would give me an error message saying the Application Server cannot be started. I rebooted my machine and thankfully it worked again. Just try this too and see if it works.
    If it doesnt we can go through the server log and try to identify the cause of the problem.
    Cheers :-)

  • CIF error-Multi-level error propagation carried out

    Dear ALL,
        When i am trying activate the integration model for Material transfer it generates queue with status SYSFAIL with message "Multi-level error propagation carried out".
    and the integration model is not activated.
      please help
    regards
    Kiran

    Dear Arek,
          The problem is not yet resolved . we have raised an OSS note for the same.
    as the relevant notes are already implemented in our case.
    regards
    Kiran

  • Multi-level error propagation during the execution of CFM2 transaction

    Hi,
    We are implementing SAP SCM 5.0 integrated to SAP R/3 Mills IS.
    During the execution of CFM2  transaction, while  trying to activate the integration model for the object u201COrdersu201D for the very first time, the following error message appears:
    *"Multi-level error propagation carried out".*
    There are also messages related to inbound queues blocked. In the case of maintenance orders, CIF_MNT_INBOUND message shows up. While working with Production orders, CIF_ORDER_INBOUND message emerges.
    The items listed below should be taken into account:
    -The production orders that are meant to be transferred to APO are regular production orders corresponding to several products.
    -We are working with configurable materials.
    -We are working with the active model (000) and for each plant we are using 2 different planning versions.
    Regards,
    Analía Nahmías

    Dear Analía,
    The corresponding error messages issued when executing //CCR indiacted the peg-ids are missing in liveCache.
    Recommendations:                                                      
    -Run transaction /SAPAPO/OM17 to check the internal consistency between database and liveCache within SCM system. Correct the inconsistencies                                                       
    -Execute report /sapapo/cif_deltareport3 to correct the inconsistencies between ECC and SCM system                            
    Regards,
    Tibor

  • Database-level error reported by JDBC driver

    Hi everyone,
    I get an error in my Sender JDBC adapter. I am executing a stored procedure every minute. In total I have 34 JDBC senders for every different database. The error is like below. The problem is in Alert Inbox I cant see the rest of the message. This error occures just once every hour (average). I dont know why and I dont know what the rest of the error is saying.
    Any ideas how i can see the rest of the message? And where the error might be?
    Note: In communication channel monitoring everything is green.
    Database-level error reported by JDBC driver while executing statement 'EXEC [TB

    Hi,
    obviously there are concurring accesses to the table your stored procedure is accessing. This is nothing serious, because SAP XI will retry the execution of the stored procedure according to the settings of the communication channels (3times all 5 minutes is the default).  Additionally you can set the repeats in case of SQL errors in the extended tab of the communication channel configuration.
    Tuning the transaction isolation levels might help to avoid the error but can decrease the consistency of the data as well. Default isolation level is always the highest available in a database (in case of SQL Server it should be SERIALIZABLE), so locks might easily occur. I would suggest to have a look at other applications accessing the tables and determine their isolation level.
    All in all, I guess there shouldn't be real problems, because of the repeated execution of you stored procedure, but it's worth to have a look at the isolation level.
    Regards Sven

  • HTTPS (Transport Level Security)

    Hi SDNers,
    I have a question regarding securing a SOAP Sender scenario using HTTPS. We are on PI 7.11 and have a SOAP-PI-RFC scenario. I have used a HTTP Sender instead of a SOAP channel to configure the option of 'HTTPS without Client Authentication'. I have generated the WSDL for this and tested successfully using SOAP UI.
    But our client needs a SSL certificate for this. As far as I understand SSL certificates are used only for message level security. But here they are OK with just transport level security. Do we need any certificates in this case? Please clarify.
    Another question I have is, is there any way of using HTTPS (transport level security) using SOAP Sender adapter? The option of 'HTTPS without Client Authentication' is not available anymore from PI 7.1 SP1 onwards. That is the reason I used a HTTP sender adapter.
    Any help is much appreciated  <text removed>
    Thanks & regards,
    Sudheer
    Edited by: Matt on Oct 12, 2011 6:49 AM

    Hi Abhishek,
    I am not able to see that option in the SOAP Sender channel configuration. Besides, the help link from SAP also does not show this option.
    Here is the link for EHP1:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/3555240bea31c3e10000000a42189d/content.htm
    and here is the link you gave,
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/fc/5ad93f130f9215e10000000a155106/content.htm
    Clearly, both are for configuring the sender SOAP channel, but the options are different if you notice.
    I am not able to understand where I am going wrong.
    Appreciate your quick response.
    Regards,
    Sudheer

  • How to fix the field level Error(Invalid Date)

    Hi All,
    Error: 1 (Field level error)
      SegmentID: ACK
      Position in TS: 5
      Data Element ID: ACK05
      Position in Segment: 5
      Data Value: 162014
      8: Invalid Date
    can anyone help me out, How to fix above error? i searched about this but only information about the error  is given and no where it is mentioned how to fix it  and how is it generated please help me out.
    Thanks,
    Nitish

    Are you sending or receiving the EDI?
    Either way, "162014" is simply not a valid EDI data format.  Dates in x12 are expressed as CCYYMMDD so December 30, 2013 would appear as 20131230.
    If you are receiving, you need to contact the sender and have them correct the output.
    If you are sending, you need to property format that date value.  For example:
    myDateVar.ToString("yyyyMMdd");

  • JDBC: Database-level error

    Hi Folks,
         I'm trying a JDBC to JDBC scenario and I'm getting the following error.
    *Database-level error reported by JDBC driver while executing statement 'select * from EMPLOYEE where flag = 'X'.'. The JDBC driver returned the following error message: 'java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'flag = 'X'.'.'. For details, contact your database server vendor.*
      My select statement is  : select * from employee where flag = 'X'.
    Regards,
      Santosh

    Hi,
    Try with following sql query.
    select * from employee where flag = "X".
    Hope this helps.
    Thanks and Regards,
    Kalpesh

Maybe you are looking for