15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


CDaoDatabase.Open() fails

Ramachandra Rao -- chandu@ampersand.soft.net
Wednesday, November 13, 1996

Environment:  NT 3.51  VC++ 4.0  ACCESS 2.0

Hi
	I am trying to open a database by CDaoDatabase.Open() only to get an
assertion. The Workspace is supposed to be created implicitly but it
fails to do so. When I tried to trace the error I noticed that
InitializeEngine() in InitWorkspace() is failing. This happens
continuously irrespective of the database (Access 2.0) .The craziest
thing about this is that it was working on all the other machines and it
worked countless times on my machine before it started behaving funnily.
This happened in 2 machines and the only solution we found out was to
reinstall VC++ again.The database is not corrupted.
	Anyone out there with a solution up their sleeve ?

Thanks
Chandu




Mike Blaszczak -- mikeblas@nwlink.com
Thursday, November 14, 1996

At 09:30 11/13/96 +0530, Ramachandra Rao. S wrote:
>Environment:  NT 3.51  VC++ 4.0  ACCESS 2.0

>	I am trying to open a database by CDaoDatabase.Open() only to get an
>assertion.

Which assertion do you get?  Specifically?  Like, which file and line number
does the assertion happen on?

Did you _really_ expect to get a useful answer without supplying
that information with your question?

>The craziest
>thing about this is that it was working on all the other machines and it
>worked countless times on my machine before it started behaving funnily.

Maybe something's wrong with your installation of DAO.  Maybe something's
wrong with your installation of Access.  Does Access work okay?  What
happens if you reinstall DAO?

Since you don't know what assertion you get, exactly, your only choice is
to sit around and guess.

.B ekiM
http://www.nwlink.com/~mikeblas/
I'm afraid I've become some sort of speed freak.
These words are my own. I do not speak on behalf of Microsoft.




Vincent Mascart -- 100425.1337@compuserve.com
Friday, November 15, 1996

>From: 	"Ramachandra Rao. S"
>Subject: 	CDaoDatabase.Open() fails
>Environment:  NT 3.51  VC++ 4.0  ACCESS 2.0
>
>Hi
>	I am trying to open a database by CDaoDatabase.Open() only to get an
>assertion. The Workspace is supposed to be created implicitly but it
>fails to do so. When I tried to trace the error I noticed that
>InitializeEngine() in InitWorkspace() is failing. This happens
>continuously irrespective of the database (Access 2.0) .The craziest
>thing about this is that it was working on all the other machines and it
>worked countless times on my machine before it started behaving funnily.
>This happened in 2 machines and the only solution we found out was to
>reinstall VC++ again.The database is not corrupted.
>	Anyone out there with a solution up their sleeve ?
>
>Thanks
>Chandu

Check if the DAO engine is correctly registred. If not, you can use Regsvr32 to
register it again.

Vincent Mascart
100425.1337@compuserve.com






| Вернуться в корень Архива |