OWC11 Install / Registration issues

E

Ed

On my development machine (WinXP), I downloaded and installed the OWC11.exe. I then created an ASP.NET page that references/imports the OWC11 item. I create a spreadsheet in the code, pipe it out as XML content into another web page that contains the <OBJECT> tag with the OWC11 control to display it. This all works.

I then copy the OWC11.exe to another system, and run it to install on a Win2K Server. Install completes. I then copy my project over to this new system, and attempt to run it. I receive an error stating the the OWC11.ISpreadsheet failed. So, I attempt to manually add the OWC11.exe items into COM+. RegAsm doesn't produce an error. But, no dice. I go into Component Services to manually add the dll to COM+. They all fail to load, saying that the registry failed. So, I attempt to REGSRV32 the dll. Again, I get the dllseverregister error 8002801c

This system "had" the OWC10 controls on it, and working fine...until I went in and screwed them up. Yeah, I know...don't yell, please! LOL. I really want to upgrade them to the OWC11 control. And, when I modified an old ASP page to use the CreateObject("OWC11.Spreadsheet") that fails with the error "Library not Registered

I've checked the registry. There are entries in it for the items (clsid: 0002E559...). I've made sure that "Everyone" has read access to them. I ran regmon when I tried the RegSrv32 on the dll. I've captured a little snipped of it, in case that'll help anyone.

Does anyone have any ideas

Thanks
E


25.58193100 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet.11 NOTFOUND
25.58197712 REGSVR32.EXE:2084 OpenKey HKCR\OWC11.Spreadsheet.11 SUCCESS Key: 0xE2C0A940
25.58200674 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet.11 SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet.11
25.58206145 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet.11 NOTFOUND
25.58208509 REGSVR32.EXE:2084 SetValue HKCR\OWC11.Spreadsheet.11\(Default) SUCCESS "Microsoft Office Spreadsheet 11.0"
25.58211087 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet.11 SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet.11
25.58216271 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet.11\CLSID NOTFOUND
25.58220335 REGSVR32.EXE:2084 OpenKey HKCR\OWC11.Spreadsheet.11\CLSID SUCCESS Key: 0xE295A520
25.58223130 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet.11\CLSID SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet.11\CLSID
25.58228085 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet.11\CLSID NOTFOUND
25.58230304 REGSVR32.EXE:2084 SetValue HKCR\OWC11.Spreadsheet.11\CLSID\(Default) SUCCESS "{0002E559-0000-0000-C000-000000000046}"
25.58233588 REGSVR32.EXE:2084 CloseKey HKCR\OWC11.Spreadsheet.11\CLSID SUCCESS Key: 0xE295A520
25.58236524 REGSVR32.EXE:2084 QueryKey HKCU SUCCESS Name: \REGISTRY\USER\S-1-5-21-26028188-150678075-188441444-16059_Classes
25.58239152 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet NOTFOUND
25.58243035 REGSVR32.EXE:2084 OpenKey HKCR\OWC11.Spreadsheet SUCCESS Key: 0xE295A520
25.58245952 REGSVR32.EXE:2084 CloseKey HKCR\OWC11.Spreadsheet.11 SUCCESS Key: 0xE2C0A940
25.58249882 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet
25.58254866 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet NOTFOUND
25.58257072 REGSVR32.EXE:2084 SetValue HKCR\OWC11.Spreadsheet\(Default) SUCCESS "Microsoft Office Spreadsheet 11.0"
25.58259570 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet
25.58264518 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet\CLSID NOTFOUND
25.58268530 REGSVR32.EXE:2084 OpenKey HKCR\OWC11.Spreadsheet\CLSID SUCCESS Key: 0xE2C0A940
25.58271299 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet\CLSID SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet\CLSID
25.58276206 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet\CLSID NOTFOUND
25.58278366 REGSVR32.EXE:2084 SetValue HKCR\OWC11.Spreadsheet\CLSID\(Default) SUCCESS "{0002E559-0000-0000-C000-000000000046}"
25.58280806 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet
25.58285755 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet\CurVer NOTFOUND
25.58289752 REGSVR32.EXE:2084 OpenKey HKCR\OWC11.Spreadsheet\CurVer SUCCESS Key: 0xE2983660
25.58292716 REGSVR32.EXE:2084 CloseKey HKCR\OWC11.Spreadsheet\CLSID SUCCESS Key: 0xE2C0A940
25.58295754 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet\CurVer SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet\CurVer
25.58300776 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet\CurVer NOTFOUND
25.58302910 REGSVR32.EXE:2084 SetValue HKCR\OWC11.Spreadsheet\CurVer\(Default) SUCCESS "OWC11.Spreadsheet.11"
25.58305868 REGSVR32.EXE:2084 CloseKey HKCR\OWC11.Spreadsheet\CurVer SUCCESS Key: 0xE2983660
 
