Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / SQL Server / ADP / February 2006

Tip: Looking for answers? Try searching our database.

'Insufficient base table information' using ADP's connectionstring

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ocliff - 21 Feb 2006 13:21 GMT
Hi,

I'm adding and updating some rows in my ADP. I get an error on rs.Update...
(ADODB)

Does anyone know why I get the 'Insufficient base table information'-error
when I use the ADP's connectionstring? (Only when I use a client side cursor.)

CurrentProject.Connection.Connectionstring:

Provider=Microsoft.Access.OLEDB.10.0;Persist Security Info=True;Data
Source=SERVER\INSTANCE;Integrated Security=SSPI;Initial Catalog=DATABASE;Data
Provider=SQLOLEDB.1

This one works:
Provider=sqloledb;Data Source=SERVER\INSTANCE;Initial
Catalog=DATABASE;Integrated Security=SSPI;

Just curious, I would really like to know!
Sylvain Lafontaine - 21 Feb 2006 17:31 GMT
Are you trying to set the connection string directly or if you are calling
CurrentProject.CloseConnection() followed by a call to
CurrentProject.OpenConnection(strConnect, user, password)?

   CurrentProject.CloseConnection
   CurrentProject.OpenConnection connectionString, user, password

And when opening the connection, don't use the version with the
Microsoft.Access.OLEDB.10.0 provider; as this will be set up automatically
by Access.  Access (or ADP) opens three connections (and sometimes more)
when connecting to the SQL-Server and it is possible that with your method,
all these connections aren't set up correctly.

More info:
http://support.microsoft.com/kb/q240293/

http://support.microsoft.com/kb/281784/

Signature

Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF

> Hi,
>
[quoted text clipped - 18 lines]
>
> Just curious, I would really like to know!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.