.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

transport layer error

Posted By:      Posted Date: October 19, 2010    Points: 0   Category :Sql Server


We have an issue when exporting an olap report as a .gif file by using OWC 2003 object. To export we are using 'ExportPicture' method of OWC object.  But we are getting following error


- An error was encountered in the transport layer.
- The peer prematurely closed the connection


We are using SSAS 2005 server.

We already tried some attempts, but they did not help:

  • The IE in client side already set : Enable Access Data Sources across domains in Security Settings
  • The connection string from OWC to Data Source is:
  • We are using MSOLAP.3 provider.
  • On Server Side, in SQL Native Client Configuration, the TCP/IP is set Enabled
  • Microsoft SQL Server 2005 Analysis Services 9.0 OLE DB Provider is already on the ssas 2005 server.
  • In the server side, in Registry, below HKEY_CLASSES_ROOT \ MSOLAP \ CLSID has the same value with HKEY_CLASSES_ROOT \ MSOLAP.3 \ CLSID

Any suggestions on how to proceed.

View Complete Post

More Related Resource Links

Transport Level Error

Hello,I have a ASP.NET 2.0 based web application. At a certain point, I restore a specific MS Sql Server Database from a previously saved backup. The restore works perfectly, however, when I try to access the application again I encounter this error:A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)If I just refresh the page, or in other words, I wait for a few moments and then access the web application, it works just fine. I am at a fix understanding as to what may be causing this. I have gone through couple of other posts in this forum and other material on the internet talking about Connection Pools and so on. At the end, I am still unable to resolve this issue? Should I stoop to a lower level and just add some sort of delay after the restore is done, so that the user will never (hopefully) encounter the above said hiccup, or is there a smarter way to deal with this?Also, I am using NetTiers template to access my MS Sql Server database.Any suggestions are welcome! Thanks!

A transport-level error has occurred when sending the request to the server. (provider: TCP Provider


Hi all,

I use Asp.Net 2.0 and SQL server 2000 and I get the above error in my site.I went through the other posts and reply.It is said to clear the connection pools.So i need a clear view what that will do.When should i actually clear it.Will Clearing the pools introduce any other problem or is there any othere solution for this. Please help me in solving this.



BCP Error user api layer: external error: A data length of 40 exceeds the maximum length allowed for


A client using our product that uses SQL Express for its database is getting an error during a BCP OUT command. The error is

CTLIB Message:  - L1/O1/S1/N138/1/0:

: user api layer: external error: A data length of 40 exceeds the maximum length allowed for password data

None of our other client installs get this error so we are assuming it is security related.


Does anyone know where to configure this?

Also, if we change the password to something smaller, we then get a different error saying the server cannot be found even though it is there. We are again assuming this is security related.


I have no idea where to look to figure this out. I was hoping for some sort of SQL error number but none was provided in the error message.







ADO NET A transport-level error has occurred when sending the request to the server. (provider: TCP


When i fill my sql adapter      daAuthors.Fill(dsPubs, "MyTable")

sometime i get

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.) 

What can couse the trouble thanks

Error in Bing map layer


Hi All,


I am new to SSRS and I am currently working on the map control. In the map wizard I have selected the add Bing map layer and in the design time as well as in preview, I am able to view this Bing map layer. But when I deploy it in IE, I am not able to view this Bing map layer.


I get an error “Cannot connect to the remote server.”


Please help.




Inconsistent Transport-level error, drivin' me nuts!


While on my local machine, the site works as expected, on my remote shared host I intermittently get this error on random pages (both local and remote site are connected to the same remote sql server, with the same connectionstring in web.config).

I'm using ASP.NET 3.5 and SQL SERVER 2005

Thanks in advance for any help

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.)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SqlException (0x80131904): A transport-level error has occurred when sending the r

Intermittent error . Unable to read data from the transport connection: An existing connection was f

We have a web application which uses sp lists web service.
1. We have a resume database (Document Library) in sharepoint
2. A .Net application uses Lists.asmx and updates the resumes DL everyday for any changes which are tracked in the Employees Database this is a table which has inforamtion of employees for changes in a seprate Database

Query/Connection/Connect unavailable after "a transport-level error has occurred"


In SSMS for SQL Server 2008, when I leave a connection open overnight to a remote server, I occasionally get disconnected.  This is OK, and it's not the issue.  I know there are several reasons that can cause this, such as the remote server could have been rebooted.

The problem is that once this happens, under the Query menu item, in the Connection sub-item, the Connect item is greyed out -- so I can't try to reconnect in the same window.  I also have a Connect icon on the toolbar, and it is greyed out also.  This query window is now dead. 

If I open a new query window, I can connect with no problem, but I have to copy any temporary SQL code I was working with from the now-useless original query window, into the new one.

