Board index » delphi » ADO works fine somethimes, but fails sometimes also...

ADO works fine somethimes, but fails sometimes also...

I user ADO components to connect to SQL Server 7. But sometimes it raises an exception. The exception
message is [DBNMxxx]Access Denied. But it works fine sometimes. Anybody know why does this happen
and how to solve it?

 

Re:ADO works fine somethimes, but fails sometimes also...


Could it be a permission issue?   If you're going through an ODBC OLEDB
driver, check the type of Authenticity setup in the ODBC DSN configuration
.. NT or SQL Authentication...

Quote
> I user ADO components to connect to SQL Server 7. But sometimes it raises

an exception. The exception
Quote
> message is [DBNMxxx]Access Denied. But it works fine sometimes. Anybody

know why does this happen
Quote
> and how to solve it?

Re:ADO works fine somethimes, but fails sometimes also...


Quote
> message is [DBNMxxx]Access Denied.

This error is raised by the SQL Server client lib. and it means
that you are trying to access an object in the database for which
your current user account has no permission.

HTH
--
V. Nazarov
IT Manager, Sofia Cable

Other Threads