1

Topic: Moving to new server

We are in the process of moving our database from SQL server 2000 to SQL server 2012 (on a different machine also). The transfer went fairly smoothly, apart from having to go via an intermediary copy of SQL server 2008 express in order to perform some updates.

We now have a working copy of R6 accessible from one machine only, on all the other machines we have tried we get the splash screen followed quickly by an error message (EOleSysError, %1 could not be found.) Not one I had come across before.

Oddly we have found that if we turn off our antivirus (Kaspersky) Recorder runs normally, but as soon as we turn Kaspersky back on it fails again. RecorderApp.exe appears to be classified as a high risk by Kaspersky.

Any suggestions on how to fix this would be gratefully received.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

2

Re: Moving to new server

Worth mentioning that we didn't re-install the individual workstations, we are re-mapping the network drives so that paths in the registry remain valid instead. In fact when I attempted to re-install on one machine the workstation installer crashed mid-way with the same error message as above.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

3

Re: Moving to new server

Can you not tell Kaspersky that RecorderApp.exe is okay to run ?

Charlie Barnes
Information Officer
Greater Lincolnshire Nature Partnership

4

Re: Moving to new server

You would think so wouldn't you? Our ITC has been trying all sorts of things, but so far no luck.

The plot thickens though. I managed to get Recorder open this morning on my own workstation, pointing at the new db, with no objection from Kaspersky. It worked a few times apparently as a result of something the ITC had done, but which he then had to undo as it had blocked access to our remote access terminals. We are back to the same situation.

