Re: Class Not registered error
- From: "ekkehard.horner" <ekkehard.horner@xxxxxxxx>
- Date: Wed, 12 Sep 2007 10:24:23 +0200
bhatnagar.alok@xxxxxxxxx schrieb:
Hello All,The single quotes in your connection string look suspicious
In my application i am trying to create access database.
I am creating an instance of catalogptr using "CreateInstance". It
gets created successfully. After that when I create the database using
"Create" function, It gives me an exception saying "Class not
registered".
My connection string is:
"Provider='Microsoft.Jet.OLEDB.4.0';Data Source='d:\info.mdb';" and
the OS i am getting error on is Windows 2003 enterprise edition.
hr = m_pCatalog.CreateInstance(__uuidof(Catalog));
if(SUCCEEDED(hr))
{
m_pCatalog->Create(strConnectionString);
4th line gives the exception.
Can anybody tell me the problem??
Rgds
Alok Bhatnagar
to me. I'd try
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\info.mdb;"
.
- Follow-Ups:
- Re: Class Not registered error
- From: bhatnagar . alok
- Re: Class Not registered error
- References:
- Class Not registered error
- From: bhatnagar . alok
- Class Not registered error
- Prev by Date: Class Not registered error
- Next by Date: Re: Class Not registered error
- Previous by thread: Class Not registered error
- Next by thread: Re: Class Not registered error
- Index(es):