Subject Issue deploying FirebirdSql.Data.Bdp...
Author Scott Price
Hi folks,


I am trying to deploy the FirebirdSql.Data.Bdp assembly to a non-development
machine which currently has an Firebird 1.5.2 SuperServer install.

I have a BdpConnection which when called on this machine throws an exception
about not being able to GetTypes information from the assembly.

I have used Reflector to find any required libraries, and all are seemingly
present. I was surprised to find references to FbEmbed.dll in the FbClient
class, but I then went and installed that DLL in the \System32 and still I
get the error. I am assuming I have missed some other required deployable
file, but I don't know what it is. Could someone please help me with some
ideas/options. :)

I find it a little strange, so I grabbed a little error report for inclusion
here:

===BEGIN REPORT=======================================
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Reflection.ReflectionTypeLoadException: One or more of the types in
the assembly unable to load.
at System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at Borland.Data.Provider.BdpConnection.e()
at Borland.Data.Provider.BdpConnection.Open()
at
Borland.Eco.Persistence.Connection.AbstractIDatabaseImpl.Borland.Eco.Persist
ence.Connection.IDatabase.Open()
at
Borland.Eco.Persistence.ConnectionPool.RetrieveDatabaseConnection(Boolean
exclusive)
at
Borland.Eco.Persistence.PersistenceMapperDb.GetPersistenceMapper(ITypeSystem
Service typeSystemService)
at Borland.Eco.Handles.DefaultEcoSpace.set_Active(Boolean value)
at MainForm.TMainForm.btnOpenEcoSpace_Click(Object sender, EventArgs e)
in E:\Personal Projects\Peter Harvey\Losses Per
Country\Program\MainForm.pas:line 296
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
EstimatedLosses
Assembly Version: 1.0.2074.807
Win32 Version: 1.0.2074.807
CodeBase: file:///C:/Estimated%20Losses/EstimatedLosses.exe
----------------------------------------
Borland.Delphi
Assembly Version: 9.0.1882.30496
Win32 Version: 9.0.1882.30496
CodeBase:
file:///c:/windows/assembly/gac/borland.delphi/9.0.1882.30496__91d62ebb5b0d1
b1b/borland.delphi.dll
----------------------------------------
Borland.VclRtl
Assembly Version: 9.0.1882.30496
Win32 Version: 9.0.1882.30496
CodeBase:
file:///c:/windows/assembly/gac/borland.vclrtl/9.0.1882.30496__91d62ebb5b0d1
b1b/borland.vclrtl.dll
----------------------------------------
Borland.Eco.Windows.Forms
Assembly Version: 9.0.1882.30496
Win32 Version: 9.0.1882.30496
CodeBase:
file:///c:/windows/assembly/gac/borland.eco.windows.forms/9.0.1882.30496__91
d62ebb5b0d1b1b/borland.eco.windows.forms.dll
----------------------------------------
Borland.Eco.Interfaces
Assembly Version: 9.0.1882.30496
Win32 Version: 9.0.1882.30496
CodeBase:
file:///c:/windows/assembly/gac/borland.eco.interfaces/9.0.1882.30496__91d62
ebb5b0d1b1b/borland.eco.interfaces.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c56193
4e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.d
ll
----------------------------------------
Borland.Eco.Handles
Assembly Version: 9.0.1882.30496
Win32 Version: 9.0.1882.30496
CodeBase:
file:///c:/windows/assembly/gac/borland.eco.handles/9.0.1882.30496__91d62ebb
5b0d1b1b/borland.eco.handles.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/
system.drawing.dll
----------------------------------------
Borland.Data.Provider
Assembly Version: 2.2.0.0
Win32 Version: 2.2.0.0
CodeBase:
file:///c:/windows/assembly/gac/borland.data.provider/2.2.0.0__91d62ebb5b0d1
b1b/borland.data.provider.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/sys
tem.data.dll
----------------------------------------
Borland.Eco.Core
Assembly Version: 9.0.1882.30496
Win32 Version: 9.0.1882.30496
CodeBase:
file:///c:/windows/assembly/gac/borland.eco.core/9.0.1882.30496__91d62ebb5b0
d1b1b/borland.eco.core.dll
----------------------------------------
Borland.Eco.Persistence
Assembly Version: 9.0.1882.30496
Win32 Version: 9.0.1882.30496
CodeBase:
file:///c:/windows/assembly/gac/borland.eco.persistence/9.0.1882.30496__91d6
2ebb5b0d1b1b/borland.eco.persistence.dll
----------------------------------------
Borland.Data.Common
Assembly Version: 2.2.0.0
Win32 Version: 2.2.0.0
CodeBase:
file:///c:/windows/assembly/gac/borland.data.common/2.2.0.0__91d62ebb5b0d1b1
b/borland.data.common.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/syst
em.xml.dll
----------------------------------------
FirebirdSql.Data.Bdp
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///c:/windows/assembly/gac/firebirdsql.data.bdp/1.0.0.0__c7d0a028dd9e54
5b/firebirdsql.data.bdp.dll
----------------------------------------

===END REPORT=======================================



Regards,


Scott :)