Problems connecting to database

Results 1 to 2 of 2

Thread: Problems connecting to database

  1. #1
    Join Date
    Dec 1969

    Default Problems connecting to database

    Hi, I have problems connecting to a SQL Server database, I get this errmsg:<BR><BR>Microsoft OLE DB Provider for SQL Server error &#039;80004005&#039; <BR><BR>[DBMSSOCN]General network error. Check your network documentation. <BR><BR><BR>The connection code is this:<BR>Set conn = Server.CreateObject("ADODB.Connection")<BR>conn.Co nnectionString = "Provider=SQLOLEDB.1; Data Source=JOSVA; Initial Catalog=dbTest001; User ID=sa "<BR>conn.Open<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Problems connecting to database

    seems like a hardware or network problem to me. Your code seems fine. Unless you need a password. But a missing password wouldn&#039;t return that error anyways. Gotta be network or hardware. Check the SQL Server Network policies.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts