i saw a similar post from last year, but i didnt see any clear
solution. the error message:
"A connection was successfully established with the server, but then an
error occurred during the login process. (provider: TCP Provider,
error: 0 - The specified network name is no longer available.)
Exception Details: System.Data.Sql Client.SqlExcep tion: A connection was
successfully established with the server, but then an error occurred
during the login process. (provider: TCP Provider, error: 0 - The
specified network name is no longer available.)"
....it would appear to have something to do w/ SQL Server connectivity.
when i get it, i get it repeatedly. however, if i go to a non-db page,
then page to a db-page, it's cleared up.
i am running ASP.NET 2.0, on a commerical hosting environment
( www.datapacket.net), w/ a SQL 2000 server. no problems in dev, usually
works in this prod env.
any ideas what would cause this strangeness?
thanks,
matt 3 13969
Do a google search for
"Network Library"
"dbmssocn"
You can add some extra "hints" to the connection string, which might help.
You should post your connection string to the group, so it can be evaluated
also.
<ma************ *@shell.com> wrote in message
news:11******** **************@ i39g2000cwa.goo glegroups.com.. . i saw a similar post from last year, but i didnt see any clear solution. the error message:
"A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)
Exception Details: System.Data.Sql Client.SqlExcep tion: A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)"
...it would appear to have something to do w/ SQL Server connectivity. when i get it, i get it repeatedly. however, if i go to a non-db page, then page to a db-page, it's cleared up.
i am running ASP.NET 2.0, on a commerical hosting environment (www.datapacket.net), w/ a SQL 2000 server. no problems in dev, usually works in this prod env.
any ideas what would cause this strangeness?
thanks, matt
connection string:
<connectionStri ngs>
<add name="FooBar"
connectionStrin g="server=x.x.x .x; database=FooBar ; UID=foo; Pwd=bar"
providerName="S ystem.Data.SqlC lient"/>
</connectionStrin gs>
sloan wrote: Do a google search for
"Network Library" "dbmssocn"
ok can you be a littler more specific here (or, even, completely
clear)? i found some links that indicate this is a way one can set the
network library via the conn string: http://support.microsoft.com/kb/q238949/
and the 2nd post here: http://www.mcse.ms/archive85-2004-10-1155447.html
....says "dbmssocn" is the TCP/P network library and "dbnetlib" is the
new.
but, i have no idea what network libraries are, or why id want to use
them. none of the ASP.NET 2.0 articles/docs/code examples ive come
across specify a network library in the conn strings. what are these?
why did you refer them to me? are you aware of ongoing connection
difficulities if specifiying one is omitted?
thanks,
matt This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ray Valenti |
last post by:
I am able to preview this data in the development environment, but when I
run the application the error below shows up.
How do I set up a Trusted Connection?
-Ray
Server Error in '/WebApplication2' Application.
----------------------------------------------------------------------------
----
|
by: rrober07 |
last post by:
Hello,
My Setup is I have a Web Server machine(Devweb01), Database SQL
Machine(Devsql01), a Client Machine(local machine) I have configured the
SQL machine as follows:
1) Added local Aspnet user account (with same password as aspnet user on IIS
(Devweb01))
2) edited local machine.config file <ProcessModel> Password attribute to
same password (both on IIS and SQL Machine)
3) SQL Server security is Sql Server and Windows
|
by: Keith Norris |
last post by:
I cannot successfully create a connection object in a web form. In the
page_load event I try the following code:
Dim sConnection As String = "server=MIDATLANTICUS;" & _
database=Pubs;integrated security=SSPI"
Dim conTest As New SqlConnection
conTest.ConnectionString = sConnection
conTest.Open()
conTest.Close()
|
by: embers_fire |
last post by:
Does anybody know what might cause this error? I rebooted a server
today running an asp.net 2.0 beta application and when it came back
online, this error occured
Exception Details: System.Data.SqlClient.SqlException: A connection was
successfully established with the server, but then an error occurred
during the login process. (provider: Shared Memory Provider, error: 2 -
Connection was terminated)
|
by: tony dong |
last post by:
Hi there
I use vs.net 2005 with standard sql 2005 under machine\sql2005 for instant
when I create webpart, the code get from quickstart as follow:
<%@ Page Language="C#" %>
<%@ Register Src="WebPartPageMenu.ascx" TagName="WebPartPageMenu" TagPrefix="uc1" %>
<html>
<head id="Head1" runat="server">
<title>Web Part Page</title>
| |
by: Chris Love |
last post by:
I have already asked this, but no one seems to know the answer. Here is the
timeline. I wanted to use the membership/roles functionality in a site. I
got all sorts of errors trying to get this setup on the site through the
admin interface.
So I yanked it out of the application since it did not work. Now everytime
I load the site after changing the application I get this error message. If
I simply refresh the page, everything works...
|
by: Suresh |
last post by:
Hi Guys
I have Db2 server installed on remote server. i am connecting to that
remote server by using VPN.
I want to connect that remote DB2 server instance using my local
machine DB2 development client. Bur Its gives me following error
message. I searched lots of things on net and tried on remote server
but i didnt got suceess. Can any one tell me how to set TCP\IP
|
by: Ted |
last post by:
In WSAT, I get the following error when trying to set up my provider:
Could not establish a connection to the database.
If you have not yet created the SQL Server database, exit the Web Site
Administration tool, use the aspnet_regsql command-line utility to
create and configure the database, and then return to this tool to set
the provider.
On Windows XP Pro, I am using MS Visual Studio 2005, and I am using
the developer's edition of...
|
by: sahillihas8487 |
last post by:
1.Unable to successfully establish a connection to web-server retrieving URI . "Web-server closing the connection after connection was just established."
2."General un-handled exception occurred during socket I/O read from web-server retrieving URI . Explanation message: 'java.io.IOException: An existing connection was forcibly closed by the remote host.'."
3."Error occurred during connection to server . Explanation message: 'Connection...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |