Page 1 of 2

TeeChart7.ocx fails to register on some Vista machines

Posted: Mon Feb 11, 2008 11:29 pm
by 9526208
TeeChart7.ocx (version 7.0.1.4) fails to register on some Vista machines -

No previous versions of Teechart exists on these Vista machine -- Happens on Vista Enterprise, Vist Ultimate -- With or without a Vista SP

No registration success messge received when this file is registered with regsvr32.
Has anyone heard of this -- Any suggestions.


Thanks

Posted: Mon Feb 18, 2008 10:30 am
by Pep
Hi Juan,

most likely, the problem is related with Vista permissions, have you tried to create a command line shortcut, right click and run it "as administrator" and then do the regsvr32 ? This should work.

Posted: Fri Mar 07, 2008 3:22 am
by 9526208
Hi Pep!

We tried the "as administrator" trick and it didn't work.

On one of our Vista machines registration was successfully completed after uninstalling SP1.

We are uploading 2 Dependency Walker profile files, regsvr32_TeeChart7_LogVistaError.dwi and regsvr32_TeeChart7_LogVista.dwi from your Upload page. The first file is from unsuccessful registration and the second file is successful one.
Registration hangs while performing next operations (last lines in profile):

00:00:06.256: Loaded "c:\windows\system32\SXS.DLL" at address 0x758D0000 by thread 1. Successfully hooked module.
00:00:06.287: DllMain(0x758D0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\SXS.DLL" called by thread 1.
00:00:06.287: DllMain(0x758D0000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\SXS.DLL" returned 1 (0x1) by thread 1.
00:00:06.303: LoadLibraryW("SXS.DLL") returned 0x758D0000 by thread 1.
00:00:06.350: GetProcAddress(0x758D0000 [c:\windows\system32\SXS.DLL], "SxsOleAut32MapConfiguredClsidToReferenceClsid") called from "c:\windows\system32\OLEAUT32.DLL" at address 0x774EB9C2 and returned 0x758D17B0 by thread 1.


Also we will let you know tomorrow if disabling User Account Control helps too.

Thanks,
Alex

Posted: Tue Mar 18, 2008 4:10 pm
by Pep
Hi Juan,
Also we will let you know tomorrow if disabling User Account Control helps too.
Does it helps ?

Are you able to register/unregister other ocx controls ?

Posted: Thu Mar 20, 2008 9:50 pm
by 9526208
No it does not. No correllation. Sometimes it registers with UAC turned on.
Other ocx files register fine (we have more than 20). Any thoughts on Dependency Walker profiles?
Thanks,
Alex.

Posted: Mon Mar 31, 2008 9:09 am
by Pep
Hi Alex,

could you please post the complete error you're getting tryong to register the TeeChart.ocx ?

Posted: Mon Mar 31, 2008 5:20 pm
by 9526208
It hangs while registering. Have you been able to download log files regsvr32_TeeChart7_LogVistaError.dwi and regsvr32_TeeChart7_LogVista.dwi (see previous posts)?

Posted: Tue Apr 08, 2008 11:31 pm
by 9526208
Is there any updates on this matter?

Thanks,
Alex.

Posted: Wed Apr 09, 2008 9:34 am
by Pep
Hi Alex,

I've been doing some tests here registering the TeeChart7.ocx v7.014 on more than one Vista machines (with and without SP1 installed), and on both worked fine and can use the component.

Does the problem happens just with specific machine ? It's difficult to know which the problem is if it only happens with a specific machine. Maybe some vista options of this machine have been modified?

Would you be so kind to try to register it on some different Vista machines in order to find more info about when the problem happens?

Posted: Wed Apr 09, 2008 5:39 pm
by 9526208
I far as I know, we have not identified specific configuration, but we have multiple user reports about the problem. It happens both with our installation package and Steema's one, so it's not the differences in registration process. Sometimes it happens (or not) on the same system.
Thanks,
Alex.

Posted: Fri Apr 11, 2008 2:16 pm
by Pep
Hi Alex,

ok, we're doing some some tests with other machines too. For the moment we've not been able to reproduce it in more than one machine (with or without SP1). Always the ocx component has been registered correctly. We use the latest v7.014 (available at the private customers download page, on our web site).

Do you have any Antivirus, AntiSpy or FireWall activated during the registration ? If so, could you please try to disable then and try to register ?

Would you be so kind to upload again the reported errors (dwi files) at the attachments newsgroups or the upload page. We're not able to get the ones you posted days ago.

Posted: Fri Apr 11, 2008 7:22 pm
by 9526208
Uploaded again!
We will check the software configuration too.
Thanks,
Alex.

Posted: Thu Apr 24, 2008 12:31 am
by 9526208
1. Description
Our latest research shows that the problem happens when print spooler doesn't work properly. So it relates more to Vista than to TeeChart7.ocx

2. Detection
2.a) you will not be able to run "net start spooler" or "net stop spooler" from CMD with Administrator rights (it will show an error message "spooler service is not responding" or something like that).

2.b) you will not see any printers (if any were installed) in Printers panel.

2.c) you will not be able to add printers.

2.d) you will not be able to save system information from Windows' System Information utility and so on...

As a result, TeeChart.ocx will not even load with a faulty spooler.

3. Solution
3.a) We will try to figure out why spooler gets broken sometimes on some of our Vista machines.

3.b) it may be a good idea not to rely on printing service while loading OCX.

Thanks,
Alex.

Posted: Thu Apr 24, 2008 8:02 am
by Pep
Hi Juan,

ok, thanks for the info. I'm glad to hear you found where the problem comes.

Posted: Mon May 05, 2008 11:08 pm
by 9526208
1) There is a Microsoft KB that works both for XP and Vista

http://support.microsoft.com/default.as ... -US;324757

Another way we were able to get the install to complete successfully was
+++++++++
Go to Services and locate Print Spooler under the name column.

Right click Print Spooler.

Click Restart.

Click OK to the error message.

After this, the spooler starts responding and teechart is able to register.
+++++++++++

2) Do you have any plans to address this issue?

Thanks,
Alex.