1

Re: Install addins error.

This one has been rumbling for a while...

Only one machine on our network is now able to use Recorder 6 addins. We have a number of them installed, but none are visible on any of the other workstations. This machine was almost compromised the other day, which would leave us with no way of exporting to the NBN.

On any of the affected machines (including one brand new, virgin install on a machine with no trace of Rec6 on it previously), I can go Tools-Install-Addin modules... and the expected dialog appears, but as soon as the Install button is clicked there is an exception (class not registered).

The full text of the bug report appears below, I would love to be able to get everybody working properly again.

date/time         : 2009-11-11, 16:22:54, 412ms
computer name     : WWTMG5-1
user name         : robl
operating system  : Windows XP Service Pack 3 build 2600
system language   : English
system up time    : 2 minutes 43 seconds
program up time   : 52 seconds
processor         : Intel(R) Celeron(R) CPU          440  @ 2.00GHz
physical memory   : 501/1014 MB (free/total)
free disk space   : (C:) 126.87 GB
display mode      : 1152x864, 32 bit
process id        : $788
allocated memory  : 22.16 MB
command line      : RecorderApp.exe /196944
executable        : RecorderApp.exe
exec. date/time   : 2009-08-05 12:49
version           : 6.14.4.212
madExcept version : 2.7k
exception class   : EOleSysError
exception message : Class not registered.

main thread ($7a8):
0050325d RecorderApp.exe 
7e4292de user32.dll       SendMessageW
7e42a993 user32.dll       CallWindowProcA
7e4196c2 user32.dll       DispatchMessageA

thread $890:
7c90e514 ntdll.dll     KiFastSystemCallRet
7c90df48 ntdll.dll     NtWaitForMultipleObjects
7c80958a kernel32.dll  WaitForMultipleObjectsEx
7e4195f3 user32.dll    MsgWaitForMultipleObjectsEx
7e4196a3 user32.dll    MsgWaitForMultipleObjects
>> created by main thread ($7a8) at:
4ec67b7f gdiplus.dll   

thread $8cc:
7c90e514 ntdll.dll   KiFastSystemCallRet
7c90daa8 ntdll.dll   NtReplyWaitReceivePortEx
>> created by main thread ($7a8) at:
77e7df36 RPCRT4.dll 

thread $8d0:
7c90e514 ntdll.dll     KiFastSystemCallRet
7c90d218 ntdll.dll     NtDelayExecution
7c8023eb kernel32.dll  SleepEx
7c802450 kernel32.dll  Sleep
>> created by main thread ($7a8) at:
7752fd64 ole32.dll     

thread $930:
7c90e514 ntdll.dll   KiFastSystemCallRet
7c90daa8 ntdll.dll   NtReplyWaitReceivePortEx
>> created by thread $8cc at:
77e7df36 RPCRT4.dll 

thread $ae8:
7c90e514 ntdll.dll     KiFastSystemCallRet
7c90df58 ntdll.dll     NtWaitForSingleObject
7c8025d5 kernel32.dll  WaitForSingleObjectEx
7c80253d kernel32.dll  WaitForSingleObject

thread $5e8:
7c90e514 ntdll.dll     KiFastSystemCallRet
7c90df48 ntdll.dll     NtWaitForMultipleObjects
7c80958a kernel32.dll  WaitForMultipleObjectsEx
>> created by thread $3b8 at:
77df8c8c advapi32.dll 

thread $614:
7c90e514 ntdll.dll   KiFastSystemCallRet
7c90daa8 ntdll.dll   NtReplyWaitReceivePortEx
>> created by thread $3b8 at:
77e7df36 RPCRT4.dll 

thread $ce0:
7c90e514 ntdll.dll   KiFastSystemCallRet
7c90daa8 ntdll.dll   NtReplyWaitReceivePortEx
>> created by thread $614 at:
77e7df36 RPCRT4.dll 

thread $264: <priority:15>
7c90e514 ntdll.dll     KiFastSystemCallRet
7c90df48 ntdll.dll     NtWaitForMultipleObjects
7c80958a kernel32.dll  WaitForMultipleObjectsEx
7c80a110 kernel32.dll  WaitForMultipleObjects

thread $334: <priority:2>
7c90e514 ntdll.dll   KiFastSystemCallRet
7e427766 user32.dll  GetMessageA
>> created by thread $3b8 at:
76b45e9f winmm.dll   