Then I attempted to re-point one of our few remaining XP workstations (most are W7), as it is little used. This time after re-mapping the drives and re-installing the workstation R6 failed with the error message I was expecting, which says there are problems with the NBNUser login. I ran the second update query Mike supplied to someone else on here (http://forums.nbn.org.uk/viewtopic.php?id=4233) and the XP workstation now works with Kaspersky running (same version as the W7 machines).

My W7 machine still doesn't work and still has the %1 error.

So there is something different in the way Kaspersky 10.0 operates on a 64bit system to a 32bit?

We will crack this, but I hate the feeling of having two live copies of the database running simultaneously on different machines.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

5

Re: Moving to new server

It seems that Kaspersky has marked as high-risk several instances of Recorder.exe and RecorderApp.exe historically, despite there only being two versions of each on our network (the old installation and the new one, the latter only went in yesterday). When we look in Kaspersky some of these are capitalised and some not. We can add exceptions to Kaspersky, in order to allow access, but only once for each filename, so the problem doesn't go away.

It seems the presence of records in Kaspersky's risk tables of old historic installations of the software can be distinguished from newer ones by some parts of the firewall system, but not by the exceptions part.

Now we just need to find out how to remove the older high risk references from Kaspersky. Looks like there is no way the user can do this, unless anyone knows otherwise.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

6

Re: Moving to new server

Not getting much feedback on this. I guess its too specific a problem for anyone to have encountered it before. We will just struggle on then.

Probably worth mentioning though that After doing fresh workstation installs there are still some apparently incorrect settings in the registry. The Base Map Path and Map Files Path settings both point to folders within Program files, despite the fact that I told the installer to create an R6 folder on the root of the C drive.

Interestingly the folder has been created & there is a Base Maps folder within it (although that was probably already there from a previous installation), but the Map Files folder did not exist anywhere as far as I can see.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

7

Re: Moving to new server

Just a couple of things you've probably already tried in vain:
* tried "run as admin" on RecorderApp.exe?
* what about renaming RecorderApp.exe to something different (all in one case..) and telling Kaspersky to except that?

Charlie Barnes
Information Officer
Greater Lincolnshire Nature Partnership

8

Re: Moving to new server

As you guessed we have tried the former, no change. The latter, is something that occurred to me, but I have shied away from it for a number of reasons. Not least of which is that it would need redoing after every upgrade. In any case, as I understand it, Recorder.exe displays a splash screen, maybe does some other stuff, then calls RecorderApp.exe. This link would be broken by a name change and I have no way of knowing what else might occur (I imagine there are some registry settings which would need changing, probably on each local machine). But thanks anyway.

We have an appointment with our Kaspersky resellers later on when one of their techs will be given remote access to one of the faulty workstations. Hopefully that will solve the problem. It should be something simple I guess. Interestingly we now have three workstations which work, two run XP and the third is a remote access terminal running under Windows Server OS and critically using a Kaspersky Server version, not the desktop version we have on the other workstations. I am sure the solution lies in there somewhere.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

9 (edited by RobLarge 09-10-2013 10:30:07)

Re: Moving to new server

Still not getting much feedback on this one, but I am going to keep posting, partly in the hope that it will one day be of use to someone else, but I also have a specific question for Mike, John and Sally (of which more later).

So at present we still have two installations of R6, both on the latest version, running on separate fileservers, but which are becoming increasingly out of step as we are still entering data into the old one (I will backup and restore to the new one once we have got the new installation running as it should.

The old installation uses the older copy of the database under SQL Server 2000, this now works on only three of our workstations, two running Windows 7 and one XP. These are the machines I haven't touched yet and our "live" database.

The new installation has a copy of the same database under SQL Server 2012. On two XP workstations we have remapped the drive assignments so the Z: drive points to the new fileserver and uninstalled and reinstalled workstation software, using the copy of WorkstationSetup.exe also on the new fileserver. These did both function correctly for a while with the new db, but now neither work ('Error accessing the OLE registry').

Two further workstations running Windows 7 have been treated in exactly the same way. One will not run R6, crashing on start-up with the '%1 can't be found' error described above. If we turn off Kaspersky entirely it functions normally, but disabling all the individual components of Kaspersky, including the firewall does not work. The second used to behave the same way, but now has a different error instead (not being able to access the OLE Registry).

We also have R6 workstation installed on a remote access terminal running Windows Server 2008 R2. This was the first one we tried to fix and it worked almost straight away (or at least appeared to) without errors. However it transpires that it sees only the old copy of the database, despite being installed using the  WorkstationSetup.exe on the new fileserver.

If this was not confusing enough, I have now found that on the first Windows 7 machine described above, if I navigate to the new fileserver and double-click either Recorder.exe, or RecorderApp.exe (rather than using the desktop icon created on install), I get the %1 error, but if I navigate to the OLD fileserver and do the same R6 opens normally, but sees the NEW copy of the database.

Clearly we have a problem with something to do with the drive mapping, or the local registry entries. Whatever the problem is, it manifests in a way which is dependent on some basic part of the Kaspersky software, but Kaspersky are unable to find anything untoward on our system.

So my question to Mike, John and Sally is as follows: Can any of you explain to me what actually happens when we run WorkstationSetup.exe? How does the installer decide which SQLServer instance to use and where does it get the various path settings for the registry? Also how good is the uninstaller at removing old registry settings and how does it recreate the HKEY_LOCAL_USERS keys for each new user.

As an illustration of the problem, our ITC just uninstalled the workstation from the remote access terminal (Windows Server 2008 R2), then reinstalled it (as administrator), it performed exactly as you would wish and opened correctly with the new db. But when I try to open recorder on the same machine (not as admin) I get an error (Map Files Path setting incorrect or missing, we get this often with new installs). On checking the settings keys in HKEY_LOCAL_USERS (I am now the user), most of the path settings (which should begin Z:/, the path to the new fileserver R6 folder), actually begin with \\wwt-sql01\, which is the path to the OLD fileserver and clearly date from a previous install. So it seems to work for the person who installed it, but not for anyone else.

Still on the remote access machine we have now uninstalled the workstation software again and are attempting to run a registry cleaner to remove references to earlier installs. Next we will try to reinstall again. Will it work? I am not all that hopeful.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

10

Re: Moving to new server

Hi Rob
When you run the server setup, it creates a file called InstallSettings.ini which contains the name of the SQL Server Instance to use. The only other place that the server instance could be found would be from a previous installation at HKEY_LOCAL_MACHINE\SOFTWARE\Wos6432Node\Dorset Software\Recorder 6 for a 64 bit machine. This should of course be removed by the uninstaller (it was the last tuime I checked, but I guess it is possible that this cleanup does not work properly in some environments).

The workstation setup knows where you ran it from, so it can locate the install settings file and therefore create registry entries for the database instance and various paths. Nothing too complex. Some of the settings (including Base Map Path which you had an issue with) are actually not set by the workstation install, but they are created when Recorder first runs. In this particular case it looks for Base Map Path in the install folder, but of course if the setting was already in the registry from a previous setup then it won't recreate the setting correctly. If you want to be sure these sort of settings are gone, delete the registry node HKEY_CURRENT_USER\Software\Recorder 6 if it still exists after an uninstall, along with the aforementioned HKEY_LOCAL_MACHINE node.

When you got any of the errors which only occur when Kaspersky is running, did you ever get the full error box with the error information? If I could get hold of the call stack when one of the errors occurred then finding out what is going wrong ought to be possible.

Best wishes
John

John van Breda
Biodiverse IT

11

Re: Moving to new server

Rob
I just found the attachment Mike sent me with one of your LastError.txt files, so ignore my last request. I'll post back when I've checked it out...
John

John van Breda
Biodiverse IT

12

Re: Moving to new server

Ok, the error I have an example of occurs in Recorder when it tries to load the Recorder Type Library via the Windows function LoadTypeLib. I'm not sure if this info will help anyone at Kaspersky fix the problem, but maybe...

Seeing as you have already run RecorderApp.exe as admin it should have re-registered it so there is not much more you can do regarding the registration in Windows.

John van Breda
Biodiverse IT

13

Re: Moving to new server

Hi John

Thanks for getting back to me. Your reply is pretty much as we had surmised, as you will have seen from the email. From memory I think the copy of LastError.txt I sent you was created on workstation setup. I am not sure if the one generated when we actually try to run Recorder is the same or different. I will check whether we have one.

Ah, interesting. I just went to run Recorder for the first time today, in the hope of creating a new Lasterror.txt to send you. What do you know? It opened without incident. No error.

This is not the first time this has happened, but so far it has never proved stable over more than an hour or two. Should be interesting, because we have a service call with Kaspersky scheduled in about 20 minutes & if we have no error, we won't be able to get very far.

Anyway I have located a copy of Lasterror.txt created yesterday afternoon, which I assume is the one from running recorder, because I had stopped reinstalling by then. I will paste it below. If it is not identical to the previous one I sent, then it will definitely be the one triggered by Recorder.exe.

After we have spoken with Kaspersky I will get back to you.

date/time         : 2013-10-10, 16:11:39, 389ms
computer name     : WWT-0001
user name         : ict <admin>
registered owner  : user
operating system  : Windows 7 Tablet PC x64 Service Pack 1 build 7601
system language   : English
system up time    : 1 day 7 hours
program up time   : 333 milliseconds
processors        : 8x Intel(R) Xeon(R) CPU W3520 @ 2.67GHz
physical memory   : 14512/18423 MB (free/total)
free disk space   : (C:) 306.93 GB (Y:) 85.88 GB
display mode      : 1920x1080, 32 bit
process id        : $1778
allocated memory  : 30.99 MB
command line      : RecorderApp.exe /3804228
executable        : RecorderApp.exe
exec. date/time   : 2013-07-11 16:25
compiled with     : Delphi 7
madExcept version : 3.0n
callstack crc     : $4e188f1d, $5f148b1b, $5f148b1b
exception number  : 1
exception class   : EOleSysError
exception message : %1 could not be found.

main thread ($d20):
005265ac RecorderApp.exe ComObj             OleError
005265c4 RecorderApp.exe ComObj             OleCheck
005aafcd RecorderApp.exe ComServ            LoadTypeLibrary
005ab684 RecorderApp.exe ComServ            TComServer.LoadTypeLib
005ab554 RecorderApp.exe ComServ            TComServer.GetTypeLib
00525d8f RecorderApp.exe ComObj             TTypedComObjectFactory.Create
0052624e RecorderApp.exe ComObj             TAutoObjectFactory.Create
00a5f148 RecorderApp.exe MapClasses  340 +1 initialization
00405120 RecorderApp.exe System             InitUnits
00405186 RecorderApp.exe System             @StartExe
00407f5e RecorderApp.exe SysInit            @InitExe
00a91a68 RecorderApp.exe RecorderApp 335 +0 initialization
76b03368 kernel32.dll                       BaseThreadInitThunk

modules:
00230000 C4DLL.DLL       1.0.0.1            Y:
002a0000 MS5User.Dll     5.0.0.4            Y:
00400000 RecorderApp.exe                    Y:
00d80000 ms5cnv.dll      5.0.0.10           Y:
10000000 MS5.Dll         5.0.0.12           Y:
531f0000 HHCtrl.ocx      6.1.7600.16385     C:\Windows\system32
53280000 odbc32.dll      6.1.7601.17514     C:\Windows\system32
584c0000 odbcint.dll     6.1.7600.16385     C:\Windows\system32
59360000 olepro32.dll    6.1.7601.17514     C:\Windows\system32
60480000 SHFolder.dll    6.1.7600.16385     C:\Windows\system32
6b8b0000 uxtheme.dll     6.1.7600.16385     C:\Windows\system32
6cdc0000 tiptsf.dll      6.1.7600.16385     C:\Program Files (x86)\Common Files\microsoft shared\ink
6cec0000 dwmapi.dll      6.1.7600.16385     C:\Windows\system32
6e6f0000 winmm.dll       6.1.7601.17514     C:\Windows\system32
72d20000 winspool.drv    6.1.7601.17514     C:\Windows\system32
72d80000 mpr.dll         6.1.7600.16385     C:\Windows\system32
73dc0000 comctl32.dll    5.82.7601.17514    C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af
744b0000 oleacc.dll      7.0.0.0            C:\Windows\system32
74600000 wsock32.dll     6.1.7600.16385     C:\Windows\system32
746f0000 gdiplus.dll     6.1.7601.18120     C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18120_none_72d2e82386681b36
74920000 version.dll     6.1.7600.16385     C:\Windows\system32
74d40000 CRYPTBASE.dll   6.1.7600.16385     C:\Windows\syswow64
74d50000 SspiCli.dll     6.1.7601.17856     C:\Windows\syswow64
74fc0000 NSI.dll         6.1.7600.16385     C:\Windows\syswow64
74fd0000 IMM32.DLL       6.1.7601.17514     C:\Windows\system32
75030000 KERNELBASE.dll  6.1.7601.18229     C:\Windows\syswow64
75080000 ADVAPI32.dll    6.1.7601.17514     C:\Windows\syswow64
752c0000 oleaut32.dll    6.1.7601.17676     C:\Windows\syswow64
75350000 GDI32.dll       6.1.7601.17514     C:\Windows\syswow64
755e0000 user32.dll      6.1.7601.17514     C:\Windows\syswow64
75720000 shell32.dll     6.1.7601.18222     C:\Windows\syswow64
76380000 ole32.dll       6.1.7601.17514     C:\Windows\syswow64
766b0000 LPK.dll         6.1.7600.16385     C:\Windows\syswow64
76750000 USP10.dll       1.626.7601.18009   C:\Windows\syswow64
767f0000 WS2_32.dll      6.1.7601.17514     C:\Windows\syswow64
76830000 msvcrt.dll      7.0.7601.17744     C:\Windows\syswow64
768f0000 comdlg32.dll    6.1.7601.17514     C:\Windows\syswow64
76970000 SHLWAPI.dll     6.1.7601.17514     C:\Windows\syswow64
76af0000 kernel32.dll    6.1.7601.18229     C:\Windows\syswow64
76c10000 CLBCatQ.DLL     2001.12.8530.16385 C:\Windows\syswow64
76ca0000 MSCTF.dll       6.1.7600.16385     C:\Windows\syswow64
76d70000 RPCRT4.dll      6.1.7601.18205     C:\Windows\syswow64
76e60000 sechost.dll     6.1.7600.16385     C:\Windows\SysWOW64
77300000 ntdll.dll       6.1.7601.18229     C:\Windows\SysWOW64

processes:
0000 Idle                        0 0    0
0004 System                      0 0    0
01a0 smss.exe                    0 0    0
0200 csrss.exe                   0 0    0
0248 wininit.exe                 0 0    0
025c csrss.exe                   1 0    0
0280 services.exe                0 0    0
029c lsass.exe                   0 0    0
02a4 lsm.exe                     0 0    0
0304 svchost.exe                 0 0    0
0368 winlogon.exe                1 0    0
0384 svchost.exe                 0 0    0
03c8 RapportMgmtService.exe      0 0    0
0204 atiesrxx.exe                0 0    0
02d8 svchost.exe                 0 0    0
0394 svchost.exe                 0 0    0
0420 svchost.exe                 0 0    0
0440 svchost.exe                 0 0    0
0528 svchost.exe                 0 0    0
055c atieclxx.exe                1 0    0
05cc wisptis.exe                 1 0    0
0634 spoolsv.exe                 0 0    0
0650 svchost.exe                 0 0    0
06c8 armsvc.exe                  0 0    0
06e8 BingDesktopUpdater.exe      0 0    0
0734 mDNSResponder.exe           0 0    0
0760 svchost.exe                 0 0    0
079c klnagent.exe                0 0    0
07cc LSSrvc.exe                  0 0    0
07e0 nassvc.exe                  0 0    0
0b3c svchost.exe                 0 0    0
0b5c svchost.exe                 0 0    0
0870 WUDFHost.exe                0 0    0
0c74 NASvc.exe                   0 0    0
04fc SearchIndexer.exe           0 0    0
0b28 taskhost.exe                1 26   21  normal
0e90 wisptis.exe                 1 436  166 high
0e88 TabTip.exe                  1 265  67  high
0df8 TabTip32.exe                1 4    6   normal       C:\Program Files (x86)\Common Files\Microsoft Shared\Ink
0d6c dwm.exe                     1 17   2   normal
0c98 explorer.exe                1 486  273 normal
0310 LightScribeControlPanel.exe 1 52   22  normal       C:\Program Files (x86)\Common Files\LightScribe
0e7c VMonitor.exe                1 16   11  normal       C:\Program Files (x86)\Vimicro Corporation\VMUVC
12cc InputPersonalization.exe    1 9    5   below normal
05a8 OUTLOOK.EXE                 1 1030 533 normal       C:\Program Files (x86)\Microsoft Office\Office15
1434 mstsc.exe                   1 140  81  normal
11e8 mstsc.exe                   1 90   69  normal
16ac mstsc.exe                   1 110  71  normal
1328 chrome.exe                  1 134  64  normal       C:\Program Files (x86)\Google\Chrome\Application
13c4 chrome.exe                  1 13   3   normal       C:\Program Files (x86)\Google\Chrome\Application
0294 chrome.exe                  1 16   1   below normal C:\Program Files (x86)\Google\Chrome\Application
1b00 chrome.exe                  1 1184 1   below normal C:\Program Files (x86)\Google\Chrome\Application
1050 chrome.exe                  1 10   1   normal       C:\Program Files (x86)\Google\Chrome\Application
0d70 chrome.exe                  1 9    1   normal       C:\Program Files (x86)\Google\Chrome\Application
1bb8 chrome.exe                  1 10   1   normal       C:\Program Files (x86)\Google\Chrome\Application
11f0 chrome.exe                  1 371  1   below normal C:\Program Files (x86)\Google\Chrome\Application
1bf8 audiodg.exe                 0 0    0
1360 avp.exe                     1 24   15  normal       C:\Program Files (x86)\Kaspersky Lab\Kaspersky Endpoint Security 10 for Windows
1820 avp.exe                     0 0    0
1988 WmiPrvSE.exe                0 0    0
0748 wmi64.exe                   0 0    0
1180 SearchProtocolHost.exe      0 0    0
1700 SearchFilterHost.exe        0 0    0   idle
1b9c Recorder.exe                1 41   25  normal       Y:
1778 RecorderApp.exe             1 71   44  normal       Y:

hardware:
+ Computer
  - ACPI x64-based PC
+ Disk drives
  - Generic- Compact Flash USB Device
  - Generic- MS/MS-Pro USB Device
  - Generic- SD/MMC USB Device
  - Generic- SM/xD-Picture USB Device
  - ST31000524AS ATA Device
  - ST3500418AS ATA Device
+ Display adapters
  - ATI FirePro V3700 (FireGL) (driver 8.911.3.1000)
+ DVD/CD-ROM drives
  - HL-DT-ST BD-RE  BH08LS20 ATA Device
  - Optiarc DVD RW AD-7230S ATA Device
+ Floppy drive controllers
  - Standard floppy disk controller
+ Human Interface Devices
  - HID-compliant consumer control device
  - HID-compliant device
  - HID-compliant device
  - HID-compliant device
  - HID-compliant device
  - HID-compliant device
  - HID-compliant device
  - HID-compliant device
  - Microsoft Input Configuration Device
  - Microsoft Input Configuration Device
  - USB Input Device
  - USB Input Device
  - USB Input Device
  - USB Input Device
  - USB Input Device
  - USB Input Device (Logitech Download Assistant) (driver 1.10.77.0)
+ IDE ATA/ATAPI controllers
  - ATA Channel 0
  - ATA Channel 1
  - ATA Channel 3
  - ATA Channel 4
  - ATA Channel 5
  - Standard AHCI 1.0 Serial ATA Controller
+ Keyboards
  - HID Keyboard Device
  - HID Keyboard Device
+ Mice and other pointing devices
  - HID-compliant mouse
  - HID-compliant mouse
  - HID-compliant mouse
+ Monitors
  - Generic PnP Monitor
  - Generic PnP Monitor
+ Network adapters
  - Broadcom NetXtreme Gigabit Ethernet (driver 10.100.4.0)
+ Portable Devices
  - I:\
  - K:\
  - L:\
  - O:\
+ Processors
  - Intel(R) Xeon(R) CPU           W3520  @ 2.67GHz
  - Intel(R) Xeon(R) CPU           W3520  @ 2.67GHz
  - Intel(R) Xeon(R) CPU           W3520  @ 2.67GHz
  - Intel(R) Xeon(R) CPU           W3520  @ 2.67GHz
  - Intel(R) Xeon(R) CPU           W3520  @ 2.67GHz
  - Intel(R) Xeon(R) CPU           W3520  @ 2.67GHz
  - Intel(R) Xeon(R) CPU           W3520  @ 2.67GHz
  - Intel(R) Xeon(R) CPU           W3520  @ 2.67GHz
+ Security Devices
  - Broadcom Trusted Platform Module (A2), v1.2
+ Sound, video and game controllers
  - High Definition Audio Device
+ Storage volume shadow copies
  - Generic volume shadow copy
  - Generic volume shadow copy
+ System devices
  - ACPI Fixed Feature Button
  - ACPI Power Button
  - Composite Bus Enumerator
  - Direct memory access controller
  - File as Volume Driver
  - Generic Bus
  - High Definition Audio Controller
  - High precision event timer
  - Intel(R) 5520/5500/X58 I/O Hub Control Status and RAS Registers - 3423
  - Intel(R) 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers - 3422
  - Intel(R) 5520/5500/X58 I/O Hub PCI Express Root Port 1 - 3408
  - Intel(R) 5520/5500/X58 I/O Hub PCI Express Root Port 3 - 340A
  - Intel(R) 5520/5500/X58 I/O Hub PCI Express Root Port 7 - 340E
  - Intel(R) 5520/5500/X58 I/O Hub System Management Registers - 342E
  - Intel(R) 5520/5500/X58 I/O Hub to ESI Port - 3405
  - Intel(R) 82801 PCI Bridge - 244E
  - Intel(R) Chipset QuickData Technology device - 3429
  - Intel(R) Chipset QuickData Technology device - 342A
  - Intel(R) Chipset QuickData Technology device - 342B
  - Intel(R) Chipset QuickData Technology device - 342C
  - Intel(R) Chipset QuickData Technology device - 3430
  - Intel(R) Chipset QuickData Technology device - 3431
  - Intel(R) Chipset QuickData Technology device - 3432
  - Intel(R) Chipset QuickData Technology device - 3433
  - Intel(R) ICH10 Family PCI Express Root Port 1 - 3A40
  - Intel(R) ICH10 Family PCI Express Root Port 5 - 3A48
  - Intel(R) ICH10 Family SMBus Controller - 3A30
  - Intel(R) ICH10R LPC Interface Controller - 3A16
  - Microsoft ACPI-Compliant System
  - Microsoft System Management BIOS Driver
  - Microsoft Virtual Drive Enumerator Driver
  - Motherboard resources
  - Numeric data processor
  - PCI bus
  - Plug and Play Software Device Enumerator
  - Programmable interrupt controller
  - Remote Desktop Device Redirector Bus
  - System CMOS/real time clock
  - System speaker
  - System timer
  - Terminal Server Keyboard Driver
  - Terminal Server Mouse Driver
  - UMBus Enumerator
  - UMBus Enumerator
  - UMBus Root Bus Enumerator
  - Volume Manager
+ Universal Serial Bus controllers
  - Intel(R) ICH10 Family USB Enhanced Host Controller - 3A3A
  - Intel(R) ICH10 Family USB Enhanced Host Controller - 3A3C
  - Intel(R) ICH10 Family USB Universal Host Controller - 3A34
  - Intel(R) ICH10 Family USB Universal Host Controller - 3A35
  - Intel(R) ICH10 Family USB Universal Host Controller - 3A36
  - Intel(R) ICH10 Family USB Universal Host Controller - 3A37
  - Intel(R) ICH10 Family USB Universal Host Controller - 3A38
  - Intel(R) ICH10 Family USB Universal Host Controller - 3A39
  - USB Composite Device
  - USB Mass Storage Device
  - USB Root Hub
  - USB Root Hub
  - USB Root Hub
  - USB Root Hub
  - USB Root Hub
  - USB Root Hub
  - USB Root Hub
  - USB Root Hub

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

14

Re: Moving to new server

Some days I wonder why I bother coming into the office.

We had a very nice chat with the man from Kaspersky, but since we couldn't manifest the error, there was little to say really. We did confirm that there was an update to Kaspersky yesterday afternoon, which included a software patch and would have been installed this morning. So maybe that fixed it.

Then I returned to my machine, restarted and the error is back, just the same as before.

I have noticed however that the Lasterror.txt pasted above was in fact generated on our ICT's computer not mine so may differ in some respects from the one I sent yesterday. Just in case, here is one I have just generated myself.

date/time         : 2013-10-11, 10:30:28, 453ms
computer name     : WWT-0127
user name         : robl <admin>
registered owner  : User
operating system  : Windows 7 x64 Service Pack 1 build 7601
system language   : English
system up time    : 8 minutes 29 seconds
program up time   : 439 milliseconds
processors        : 2x AMD Athlon(tm) II X2 215 Processor
physical memory   : 928/1791 MB (free/total)
free disk space   : (C:) 178.21 GB (Z:) 85.88 GB
display mode      : 1280x1024, 32 bit
process id        : $eb8
allocated memory  : 19.87 MB
command line      : RecorderApp.exe /196998
executable        : RecorderApp.exe
exec. date/time   : 2013-07-11 16:25
compiled with     : Delphi 7
madExcept version : 3.0n
callstack crc     : $4e188f1d, $5f148b1b, $5f148b1b
exception number  : 1
exception class   : EOleSysError
exception message : %1 could not be found.

main thread ($ebc):
005265ac RecorderApp.exe ComObj             OleError
005265c4 RecorderApp.exe ComObj             OleCheck
005aafcd RecorderApp.exe ComServ            LoadTypeLibrary
005ab684 RecorderApp.exe ComServ            TComServer.LoadTypeLib
005ab554 RecorderApp.exe ComServ            TComServer.GetTypeLib
00525d8f RecorderApp.exe ComObj             TTypedComObjectFactory.Create
0052624e RecorderApp.exe ComObj             TAutoObjectFactory.Create
00a5f148 RecorderApp.exe MapClasses  340 +1 initialization
00405120 RecorderApp.exe System             InitUnits
00405186 RecorderApp.exe System             @StartExe
00407f5e RecorderApp.exe SysInit            @InitExe
00a91a68 RecorderApp.exe RecorderApp 335 +0 initialization
77463368 kernel32.dll                       BaseThreadInitThunk

modules:
00230000 MS5User.Dll     5.0.0.4            Z:
00300000 C4DLL.DLL       1.0.0.1            Z:
00400000 RecorderApp.exe                    Z:
00dc0000 ms5cnv.dll      5.0.0.10           Z:
10000000 MS5.Dll         5.0.0.12           Z:
68a20000 gdiplus.dll     6.1.7601.18120     C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18120_none_72d2e82386681b36
68bb0000 HHCtrl.ocx      6.1.7600.16385     C:\Windows\system32
68c40000 comctl32.dll    5.82.7601.18201    C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_ec80f00e8593ece5
68cd0000 odbc32.dll      6.1.7601.17514     C:\Windows\system32
6c920000 olepro32.dll    6.1.7601.17514     C:\Windows\system32
6dd20000 uxtheme.dll     6.1.7600.16385     C:\Windows\system32
6dda0000 odbcint.dll     6.1.7600.16385     C:\Windows\system32
6dde0000 SHFolder.dll    6.1.7600.16385     C:\Windows\system32
6df40000 dwmapi.dll      6.1.7600.16385     C:\Windows\system32
6f070000 winmm.dll       6.1.7601.17514     C:\Windows\system32
73300000 mpr.dll         6.1.7600.16385     C:\Windows\system32
74490000 wsock32.dll     6.1.7600.16385     C:\Windows\system32
75600000 winspool.drv    6.1.7601.17514     C:\Windows\system32
75660000 version.dll     6.1.7600.16385     C:\Windows\system32
75730000 CRYPTBASE.dll   6.1.7600.16385     C:\Windows\syswow64
75740000 SspiCli.dll     6.1.7601.17856     C:\Windows\syswow64
757b0000 RPCRT4.dll      6.1.7601.18205     C:\Windows\syswow64
758d0000 sechost.dll     6.1.7600.16385     C:\Windows\SysWOW64
75900000 MSCTF.dll       6.1.7600.16385     C:\Windows\syswow64
759d0000 WS2_32.dll      6.1.7601.17514     C:\Windows\syswow64
75a10000 msvcrt.dll      7.0.7601.17744     C:\Windows\syswow64
75ac0000 IMM32.DLL       6.1.7601.17514     C:\Windows\system32
75b20000 oleaut32.dll    6.1.7601.17676     C:\Windows\syswow64
75d70000 KERNELBASE.dll  6.1.7601.18229     C:\Windows\syswow64
75dc0000 shell32.dll     6.1.7601.18222     C:\Windows\syswow64
76a10000 ole32.dll       6.1.7601.17514     C:\Windows\syswow64
76d10000 user32.dll      6.1.7601.17514     C:\Windows\syswow64
77050000 CLBCatQ.DLL     2001.12.8530.16385 C:\Windows\syswow64
77150000 NSI.dll         6.1.7600.16385     C:\Windows\syswow64
77320000 SHLWAPI.dll     6.1.7601.17514     C:\Windows\syswow64
77380000 GDI32.dll       6.1.7601.17514     C:\Windows\syswow64
77440000 LPK.dll         6.1.7601.18177     C:\Windows\syswow64
77450000 kernel32.dll    6.1.7601.18229     C:\Windows\syswow64
77570000 comdlg32.dll    6.1.7601.17514     C:\Windows\syswow64
77720000 USP10.dll       1.626.7601.18009   C:\Windows\syswow64
77850000 ADVAPI32.dll    6.1.7601.18247     C:\Windows\syswow64
77cf0000 ntdll.dll       6.1.7601.18247     C:\Windows\SysWOW64

processes:
000 Idle                 0 0   0
004 System               0 0   0
164 smss.exe             0 0   0
1b4 csrss.exe            0 0   0
1e8 wininit.exe          0 0   0
204 csrss.exe            1 0   0
230 services.exe         0 0   0
248 winlogon.exe         1 0   0
264 lsass.exe            0 0   0
270 lsm.exe              0 0   0
2cc svchost.exe          0 0   0
310 nvvsvc.exe           0 0   0
328 nvSCPAPISvr.exe      0 0   0
354 svchost.exe          0 0   0
3b8 svchost.exe          0 0   0
3d8 svchost.exe          0 0   0
3f4 svchost.exe          0 0   0
170 svchost.exe          0 0   0
194 audiodg.exe          0 0   0
478 svchost.exe          0 0   0
508 nvxdsync.exe         1 0   0
510 nvvsvc.exe           1 0   0
540 spoolsv.exe          0 0   0
564 svchost.exe          0 0   0
5c4 armsvc.exe           0 0   0
5e4 svchost.exe          0 0   0
618 klnagent.exe         0 0   0
700 avp.exe              0 0   0
3fc svchost.exe          0 0   0
bb4 TrustedInstaller.exe 0 0   0
6f0 daemonu.exe          0 0   0   normal
588 SearchIndexer.exe    0 0   0
ba0 taskhost.exe         1 26  21  normal
a38 dwm.exe              1 15  2   high
3b0 explorer.exe         1 284 203 normal
d38 avp.exe              1 24  15  normal C:\Program Files (x86)\Kaspersky Lab\Kaspersky Endpoint Security 10 for Windows
dbc nvtray.exe           1 81  4   normal
f74 firefox.exe          1 31  37  normal C:\Program Files (x86)\Mozilla Firefox
3ac Recorder.exe         1 40  25  normal Z:
eb8 RecorderApp.exe      1 69  44  normal Z:

hardware:
+ Computer
  - ACPI x64-based PC
+ Disk drives
  - Generic- Compact Flash USB Device
  - Generic- MS/MS-Pro/HG USB Device
  - Generic- SD/MMC USB Device
  - Generic- SD/MMC/MS/MSPRO USB Device
  - Generic- SM/xD-Picture USB Device
  - WDC WD2500AAKX-00U6AA0 ATA Device
+ Display adapters
  - NVIDIA GeForce 9100 (driver 9.18.13.1106)
+ DVD/CD-ROM drives
  - hp DVD-RAM GH40L ATA Device
+ Human Interface Devices
  - USB Input Device
  - USB Input Device
+ IDE ATA/ATAPI controllers
  - ATA Channel 0
  - ATA Channel 1
  - ATA Channel 2
  - ATA Channel 3
  - Standard AHCI 1.0 Serial ATA Controller
+ IEEE 1394 Bus host controllers
  - LSI 1394 OHCI Compliant Host Controller
+ Keyboards
  - HID Keyboard Device
+ Mice and other pointing devices
  - HID-compliant mouse
+ Monitors
  - Generic PnP Monitor
+ Network adapters
  - NVIDIA nForce Networking Controller
+ Processors
  - AMD Athlon(tm) II X2 215 Processor
  - AMD Athlon(tm) II X2 215 Processor
+ Sound, video and game controllers
  - High Definition Audio Device
+ Storage volume shadow copies
  - Generic volume shadow copy
  - Generic volume shadow copy
  - Generic volume shadow copy
  - Generic volume shadow copy
  - Generic volume shadow copy
  - Generic volume shadow copy
  - Generic volume shadow copy
  - Generic volume shadow copy
+ System devices
  - ACPI Fixed Feature Button
  - ACPI Power Button
  - Composite Bus Enumerator
  - Direct memory access controller
  - File as Volume Driver
  - High Definition Audio Controller
  - High precision event timer
  - Microsoft ACPI-Compliant System
  - Microsoft System Management BIOS Driver
  - Microsoft Virtual Drive Enumerator Driver
  - Microsoft Windows Management Interface for ACPI
  - Microsoft Windows Management Interface for ACPI
  - Motherboard resources
  - Motherboard resources
  - Motherboard resources
  - Motherboard resources
  - Numeric data processor
  - NVIDIA nForce PCI System Management
  - NVIDIA nForce System Management Controller (driver 5.1.2600.171)
  - PCI bus
  - PCI standard host CPU bridge
  - PCI standard host CPU bridge
  - PCI standard host CPU bridge
  - PCI standard host CPU bridge
  - PCI standard host CPU bridge
  - PCI standard ISA bridge
  - PCI standard PCI-to-PCI bridge
  - PCI standard PCI-to-PCI bridge
  - PCI standard PCI-to-PCI bridge
  - PCI standard PCI-to-PCI bridge
  - PCI standard PCI-to-PCI bridge
  - PCI standard PCI-to-PCI bridge
  - PCI standard RAM Controller
  - PCI standard RAM Controller
  - PCI standard RAM Controller
  - Plug and Play Software Device Enumerator
  - Programmable interrupt controller
  - Remote Desktop Device Redirector Bus
  - System board
  - System CMOS/real time clock
  - System speaker
  - System timer
  - Terminal Server Keyboard Driver
  - Terminal Server Mouse Driver
  - UMBus Enumerator
  - UMBus Root Bus Enumerator
  - Volume Manager
+ Universal Serial Bus controllers
  - Standard Enhanced PCI to USB Host Controller
  - Standard Enhanced PCI to USB Host Controller
  - Standard OpenHCD USB Host Controller
  - Standard OpenHCD USB Host Controller
  - USB Mass Storage Device
  - USB Root Hub
  - USB Root Hub
  - USB Root Hub
  - USB Root Hub

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

15

Re: Moving to new server

Just noticed your last reply John.

Can you let me know if either of the two error reports posted above relate also to loading the Recorder type library? That would at least narrow things down a bit.

Do you have any comments as to why this particular error should occur on the machines where we have installed the new copy of the db, under SQL Server 2012, but does not happen on identical W7 machines still accessing the old SQL Server 2000 db?

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

16

Re: Moving to new server

John,

Having just re-read this whole thread to try to order my thoughts, I want to ask you to focus on one little thing I mentioned in a post above, because to me it seems crucial.

Basically, using the problem W7 machine, which appears to be correctly set up, but will not run recorder from the desktop icon, if I navigate to the old installation of Recorder on the old fileserver and double-click Recorder.exe the Recorder opens and functions normally, seeing the new copy of the database. If I double-click the same file from one of the machines we haven't modified yet, it opens recorder normally, but seeing the old copy of the database.

I have just tried an experiment, I created an empty folder on my desktop and copied the files from The Recorder 6 folder on the fileserver, into the empty folder. Double clicking Recorder.exe in the new folder, Recorder runs normally.

So it seems to me to all boil down to the fact that the fileserver and the database server are the same machine.

I think we have plenty of spare drivespace on different servers, so it looks like this may be the solution. But I imagine we will need to repoint some registry settings somewhere. With your much more expansive understanding of the software, do you foresee any pitfalls.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

17

Re: Moving to new server

No, that didn't work, back to the drawing board.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

18

Re: Moving to new server

Now I think I have found an actual bug in the way R6 works with SQL 2012 see here http://forums.nbn.org.uk/viewtopic.php?pid=18518#p18518

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

19

Re: Moving to new server

Was there ever a resolution to this "%1 could not be found"? I'm unable to install any workstations at all no matter how I try having migrated my server. I can still install workstations from the old server quite happily.

Les Evans-Hill
Senior Data Officer
Butterfly Conservation, Butterflies for the New Millennium and National Moth Recording Scheme

20

Re: Moving to new server

Well, yes and no. We never managed to get that installation working on all machines and eventually gave up & reverted to SQL2000. We did this because me knew that our Kaspersky license was going to run out and not be renewed as it had caused all sorts of other problems. Even then I have had months of having to endure Kaspersky asking me if I trust Recorder every day and then not remembering when I say yes every day.

However we have now junked Kaspersky and replaced it with Bitdefender. Most of our problems have now vanished and I am about to try migrating R6 to SQL2012 again next week. I will let you know how I get on. I am also getting a new high-spec workstation because I keep crashing MapInfo by asking too much of it.

Don't know anything about your new system, but I guess the problem is likely to have a similar cause. Some kind of security issue preventing installation.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

21

Re: Moving to new server

Many thanks Rob. I've disabled ESET Endpoint Security and it still fails. Our IT have checked sharing and security (I have Full Control) and they can't see anything wrong either. It even crashed with the same failure uninstalling. Bit of a showstopper for my Recorder 6 users who can't migrate to the new server until this is sorted. I'm ok as I run workstation on the server accessed via remote terminal services.

Les Evans-Hill
Senior Data Officer
Butterfly Conservation, Butterflies for the New Millennium and National Moth Recording Scheme

22

Re: Moving to new server

Good luck then, we tried all sorts of things as you can see from the above thread.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

23

Re: Moving to new server

OK we now have something approaching closure on this one, so I will try and summarise for the benefit of future sufferers.

Firstly despite the best efforts of all concerned (mostly myself, Mike Weideli and Alex our ITC) we are nowhere closer to finding the cause of this problem, but we have a fix which works for us here (and I have tested it comprehensively).

Amid all the variables, the only constant we have is SQLserver 2012 causing the problem on any machine which has previously had an installation of Recorder 6 using our older SQL2000 db. I have successfully installed R6 to four brand new machines without problems. Even that is not the full story as we did have the problem on one brand new machine (installed by Alex not me) and even after doing a complete format & reinstall on my own workstation, I still get the problem.

Furthermore the physical location of the workstation, or its proximity to the server do not make any difference (or at least no consistent difference). I have installed to one new workstation plugged into the same network socket as the one Alex failed to install with.

However we do no when the error happens and it happens consistently on affected workstations. The error is caused at the point that RecorderApp.exe is being registered. This occurs at various times. So far we have noted the following:
1. when running workstationsetup.exe, halfway through the install process. after choosing to close or continue after the error message, the installation runs to completion (and the installation appears to be valid in all respects).
2. when running recorder after the problem has occurred with workstationsetup.exe, the error occurs after the splash screen is displayed, but before the login dialog appears. Recorder will not run after this point.
3. manually attempting to register recorderapp.exe from the command line using regsrvr also fails with the same error.
4. I have just discovered that the error also occurs when running a Recorder6 upgrade (but not a dictionary upgrade) from an affected workstation. Here it occurs close to the end of the upgrade process, but after clicking continue or close, the upgrade continues to completion and there appear to be no problems with the installation on the server side (although the workstation is still affected).

So we now have a functioning server install running under SQL2012 with no problems detected apart from those few known bugs relating to that version of the dbms.
Connected to it we have four normally functioning, brand new workstations, two normally functioning installations on remote access (RDP) terminals which are in the same physical box as the SQLserver (effectively local installations on the server) and two installations on affected workstations.

Somehow, rather randomly during all of this we stumbled upon a fix for the affected machines. Refreshing the IP address on the workstation seems to get around the problem.
So on the two affected machines I have created a batch file as follows

ipconfig /release
ipconfig /renew
Z:\Recorder.exe

(our file server is mapped to Z:\)

Saved it somewhere locally as StartRecorder.bat, created a shortcut to that file and replaced the shortcuts to Recorder 6 on the start menu and desktop.

Recorder now works as expected on all our installations. Hooray!

However I have to remember not to run future software upgrades on the affected machines, just in case.

Rob Large
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre

24

Re: Moving to new server

Ha. I came in to the same error today myself. A colleague emailed last week [I was on leave] to tell me of the problen on their PC and to tell me it was working the next day.

Getting to the bottom of your thread I remember I have had to do just this myself on another PC last year. I made a batch file to do just the release and renew.

My problem is my PC has a fixed IP so I guess I have an empty drawing board too now.

Data Manger
Somerset Environmental Records Centre