A

Alvin Bruney [MVP]

find the owc11 dll and re-register it at the command line using the provided
regsvr32 utility. You cannot tell if the object is properly registered just
by looking at registry keys because you don't necessarily know which ones
are missing.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
Ed said:
On my development machine (WinXP), I downloaded and installed the
OWC11.exe. I then created an ASP.NET page that references/imports the OWC11
item. I create a spreadsheet in the code, pipe it out as XML content into
another web page that contains the said:
I then copy the OWC11.exe to another system, and run it to install on a
Win2K Server. Install completes. I then copy my project over to this new
system, and attempt to run it. I receive an error stating the the
OWC11.ISpreadsheet failed. So, I attempt to manually add the OWC11.exe
items into COM+. RegAsm doesn't produce an error. But, no dice. I go into
Component Services to manually add the dll to COM+. They all fail to load,
saying that the registry failed. So, I attempt to REGSRV32 the dll. Again,
I get the dllseverregister error 8002801c.
This system "had" the OWC10 controls on it, and working fine...until I
went in and screwed them up. Yeah, I know...don't yell, please! LOL. I
really want to upgrade them to the OWC11 control. And, when I modified an
old ASP page to use the CreateObject("OWC11.Spreadsheet") that fails with
the error "Library not Registered"
I've checked the registry. There are entries in it for the items (clsid:
0002E559...). I've made sure that "Everyone" has read access to them. I
ran regmon when I tried the RegSrv32 on the dll. I've captured a little
snipped of it, in case that'll help anyone.
Does anyone have any ideas?

Thanks,
Ed




25.58193100 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet.11 NOTFOUND
25.58197712 REGSVR32.EXE:2084 OpenKey HKCR\OWC11.Spreadsheet.11 SUCCESS Key: 0xE2C0A940
25.58200674 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet.11 SUCCESS
Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet.11
25.58206145 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet.11 NOTFOUND
25.58208509 REGSVR32.EXE:2084 SetValue HKCR\OWC11.Spreadsheet.11\(Default)
SUCCESS "Microsoft Office Spreadsheet 11.0"
25.58211087 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet.11 SUCCESS
Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet.11
25.58216271 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet.11\CLSID NOTFOUND
25.58220335 REGSVR32.EXE:2084 OpenKey HKCR\OWC11.Spreadsheet.11\CLSID SUCCESS Key: 0xE295A520
25.58223130 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet.11\CLSID
SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet.11\CLSID
25.58228085 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet.11\CLSID NOTFOUND
25.58230304 REGSVR32.EXE:2084 SetValue
HKCR\OWC11.Spreadsheet.11\CLSID\(Default) SUCCESS
"{0002E559-0000-0000-C000-000000000046}"
25.58233588 REGSVR32.EXE:2084 CloseKey HKCR\OWC11.Spreadsheet.11\CLSID SUCCESS Key: 0xE295A520
25.58236524 REGSVR32.EXE:2084 QueryKey HKCU SUCCESS Name: \REGISTRY\USER\S-1-5-21-26028188-150678075-188441444-16059_Classes
25.58239152 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet NOTFOUND
25.58243035 REGSVR32.EXE:2084 OpenKey HKCR\OWC11.Spreadsheet SUCCESS Key: 0xE295A520
25.58245952 REGSVR32.EXE:2084 CloseKey HKCR\OWC11.Spreadsheet.11 SUCCESS Key: 0xE2C0A940
25.58249882 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet SUCCESS
Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet
25.58254866 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet NOTFOUND
25.58257072 REGSVR32.EXE:2084 SetValue HKCR\OWC11.Spreadsheet\(Default)
SUCCESS "Microsoft Office Spreadsheet 11.0"
25.58259570 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet SUCCESS
Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet
25.58264518 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet\CLSID NOTFOUND
25.58268530 REGSVR32.EXE:2084 OpenKey HKCR\OWC11.Spreadsheet\CLSID SUCCESS Key: 0xE2C0A940
25.58271299 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet\CLSID
SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet\CLSID
25.58276206 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet\CLSID NOTFOUND
25.58278366 REGSVR32.EXE:2084 SetValue
HKCR\OWC11.Spreadsheet\CLSID\(Default) SUCCESS
"{0002E559-0000-0000-C000-000000000046}"
25.58280806 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet SUCCESS
Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet
25.58285755 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet\CurVer NOTFOUND
25.58289752 REGSVR32.EXE:2084 OpenKey HKCR\OWC11.Spreadsheet\CurVer SUCCESS Key: 0xE2983660
25.58292716 REGSVR32.EXE:2084 CloseKey HKCR\OWC11.Spreadsheet\CLSID SUCCESS Key: 0xE2C0A940
25.58295754 REGSVR32.EXE:2084 QueryKey HKCR\OWC11.Spreadsheet\CurVer
SUCCESS Name: \REGISTRY\MACHINE\SOFTWARE\CLASSES\OWC11.Spreadsheet\CurVer
25.58300776 REGSVR32.EXE:2084 OpenKey HKCU\OWC11.Spreadsheet\CurVer NOTFOUND
25.58302910 REGSVR32.EXE:2084 SetValue
HKCR\OWC11.Spreadsheet\CurVer\(Default) SUCCESS "OWC11.Spreadsheet.11"
 
