Solved

SQL Server 2000 VDI Backup fails in 64 Bit architecture

Posted on 2007-03-28
8
406 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
ID: 18808486
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
ID: 18823366
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
ID: 18826434
Actually, my suggestion was about registering a 64bit version of that DLL...
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 1

Author Comment

by:Kanchipuramdeena
ID: 18834576
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
ID: 20820804
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
ID: 20821152
>>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
ID: 20901891
Force accepted.
Vee_Mod
Community Support Moderator
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

776 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