Solved

SQL Server 2000 VDI Backup fails in 64 Bit architecture

Posted on 2007-03-28
8
402 Views
Last Modified: 2013-11-29
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.
0
Comment
Question by:Kanchipuramdeena
  • 3
  • 3
8 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
Comment Utility
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
 
LVL 1

Author Comment

by:Kanchipuramdeena
Comment Utility
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
 
LVL 86

Expert Comment

by:jkr
Comment Utility
Actually, my suggestion was about registering a 64bit version of that DLL...
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Author Comment

by:Kanchipuramdeena
Comment Utility
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
 
LVL 1

Author Comment

by:Kanchipuramdeena
Comment Utility
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
 
LVL 86

Expert Comment

by:jkr
Comment Utility
>>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
 
LVL 1

Expert Comment

by:Vee_Mod
Comment Utility
Force accepted.
Vee_Mod
Community Support Moderator
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now