ankitysl
August 31st, 2000, 10:17 AM
Can anyone tell me what could be the reason for this error
Code Meaning: IDispatch Error # 3149
Source : Microsoft JET Database Engine
Description: Cannot start your application. The work group information file is missing or opened exclusively by another user.
The C++ executable is in G:\Inetpub\wwwroot\cgi-bin director and the Access database too is in the same directory.Its on a server ...
The code is:
char *csConn = "Provider=Microsoft.JET.OLEDB.4.0;Data source =db1.mdb";
_bstr_t strcnn(csConn);
pC.CreateInstance(__uuidof(Connection));
// pC->Open("DSN=db1;UID=ankit;PWD=ankit","","",-1);
pC->Open(strcnn,"Admin","",-1);
Code Meaning: IDispatch Error # 3149
Source : Microsoft JET Database Engine
Description: Cannot start your application. The work group information file is missing or opened exclusively by another user.
The C++ executable is in G:\Inetpub\wwwroot\cgi-bin director and the Access database too is in the same directory.Its on a server ...
The code is:
char *csConn = "Provider=Microsoft.JET.OLEDB.4.0;Data source =db1.mdb";
_bstr_t strcnn(csConn);
pC.CreateInstance(__uuidof(Connection));
// pC->Open("DSN=db1;UID=ankit;PWD=ankit","","",-1);
pC->Open(strcnn,"Admin","",-1);