modules:
00340000 C4DLL.DLL         1.0.0.1          \\Wwtsql01\recorder6
003b0000 MS5User.Dll       5.0.0.4          \\Wwtsql01\recorder6
00400000 RecorderApp.exe   6.14.4.212       \\Wwtsql01\recorder6
01310000 ms5cnv.dll        5.0.0.10         \\Wwtsql01\recorder6
01a70000 odbcint.dll       3.525.1132.0     C:\WINDOWS\system32
02910000 xpsp2res.dll      5.1.2600.5512    C:\WINDOWS\system32
035b0000 SQLOLEDB.RLL      2000.85.1132.0   C:\Program Files\Common Files\System\Ole DB
035c0000 msadcer.dll       2.81.1132.0      C:\Program Files\Common Files\System\msadc
03900000 ShowUnchecked.ocx 6.0.0.13         \\Wwtsql01\recorder6\Addins
03b30000 StdValLib.dll     6.14.3.208       \\Wwtsql01\recorder6\Addins
03f10000 Normaliz.dll      6.0.5441.0       C:\WINDOWS\system32
06e80000 MSVCR80.dll       8.0.50727.3053   C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca
070d0000 klscav.dll        6.0.3.837        C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Workstations
07100000 prloader.dll      6.0.3.837        C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Workstations
07390000 params.ppl        6.0.3.837        c:\program files\kaspersky lab\kaspersky anti-virus 6.0 for windows workstations
07400000 pxstub.ppl        6.0.3.837        c:\program files\kaspersky lab\kaspersky anti-virus 6.0 for windows workstations
10000000 MS5.Dll           5.0.0.12         \\Wwtsql01\recorder6
20000000 xpsp3res.dll      5.1.2600.5512    C:\WINDOWS\system32
3d930000 WININET.dll       7.0.6000.16915   C:\WINDOWS\system32
3da20000 mshtml.dll        7.0.6000.16939   C:\WINDOWS\system32
3dfd0000 iertutil.dll      7.0.6000.16915   C:\WINDOWS\system32
3e1c0000 ieframe.dll       7.0.6000.16915   C:\WINDOWS\system32
4dd00000 sqloledb.dll      2000.85.1132.0   C:\Program Files\Common Files\System\Ole DB
4de10000 msado15.dll       2.81.1132.0      C:\Program Files\Common Files\System\ado
4ec50000 gdiplus.dll       5.2.6001.22319   C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6001.22319_x-ww_f0b4c2df
5ad70000 uxtheme.dll       6.0.2900.5512    C:\WINDOWS\system32
5b860000 NETAPI32.dll      5.1.2600.5694    C:\WINDOWS\system32
5d090000 comctl32.dll      5.82.2900.5512   C:\WINDOWS\system32
5edd0000 olepro32.dll      5.1.2600.5512    C:\WINDOWS\system32
605d0000 mslbui.dll        5.1.2600.5512    C:\WINDOWS\system32
60e30000 MSDATL3.dll       2.81.1132.0      C:\Program Files\Common Files\System\Ole DB
63f00000 mscorie.dll       2.0.50727.3053   c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
64a00000 prkernel.ppl      6.0.3.837        C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Workstations
65e20000 itss.dll          5.2.3790.4186    C:\WINDOWS\system32
662b0000 hnetcfg.dll       5.1.2600.5512    C:\WINDOWS\system32
66600000 prremote.dll      6.0.3.837        C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Workstations
67f00000 tempfile.ppl      6.0.3.837        c:\program files\kaspersky lab\kaspersky anti-virus 6.0 for windows workstations
6d4f0000 DBNETLIB.DLL      2000.85.1132.0   C:\WINDOWS\system32
6d6e0000 scrchpg.dll       6.0.3.857        C:\Program Files\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Workstations
71a50000 mswsock.dll       5.1.2600.5625    C:\WINDOWS\system32
71a90000 wshtcpip.dll      5.1.2600.5512    C:\WINDOWS\System32
71aa0000 WS2HELP.dll       5.1.2600.5512    C:\WINDOWS\system32
71ab0000 WS2_32.dll        5.1.2600.5512    C:\WINDOWS\system32
71ad0000 wsock32.dll       5.1.2600.5512    C:\WINDOWS\system32
71b20000 mpr.dll           5.1.2600.5512    C:\WINDOWS\system32
71bf0000 SAMLIB.dll        5.1.2600.5512    C:\WINDOWS\system32
71f80000 security.dll      5.1.2600.5512    C:\WINDOWS\system32
72d10000 msacm32.drv       5.1.2600.0       C:\WINDOWS\system32
72d20000 wdmaud.drv        5.1.2600.5512    C:\WINDOWS\system32
73000000 winspool.drv      5.1.2600.5512    C:\WINDOWS\system32
73160000 oledb32.dll       2.81.1132.0      C:\Program Files\Common Files\System\Ole DB
74060000 msadce.dll        2.81.3002.0      C:\Program Files\Common Files\System\msadc
74320000 odbc32.dll        3.525.1132.0     C:\WINDOWS\system32
746c0000 msls31.dll        3.10.349.0       C:\WINDOWS\system32
746f0000 msimtf.dll        5.1.2600.5512    C:\WINDOWS\system32
74720000 MSCTF.dll         5.1.2600.5512    C:\WINDOWS\system32
74980000 msxml3.dll        8.100.1048.0     C:\WINDOWS\system32
750b0000 RESUTILS.DLL      5.1.2600.5512    C:\WINDOWS\system32
750f0000 MTXCLU.DLL        2001.12.4414.706 C:\WINDOWS\system32
75130000 colbact.DLL       2001.12.4414.700 C:\WINDOWS\system32
75350000 OLEDB32R.DLL      2.81.1132.0      C:\Program Files\Common Files\System\Ole DB
755c0000 msctfime.ime      5.1.2600.5512    C:\WINDOWS\system32
75c50000 JScript.dll       5.7.6002.22145   C:\WINDOWS\system32
75cf0000 MLANG.dll         6.0.2900.5512    C:\WINDOWS\system32
76390000 IMM32.DLL         5.1.2600.5512    C:\WINDOWS\system32
763b0000 comdlg32.dll      6.0.2900.5512    C:\WINDOWS\system32
765b0000 MSDART.DLL        2.81.1132.0      C:\WINDOWS\system32
76620000 comsvcs.dll       2001.12.4414.702 C:\WINDOWS\system32
76780000 SHFolder.dll      6.0.2900.5512    C:\WINDOWS\system32
76790000 cryptdll.dll      5.1.2600.5512    C:\WINDOWS\system32
767a0000 ntdsapi.dll       5.1.2600.5512    C:\WINDOWS\system32
769c0000 USERENV.dll       5.1.2600.5512    C:\WINDOWS\system32
76b40000 winmm.dll         5.1.2600.5512    C:\WINDOWS\system32
76bf0000 PSAPI.DLL         5.1.2600.5512    C:\WINDOWS\system32
76c30000 WINTRUST.dll      5.131.2600.5512  C:\WINDOWS\system32
76c90000 IMAGEHLP.dll      5.1.2600.5512    C:\WINDOWS\system32
76d10000 CLUSAPI.DLL       5.1.2600.5512    C:\WINDOWS\system32
76d60000 iphlpapi.dll      5.1.2600.5512    C:\WINDOWS\system32
76f20000 DNSAPI.dll        5.1.2600.5625    C:\WINDOWS\system32
76f60000 WLDAP32.dll       5.1.2600.5512    C:\WINDOWS\system32
76fb0000 winrnr.dll        5.1.2600.5512    C:\WINDOWS\System32
76fc0000 rasadhlp.dll      5.1.2600.5512    C:\WINDOWS\system32
76fd0000 CLBCATQ.DLL       2001.12.4414.700 C:\WINDOWS\system32
77050000 COMRes.dll        2001.12.4414.700 C:\WINDOWS\system32
77120000 oleaut32.dll      5.1.2600.5512    C:\WINDOWS\system32
773d0000 comctl32.dll      6.0.2900.5512    C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83
774e0000 ole32.dll         5.1.2600.5512    C:\WINDOWS\system32
77690000 NTMARTA.DLL       5.1.2600.5512    C:\WINDOWS\system32
77920000 SETUPAPI.dll      5.1.2600.5512    C:\WINDOWS\system32
77a80000 crypt32.dll       5.131.2600.5512  C:\WINDOWS\system32
77b20000 MSASN1.dll        5.1.2600.5875    C:\WINDOWS\system32
77b40000 appHelp.dll       5.1.2600.5512    C:\WINDOWS\system32
77bd0000 midimap.dll       5.1.2600.5512    C:\WINDOWS\system32
77be0000 MSACM32.dll       5.1.2600.5512    C:\WINDOWS\system32
77c00000 version.dll       5.1.2600.5512    C:\WINDOWS\system32
77c10000 msvcrt.dll        7.0.2600.5512    C:\WINDOWS\system32
77c70000 msv1_0.dll        5.1.2600.5876    C:\WINDOWS\system32
77dd0000 advapi32.dll      5.1.2600.5755    C:\WINDOWS\system32
77e70000 RPCRT4.dll        5.1.2600.5795    C:\WINDOWS\system32
77f10000 GDI32.dll         5.1.2600.5698    C:\WINDOWS\system32
77f60000 SHLWAPI.dll       6.0.2900.5512    C:\WINDOWS\system32
77fe0000 Secur32.dll       5.1.2600.5834    C:\WINDOWS\system32
78130000 urlmon.dll        7.0.6000.16915   C:\WINDOWS\system32
79000000 mscoree.dll       2.0.50727.3053   C:\WINDOWS\system32
7c420000 MSVCP80.dll       8.0.50727.3053   C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca
7c800000 kernel32.dll      5.1.2600.5781    C:\WINDOWS\system32
7c900000 ntdll.dll         5.1.2600.5755    C:\WINDOWS\system32
7c9c0000 shell32.dll       6.0.2900.5622    C:\WINDOWS\system32
7d1e0000 msi.dll           3.1.4001.5512    C:\WINDOWS\system32
7e410000 user32.dll        5.1.2600.5512    C:\WINDOWS\system32
7e4b0000 HHCtrl.ocx        5.2.3790.4110    C:\WINDOWS\system32
7e720000 SXS.DLL           5.1.2600.5512    C:\WINDOWS\system32

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

