PDA

View Full Version : Issue when running VertexFX Bridge LP API Tester



astepanov83
03-15-2016, 11:40 AM
Hi,

I have a Vertex Bridge LP API 10.5 installed and I'm trying to run the LP API tester utility. At startup it seems to throw an exception and the message below is appeared. After pressing "Continue" button, the main window is shown, but loading LP dll leads to the same error anyway. Could you please help me in figuring out why it behaves such way? I'm running it under Windows 8.1 Pro. I have VS2010, 2013, 2015 installed and all the prerequisites and .net frameworks installed too.

************* Exception Text **************
System.BadImageFormatException: Could not load file or assembly 'VertexFXBridgeAPI, Version=10.5.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'VertexFXBridgeAPI, Version=10.5.1.0, Culture=neutral, PublicKeyToken=null'
at VertexFX_Bridge_LP_API_Tester.frmMain.frmMain_Load (Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


=== Pre-bind state information ===
LOG: DisplayName = VertexFXBridgeAPI, Version=10.5.1.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/VertexFX Bridge LP API/
LOG: Initial PrivatePath = NULL
Calling assembly : VertexFX Bridge LP API Tester, Version=10.5.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\VertexFX Bridge LP API\VertexFX Bridge LP API Tester.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\co nfig\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Program Files (x86)/VertexFX Bridge LP API/VertexFXBridgeAPI.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.






************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
VertexFX Bridge LP API Tester
Assembly Version: 10.5.0.0
Win32 Version: 10.5.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/VertexFX%20Bridge%20LP%20API/VertexFX%20Bridge%20LP%20API%20Tester.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------


************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.


For example:


<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Hassan-HS
03-17-2016, 03:06 PM
Hi,

Thanks for contacting us.....

At first please use the attached tester and make sure that you referenced your project with the attached DLL also (Bridge API V 10.5.4).

let me know if you need anything else.


Note: When your LP DLL will be compatible with VFX Bridge 10.5.7 up and VFX Bridge 10.3.12 up.

Hassan-HS
03-17-2016, 03:17 PM
Hi,

Thanks for contacting us.....

At first please use the attached tester and make sure that you referenced your project with the attached DLL also (Bridge API V 10.5.4).

let me know if you need anything else.


Note: Your LP DLL will be compatible with VFX Bridge 10.5.7 up and VFX Bridge 10.3.12 up.

astepanov83
03-18-2016, 07:05 AM
Hi Hassan,

Thanks for your reply. I have already solved this issue. It has occurred that your tester app had been built with AnyCpu configuration, but VertexFBBridgeAPI.dll with x86 (or Win32). This led to a configuration mismatch on a x64 OS.

Hassan-HS
03-18-2016, 03:56 PM
Hi too :)


Thanks for your reply. I have already solved this issue. It has occurred that your tester app had been built with AnyCpu configuration, but VertexFBBridgeAPI.dll with x86 (or Win32). This led to a configuration mismatch on a x64 OS.

Yes we noticed that so we released the new tester which is targeted to x86.

let me know if you need anything.

korence
05-23-2016, 02:20 AM
Hello, guys. Thanks for your such nice post to teach us such more. Thanks.