proxygen Interop dotnet dll failed to load

105 views
Skip to first unread message

Jakes

unread,
Dec 15, 2011, 2:07:27 PM12/15/11
to jni4net
jni4net.proxygen - Copyright (C) 2009 Pavel Savara - licensed under
GPLv3
clr.version :v2.0.50727
clr.arch :64bit
java.home :C:\Program Files\Java\jre6
java.version :1.6.0_26
sun.arch.data.model :64

Loaded net.sf.jni4net.proxygen.config.AssemblyReference
Loaded C:\selenium\dll\prep\PAFAddin.dll
Loaded C:\selenium\dll\prep\WinAutoInterface.dll

System.BadImageFormatException: Could not load file or assembly
'file:///C:\selenium\dll\prep\Interop.TDAPIOLELib.dll' or one of its
dependencie
File name: 'file:///C:\selenium\dll\prep\Interop.TDAPIOLELib.dll'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark
at System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark,
Boolean forIntrosp
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at net.sf.jni4net.proxygen.model.Repository.LoadFile(String file)
at net.sf.jni4net.proxygen.model.Repository.LoadAssemblies()
at net.sf.jni4net.proxygen.model.Repository.Register()
at net.sf.jni4net.proxygen.Program.Work(String[] args)
at net.sf.jni4net.proxygen.Program.Main(String[] args)

=== Pre-bind state information ===
LOG: User = QA-AUTOMATION7\QaUser
LOG: Where-ref bind. Location = C:\selenium\dll\prep
\Interop.TDAPIOLELib.dll
LOG: Appbase = file:///C:/selenium/dll/prep/
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image
will only be probed in default load context, like with
Assembly.Load().
LOG: No application configuration file found.
LOG: Using machine configuration file from C:\Windows\Microsoft.NET
\Framework64\v2.0.50727\config\machine.config.
LOG: Attempting download of new URL file:///C:/selenium/dll/prep/Interop.TDAPIOLELib.dll.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing
terminated.

<jni4net-proxygen xmlns="http://jni4net.sf.net/0.8.6.0/
toolConfig.xsd">
<TargetDirJvm>java</TargetDirJvm>
<TargetDirClr>csharp</TargetDirClr>
<AssemblyReference Assembly="System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<AssemblyReference Assembly="PAFAddin.dll"/>
<AssemblyReference Assembly="WinAutoInterface.dll"/>
<AssemblyReference Assembly="Interop.TDAPIOLELib.dll"/>
<Verbose>true</Verbose>
<ClrType TypeName="PAFAddin.IEInterface"/>
<ClrType TypeName="PAFAddin.QCInterface"/>
</jni4net-proxygen>

Reply all
Reply to author
Forward
0 new messages