2

Re: Install addins error.

HI Rob,

Not sure whether this helps but we have an error message log on the new website and the suggested solution for this error message (relating to error occuring on import however) is the following:

A suggestion would be to log in as someone with local machine admin rights on this machine, log in to Recorder, select Tools\Install\Add-in module. Select Recorder 6 Standard Validation, then click Remove. Now restart Recorder and go back to this dialog. Click Install, then browse to your Addins folder in the Recorder 6 server install folder, and select StdValLib.dll. Uninstalling an application external to Recorder had corrupted the Windows Registry - a complete system rebuild was necessary which solved the Recorder problem.

Is it possible that something outside of Recorder is affecting this - have you uninstalled anything that didn't quite work before this happened?

Best Wishes,
Lynn

3

Re: Install addins error.

I think it was a problem with the NBN export add-in which started it all off, but to be honest there has been so much to-ing and fro-ing since then that I can't be sure.

It is interesting however that this error affects all machines except one, even those which have had recorder installed recently.

I will try what you suggest & let you know

Thanks

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

4

Re: Install addins error.

Hi
I've just tried to remove the add-in on my machine (where the problem began when initially trying to remove the NBN exporter because it was reporting an error when I was using it) as suggested and this also makes Recorder crash, and gives the same error message as when trying to install an add-in.  We thought we'd cleared the registry of all problem files after the partial removal of the NBN exporter and this add-in does now work.

