Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #629

server connection

From Fabiof <fabio.folino@gmail.com>
Newsgroups comp.databases.ms-sqlserver
Subject server connection
Date 2011-08-25 18:22 -0700
Organization http://groups.google.com
Message-ID <bdedf611-d8d5-4556-9872-efbf714be613@o9g2000vbo.googlegroups.com> (permalink)

Show all headers | View raw


I have an interesting issue connecting to ms sql server.

I'm connecting to the server with in a legacy asp application just
fine. The same application has some page in asp but written in
javascript. When I try to connect to the sql server I get the
following error.

Microsoft OLE DB Provider for SQL Server error '80004005'

[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or
access denied.

Here is the connection string. Any help would be appreciated.

	connection_object = Server.CreateObject("ADODB.Connection");
	connection_object.CursorLocation = 3;
	connection_object.ConnectionString = "Provider=SQLOLEDB.
1;Password=xxx;Persist Security Info=True;User ID=xxx;Data Source=.
\SQLEXPRESS;initial catalog=xxxx;"

	connection_object.Open();

Thanks.

Back to comp.databases.ms-sqlserver | Previous | NextNext in thread | Find similar


Thread

server connection Fabiof <fabio.folino@gmail.com> - 2011-08-25 18:22 -0700
  Re: server connection Erland Sommarskog <esquel@sommarskog.se> - 2011-08-26 07:29 +0000
  Re: server connection "Bob Barrows" <reb01501@NOSPAMyahoo.com> - 2011-08-26 08:10 -0400
    Re: server connection Mark D Powell <Mark.Powell2@hp.com> - 2011-08-31 13:03 -0700
      Re: server connection Henk van den Berg <me@myplace.net> - 2011-09-01 17:55 +0200

csiph-web