SQL Server 2000 VDI Backup fails in 64 Bit architecture

Hi,

The VDI backup of SQL Server 2000 in 64 bit architecture fails while
creating the instance of CoCreateInstance with the error
REGDB_E_CLASSNOTREG. But the exe built in 32 bit was successful in 64
bit architecture.

Any comments on this will be appreciated.
LVL 1
KanchipuramdeenaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jkrCommented:
I'd start with finding out which class it is that is reported as not registered and check which COM server DLL contains that class. Once that is known, the problem should be solved by registering it like

regsvr32.exe mydll.dll

(don't get confused, the 64bit version is indeed also called regsvr32.exe, see http://support.microsoft.com/?kbid=282747 - "Error Message When You Run Regsvr32.exe on 64-Bit Windows")
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KanchipuramdeenaAuthor Commented:
Hi jkr,
Thanks for your reply. Registering dll was successfull. But even after registering the dll the backup fails with 64 bit exe.

Loading sqlvdi.dll seems to be problem by the 64 bit exe.
Found the reason for this failure as 64 bit exe cannot load the 32 bit dll by following the url :-
http://www.codeproject.com/system/64BitOSAndPortingIssues.asp 
with content
'Why a 64 bit app cannot load a 32 bit DLL while a 32 bit app loads 64 bit DLLs'
0
jkrCommented:
Actually, my suggestion was about registering a 64bit version of that DLL...
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

KanchipuramdeenaAuthor Commented:
If 64 bit version of that sqlvdi.dll is registered, then will there be a compatibility issues with other dll's with that of the newly registered one. Do i need to unregister the 32 bit sqlvdi.dll before registering the 64 bit sqlvdi.dll. Will this solve the problem????
0
KanchipuramdeenaAuthor Commented:
I believe there is no way to load a 32 bit dll using 64 bit application or loading 64 bit dll using 32 bit application. Hence closing this question
0
jkrCommented:
>>Do i need to unregister the 32 bit sqlvdi.dll before registering the 64 bit
>>sqlvdi.dll. Will this solve the problem????

Both should not interefere, yet to be on the safe side, unregistering shouldn't cause any trouble (unless you are on a 32bit-OS, which you aren't).
0
Vee_ModCommented:
Force accepted.
Vee_Mod
Community Support Moderator
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.