Groups | Blog | Home
all groups > inetserver asp general > september 2004 >

inetserver asp general : Help with connection to dababase.


admin NO[at]SPAM wirelesscybercafe.com
9/20/2004 9:59:08 AM
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
Login failed for user 'kingkong'. Reason: Not associated with a
trusted SQL Server connection.
/samples/db_paged_search.asp, line 84

below is my connection string.

cnnSearch.Open "Provider=SQLOLEDB;Data Source=192.168.1.100;" _
& "Initial Catalog=testdbs;User Id=userid;Password=password;" _
& "Connect Timeout=15;Network Library=dbmssocn;"
Bob Barrows [MVP]
9/20/2004 1:33:09 PM
[quoted text, click to view]

Your error is covered in this article:
http://www.aspfaq.com/show.asp?id=2009

HTH,
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Frederic
9/20/2004 9:49:59 PM
wow great link. thanks didn't know www.aspfaq.com

--
Frederic
MCP, IT Project+, i-Net+, CIW Associate, A+
----------------------------------------------------------------------------
http://fredsfastcram.netfirms.com
----------------------------------------------------------------------------

[quoted text, click to view]

AddThis Social Bookmark Button