.NET Framework Bookmark and Share   
 index > 64-Bit .NET Framework Development > OWC problems with W2K3 64 bits
 

OWC problems with W2K3 64 bits

Hi all,

My OS is windows server 2003 R2 64 bits. I start to use vb.net express 2008 and try to use OWC 2003.

The error are

(HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

How can i solve this ?
$____ Your Experience !!! www.laertejuniordba.spaces.live.com
LPJ
You are trying to use 32-bit COM components on a 64-bit operating system. You'll need to force your VB.NET program to run in 32-bit mode, it will run in 64-bit mode by default. Unfortunately, that's difficult with the Express edition, the required Target Platform setting in the Compile properties tab is not available. All that you can do is use the Corflags.exe utility from the Windows SDK to force the 32BIT flag. That's quite inconvenient, consider getting the retail license to get ahead.

Hans Passant.
  • Marked As Answer byLPJ Wednesday, August 26, 2009 6:32 PM
  •  
nobugz
You are trying to use 32-bit COM components on a 64-bit operating system. You'll need to force your VB.NET program to run in 32-bit mode, it will run in 64-bit mode by default. Unfortunately, that's difficult with the Express edition, the required Target Platform setting in the Compile properties tab is not available. All that you can do is use the Corflags.exe utility from the Windows SDK to force the 32BIT flag. That's quite inconvenient, consider getting the retail license to get ahead.

Hans Passant.
  • Marked As Answer byLPJ Wednesday, August 26, 2009 6:32 PM
  •  
nobugz
Thanks a lot nobugz...

There“s a way to download only this corflags.exe ?
$____ Your Experience !!! www.laertejuniordba.spaces.live.com
LPJ
No, you need the entire SDK.

Hans Passant.
nobugz
Just one question nobugz,

I have in my computer .net 2.03 and 3.5 sp1..

Wich sdk I can download ?...


$____ Your Experience !!! www.laertejuniordba.spaces.live.com
LPJ
It doesn't matter, the Windows SDK is independent from .NET. Get the latest.

Hans Passant.
nobugz
Thanks a lot man...
$____ Your Experience !!! www.laertejuniordba.spaces.live.com
LPJ

You can use google to search for other answers

Custom Search

More Threads

• ActiveX control on the ie64 in Vista
• Itanium Web Services
• Libraries for 64 bit development in Visual Studio 2008
• VS 2005 hardware: AMD or Intel?
• 32 bits DLL error on 64 bits server
• Microsoft.Office.Interop.Access.Application 64 bit
• ImageList and BadImageFormatException
• ActiveX Controls Throwing Errors
• 32 bit .NET 2.0 application is not looking under Wow6432node under HKLM\Software
• Any solution for platform target in WPF Browser Application?