Thanks
Purgle

Purgle Linham
Wiltshire & Swindon Biological Records Centre

5

Re: Install addins error.

...But the problem of not being able to add add-ins remains on all machines.

It looks as if we will eventually have to completely remove recorder 6 from the network, remove every trace from the registries of all machines and reinstall from scratch. Can you please advise on the best way of going about this.

I am really reluctant to atempt this, since I have the one machine which still functions as intended and it will take quite some time to clean all the workstations up. I have come to realise that there is no point relying on the recorder 6 uninstall routines to clean up leftovers in the registry.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

6

Re: Install addins error.

Hi Rob

Before you go to quite such drastic measures, perhaps you could try this:
1) Pick a machine to act as a test case (not the good one!). On this machine, make a note of all the installed addins, then remove ALL the addins using the install addins screen. If it crashes as you do it, just do your best. Now log out of Recorder.

2) Now, in the registry, go to HKEY_LOCAL_MACHINE\SOFTWARE\Dorset Software\Recorder 6\Installed Addins. If there are any entries in this folder (other than one named (Default)) then remove them.

3) Now log back into Recorder. Go to the install addins screen, and install just one (such as the StdValLib.dll Standard Validation Library). If that works OK, repeat this for each of the other addins. As soon as you get an addin that causes an error to appear on installation, let us know which addin it is. Uninstall it, then try the others.

