1

Re: Add-in NBN Exchange Format

Hi, I'm having problems with the add-in that exports data in the correct format to send to the NBN Gateway.

When I run the export I get the following message: An internal exception occurred in the NBN Exchange addin in Stored procedure: nbn_exchange_create_tables.  The exception message is: Could not find stored procedure 'nbn_exchange_create_tables'

I downloaded the file and unzipped it into N:\Recorder 6 Server\Addins\Rec6_NBNExchangeAddin

Ellie

Eleanor Knott
Devon Biodiversity Records Centre

Eleanor Knott
Devon Biodiversity Records Centre

2

Re: Add-in NBN Exchange Format

Hi Eleanor,

It sounds like it did not install properly. Did you install it by following the instructions in the Readme.txt file supplied in the download zip file?

Note to Lynn - the addin download page mentions a Word doc supplied in the download on page http://www.jncc.gov.uk/page-4597 but there is just a readme.txt file instead.

Best wishes

John van Breda
Biodiverse IT

3

Re: Add-in NBN Exchange Format

Hi John,

I have just tried to re-install the add-in, following the instructions.  Unfortunately, it hasn't helped!  When I try to install it, it lets me get as far as the SQL server login.  When I login it (using the Windows user account) it says that it 'cannot generate SSPI context' (does that sound familiar?!!!) and says that the installation failed.

However, if I close down Recorder & re-open it, the add-in has apparently been installed - but it gives the same error message (An internal exception occurred in the NBN Exchange addin in Stored procedure: nbn_exchange_create_tables.  The exception message is: Could not find stored procedure 'nbn_exchange_create_tables') when I try and export some data.

Help!
Ellie

Eleanor Knott
Devon Biodiversity Records Centre

4

Re: Add-in NBN Exchange Format

I managed to install the NBN export addin (eventually).  Now I have a new computer, and need to install it again, as it doesn't appear to be available.  But, when I click on the install add-ins button I get the following error message.

I'm getting bored of this - when is this damn programme going to work properly?

Ellie

date/time         : 2010-03-23, 16:49:46, 634ms
computer name     : DWT0034
user name         : eknott
operating system  : Windows XP Service Pack 3 build 2600
system language   : English
system up time    : 7 hours 5 minutes
program up time   : 15 seconds
processor         : Intel(R) Celeron(R) CPU 2.60GHz
physical memory   : 592/1247 MB (free/total)
free disk space   : (C:) 23.20 GB (N:) 19.33 GB
display mode      : 1024x768, 32 bit
process id        : $ea4
allocated memory  : 14.54 MB
command line      : RecorderApp.exe /262546
executable        : RecorderApp.exe
exec. date/time   : 2009-11-23 08:25
version           : 6.14.5.218
madExcept version : 2.7h
exception class   : EOleSysError
exception message : Class not registered.

main thread ($8ac):
00506089 RecorderApp.exe 
7e4292de user32.dll       SendMessageW
7e42a993 user32.dll       CallWindowProcA
7e4196c2 user32.dll       DispatchMessageA

modules:
00340000 C4DLL.DLL       1.0.0.1          N:\Recorder 6 Server
003b0000 MS5User.Dll     5.0.0.4          N:\Recorder 6 Server
00400000 RecorderApp.exe 6.14.5.218       N:\Recorder 6 Server
011e0000 ms5cnv.dll      5.0.0.10         N:\Recorder 6 Server
01ad0000 odbcint.dll     3.525.1132.0     C:\WINDOWS\system32
02970000 xpsp2res.dll    5.1.2600.5512    C:\WINDOWS\system32
03620000 SQLOLEDB.RLL    2000.85.1132.0   C:\Program Files\Common Files\System\Ole DB
03630000 msadcer.dll     2.81.1132.0      C:\Program Files\Common Files\System\msadc
03970000 SHOWUN~1.OCX    6.0.0.13         N:\RECORD~2\Addins
03ba0000 STDVAL~1.DLL    6.14.3.208       N:\RECORD~2\Addins
10000000 MS5.Dll         5.0.0.12         N:\Recorder 6 Server
20000000 xpsp3res.dll    5.1.2600.5512    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
662b0000 hnetcfg.dll     5.1.2600.5512    C:\WINDOWS\system32
68000000 rsaenh.dll      5.1.2600.5507    C:\WINDOWS\system32
68100000 dssenh.dll      5.1.2600.5507    C:\WINDOWS\system32
69b10000 msxml4.dll      4.20.9876.0      c:\WINDOWS\system32
6d4f0000 DBNETLIB.DLL    2000.85.1132.0   C:\WINDOWS\system32
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
71f80000 security.dll    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
74720000 MSCTF.dll       5.1.2600.5512    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
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
767f0000 schannel.dll    5.1.2600.5834    C:\WINDOWS\system32
769c0000 USERENV.dll     5.1.2600.5512    C:\WINDOWS\system32
76b40000 winmm.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
77a80000 crypt32.dll     5.131.2600.5512  C:\WINDOWS\system32
77b20000 MSASN1.dll      5.1.2600.5875    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.5912    C:\WINDOWS\system32
77fe0000 Secur32.dll     5.1.2600.5834    C:\WINDOWS\system32
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
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

Eleanor Knott
Devon Biodiversity Records Centre

5

Re: Add-in NBN Exchange Format

Hello Eleanor

Hope you get the Recorder NBN Exchange addin working on your new machine. I had a similar error message "class not registered" on my machine when trying to import records. This turned out to be due to a missing dll - msjetoledb40.dll in the system 32 folder (I think all to do with my machine having a newer version of MDAC which doesn't now contain the Microsoft Jet components). I am not sure if this is the same issue with the addin, it would be good to record which dlls are missing to see if there is a common theme

Anyway, Thames Valley Environmental Records Centre have just posted a XML report written by Mike Weideli  (see http://forums.nbn.org.uk/viewtopic.php?pid=6219#p6219) which allows surveys to be exported in the NBN Exchange Format. This could be an alternative way of exporting your records.

There are a couple of typos in the column names which need correcting and I would remove reference to  LC_strip_LFCR function if you don't have access to the Recorder database to add this function. Let me know if you need help with these modifications

Best wishes
Graham
NBN technical Liaison Officer

6 (edited by sallyrankin 25-03-2010 08:24:01)

Re: Add-in NBN Exchange Format

Ellie,

Have you tried Rob Large's solution - post #14 in http://forums.nbn.org.uk/viewtopic.php?pid=5403#p5403? Some of the other posts in that topic may also help.

Sally Rankin, JNCC Recorder Approved Expert
E-mail: s.rankin@btinternet.com
Telephone: 01491 578633
Mobile: 07941 207687