E

Ed

I have tried that. . I get the message
"DLLServerRegister in owc11.dll failed. Return code was 0x8002801c

Every where I searched on the next for that error code, it states to give "everyone" read permission to the key. But, "everyone" has access to the key, the best I can determination

I've tried it from the Start--Run window, and from the "cmd" window

E

----- Alvin Bruney [MVP] wrote: ----

find the owc11 dll and re-register it at the command line using the provide
regsvr32 utility. You cannot tell if the object is properly registered jus
by looking at registry keys because you don't necessarily know which one
are missing
 
A

Alvin Bruney [MVP]

you are a local adminstrator on the machine in question i assume?
And you have access rights to the particular registry key i assume?

well actually i know you don't have rights to the registry key in question
because it is throwing an exception. Get the regmon utility available from
system internals here. Run this utility and it will tell you which key is
denying access. attempt to uninstall the owc11 dll before you start regsvr32
/u owc11

http://www.sysinternals.com/ntw2k/source/regmon.shtml

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
Ed said:
I have tried that. . I get the message:
"DLLServerRegister in owc11.dll failed. Return code was 0x8002801c"

Every where I searched on the next for that error code, it states to give
"everyone" read permission to the key. But, "everyone" has access to the
key, the best I can determination.
I've tried it from the Start--Run window, and from the "cmd" window.

Ed

----- Alvin Bruney [MVP] wrote: -----

find the owc11 dll and re-register it at the command line using the provided
regsvr32 utility. You cannot tell if the object is properly registered just
by looking at registry keys because you don't necessarily know which ones
are missing.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
 
E

Ed

Alvin

I had ran RegMon, and copied a section of the code in my original post

I am uncertain as to what I'm looking for here. I only have two results: "NotFound" or "Success". I think there was one Buffer Overflow. But nothing appeared as having a Permission denied result

Please advise what I should be looking for

Thanks again for your help
Ed
 
A

Alvin Bruney [MVP]

Ok i looked at the regmon snippet. The owc11 is definitely not installed
properly from the notfound clsid errors.

Try this exact sequence:

regsvr32 /u owc11
remove the owc11 AND owc10 (and owc9) on the computer by using the owc setup
utility
reboot the computer
install the owc11
fire the page. if it works add back owc10 (if you have it)

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
Ed said:
Alvin,

I had ran RegMon, and copied a section of the code in my original post.

I am uncertain as to what I'm looking for here. I only have two results:
"NotFound" or "Success". I think there was one Buffer Overflow. But
nothing appeared as having a Permission denied result.
 
E

Ed

Alvin

I performed the tasks below, as you asked. I purposely did not try to re-install version 10 at this time, as I would like version 11 working

The web page is showing the grid properly, when using the <Object classid="clsid:002E559....... > command. However, the ASP.NET page that I have running, which Imports the OWC11 library and does nothing more than import a CSV file and export it out as XML to a HttpContext.Content="XML" page is still failing.

The exact error message I am receiving has not changed:
QueryInterface for interface OWC11.ISpreadsheet faile

E


----- Alvin Bruney [MVP] wrote: ----

Ok i looked at the regmon snippet. The owc11 is definitely not installe
properly from the notfound clsid errors

Try this exact sequence

regsvr32 /u owc1
remove the owc11 AND owc10 (and owc9) on the computer by using the owc setu
utilit
reboot the compute
install the owc1
fire the page. if it works add back owc10 (if you have it
 

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