Why would the Connect item become permanently unavailable?  SQL 2005 didn't do this.  I have installed the latest CU on SQL Server client tools (SSMS says the client tools are at 10.0.4270.0).  Client is on Windows 7 Pro x64.

Thanks for any info.

A transport-level error has occurred when receiving results from the server.(provider:TCP Provider,e



I am using SQL Server 2005,

while trying to retrieve data from the database; I am getting the following error:

 A transport-level error has occurred when receiving results from the server. (Provider: TCP Provider, error: 0 - The handle is invalid.)

 But I am getting this error randomly.

 Can some one help me out?
 Waiting for your response


IsapiModule Error 500 Issue


I am about exhausted trying to figure out this error:

HTTP Error 500.0 - Internal Server Error

Description: The page cannot be displayed because an internal server error has occurred.

Error Code: 0x8007007b

Notification: ExecuteRequestHandler

Module: IsapiModule

Requested URL: http://localhost:80/ReportServer

Physical Path: c:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer

When I enable Failed Request Tracing Rules and view the log output I am supposing that the actual problem is in the 2nd call where there are 2 backslashes before the actual filename in the specified path:


CALL_ISAPI_EXTENSION DllName="C:\Windows\Microsoft.NET\Framework\v2.0.50727\\aspnet_isapi.dll"


Handling 404 page not found with Error page



      How do i handle 404 page not found?

Inserting personal error message in ValidationSummary



I am creating a web form that requires a lot of validation. I use many of the validation control in asp.net already like RequiredFieldValidator and CompareValidator. 

My Problem: after my custom validation for the value entered return an error message, and I pressed enter key when the field is empty, my custom error message is overlapped by my ValidationSummary. 

Setting my custom error to visible = false on button click also does not seem to work as it requires for me to enter the value first.

This made me think, is there a way to insert my custom validation inside the ValidationSummary as an error message like for other validation control?

Thanks in advance

Sys.Net.WebServiceFailedException: The server method '' failed with the following error:



Let's say we have 2 time consuming functions, aaa and aaa1 inside a aspx page.

        public static string aaa(int i)
            return i.ToString();

        public static string aaa1(int i)
            return i.ToString();



        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
        <span id="displayspan"></span>
        <br />
        <input type="button" value=

Jscript error: Object does not support property or method


 Hi, i have little knowledge on javascript but i need to use this code get from somewhere for a jquery to work.

I face this "Jscript runtime error: Object does not support property or method" whenever im trying to run this page.

In my experience, im get this error msg 9 out of 10 times i use javascript in my system.

Im using Microsoft Visual web developer 2008, i wonder if this is related to my problem, i not sure there is anything i need to add as reference or update anything.

But anyway, in short, i just couldn't use javascript code when using this development tool because of this sort of error.

Anyway, it happen that last time i tried use the same type of jquery code in another project and it seems to work well without an error.

But now when im try to use it again in this recent project i created, it come out with this error and i have no idea how to solve it even look through google and this forum.

It doesn't really seems like its the code problem itself although im not sure, because any javascript code just couldn't work.

So below is my code that i need to use.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script>
<script type="text/javascript" src=&quo

Type or namespace error.


A couple of days ago I started getting an unusual behavior when compiling Website projects. I have referenced class libraries added to my bin folder that are also correctely referenced in using statements in my aspx.cs code behind. When I compile, I get the 

Error 4 The type or namespace name 'CommonClassLibrary' could not be found (are you missing a using directive or an assembly reference?) C:\Dev\Fiscal_Portal\Implementation\FMS Portal Site_new\App_Code\BLL\DataTables.cs 1 7 C:\...\FMS Portal Site_new\

The type or namespace name 'CommonClassLibrary' could not be found (are you missing a using directive or an assembly reference?)

error message that would typically be received when the dll has not been added as a reference or added in a using statement.

I can eliminate the error by adding an


HTTP Error 403 - Forbidden


(VB Express website directed me to ASP.NET Web Services which in turn redirected me to this forum).

 Hopefully someone can help me here...... 

I am using VIsual Web Developer and downloaded the small business application to use as a starting point to help my wife get a website up for her small business. When I load the application, I can F5 and it runs fine but as soon as I make any modification to the app and hit F5, I get the HTTP Error 403 - Forbidden when it tries to show the website.

I notice a pop up that occurs when I run that allows me to choose the link for my app and it displays correctly (I close the webpage that has the error on it).

This seems like a pain, is there a setting I'm missing - I would think that this should "just work".

What's up?????



Webmatrix error


When i try to do anything in webmatrix it shuts down.   i get this error in the log

pplication: WebMatrix.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Unrecoverable system error.
   at System.Environment.FailFast(System.String)
   at MS.Internal.Invariant.FailFast(System.String, System.String)
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend