--
Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
"Erland Sommarskog" wrote:
> .
>
One idea is to take out one attribute at a time, until you get a different
error message.
And, try this: change SQLNCLI to BOGUS. If it now does not scream about
a non-existing provider, you are not using the connection string you
think you are.
Just to clarify I have 6 objects (1 used in ASP and 5 in COM+) that were
compiled using the same Database code “module”. They all use the same
connection string which is stored in a text file. I verified this by
changing the provider to “BOGUS” as recommended. I then removed one
parameter at a time and based on which parameter got the appropriate error
message. I should note that the password is blank but yet we include the
“pwd=;” parameter. I don’t think this is the issue since the other objects
are working fine. I should also mention that the error occurs
intermittently. I would say at a rate of 1 error to 6 requests. Any more
suggestions would be greatly appreciated.
"Erland Sommarskog" wrote:
> .
>
Hm, can you log from ASP what connection string you actually get?