Class not registered: 0x80040154

S

stocki

Hi everybody,

An OWC Spreadsheet is placed on a windows form in my C# project. This
application was written on a XP 32bit machine and is working smoothly
meanwhile. Thanks to a great support in this board!

Now I had the chance to install XP 64 on one of my machines and was
curious whether my app would work on that as well. After installing
the OWC from the MS Homepage, the build of the application went fine.
When I started it in the IDE it highlighted the line:

((System.ComponentModel.ISupportInitialize)
(this.axSpreadsheet1)).EndInit();

the message is.

Message="Class not registered (Exception from HRESULT: 0x80040154
(REGDB_E_CLASSNOTREG))"
Source="System.Windows.Forms"
ErrorCode=-2147221164
StackTrace:
at
System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid,
Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)

I browsed the internet without any luck. There was a little bit about
SQL Server, but that was about it. If you have any idea it would be
great if you can share it with me.

Cheers

Stocki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top