Kind Regards

John van Breda
Biodiverse IT

7

Re: Install addins error.

Thanks John I will try that.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

8

Re: Install addins error.

OK I tried it John and failed at the first hurdle. The error occurs as soon as the remove button is clicked.

Any more suggestions?

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

9

Re: Install addins error.

Hi Rob,

Just close Recorder and go straight to step 2 then and remove the addins manually, by deleting the folders in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Dorset Software\Recorder 6\Installed Addins. Obviously the usual warnings about changing your registry apply!

Then do step 3 to see if we can identify the culprit.

Best Wishes

John van Breda
Biodiverse IT

10

Re: Install addins error.

John, I think you are on the wrong track here. I have done what you suggest, but I am unable to install any addins, since the error occurs when the install button is clicked.

My impression is that the error is not caused by an addin, but by the process of preparing to install (or remove) one.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

11

Re: Install addins error.

OK John, the plot thickens...

Since this error began to occur we have been having problems with importing as well (prior to this problem we successfully imported hundreds of thousands of records without an error). I don't have a record of the precise exception caused to hand now, but my suspicion is that someone mentioned the class not registered message in this context.

Today I noticed a batch of records in the database which have been imported recently, which have no spatial reference (the orginal source has GRs). The person who imported them is on leave, but I think she mentioned a crash while importing a couple of weeks ago.

Would I be right in assuming that the Standard Validation add in is supposed to prevent inavlid records being imported/exported?

Not having the ability to install addins is concerning, but not critical. Importing corrupted data is a lot more serious.

If I am right about what is going on here we need to get this fixed urgently.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

12

Re: Install addins error.

Hi Rob
I wasn't exactly on the wrong track since one of the possible outcomes of the test was that starting from a position of having no addins installed, every single addin fails to install. That immediately points the finger at the setup and process itself rather than any individual addin. Also you are right in that importing data on a machine with no working validiation library is a bad idea. Next can you try one more thing though please - find the file regsvr32.exe in your Windows\System32 directory. Now drag an addiin file such as stdvallib.dll onto it. Do you get an error or does it succeed?

Best wishes,

John van Breda
Biodiverse IT

13

Re: Install addins error.

OK John, and thanks for the clarification at the meeting last week.

I have now deleted all the addins from the registry of one of the affected machines, but I am still unable to install any addins at all as the error occurs as soon as the install button is pressed..

I have tried dropping stvallib.dll onto regserver32 and the registration succeeds.

Where do we go next?

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

14 (edited by RobLarge 16-02-2010 10:43:09)

Re: Install addins error.

Well it looks like John has found the problem and I am cautiously writing this to explain the fix for future reference.

The problem was caused apparently by a broken dll. Namely RecorderAddInIstaller.dll, which is located in the root Recorder6 folder on our file server.

When this was properly registered (by dragging and dropping the dll file onto the executable RegSrvr32.exe in C:\Windows\System32\ on the affected machine)  it became possible to add and remove addins without an error.

So a big thanks to John, lets hope it works from now on.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

15

Re: Install addins error.

Where should the RecorderAddInInstaller.dll file be located? I don't seem to be able to find it, which could explain my inability to install any add-ins, although I had previously assumed this was permissions related but not chased up.

Gordon

Gordon Barker
Biological Survey Data Manager
National Trust

16

Re: Install addins error.

Are you getting the same error we were above Gordon? It still might be permissions related

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

17

Re: Install addins error.

No, it tells me that the seklected file is not a valid COM object, might have queried this before but will need to check tomorrow whether I got an answer.

G

Gordon Barker
Biological Survey Data Manager
National Trust

18

Re: Install addins error.

Sorry Gordon I didn't answer your question directly. I have just edited my post above to clarify the location of the two files needed to fix this problem (yes, you guessed it, I just had to do it again on another machine).

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

19

Re: Install addins error.

The RecorderInstaller.dll - what a little gem of a solution.

A happy man.

Cumbria Biodiversity Data Centre
Tullie House Museum