qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Huston <shus...@riverace.com>
Subject Re: C# error when loading org.apache.qpid.messaging.dll
Date Wed, 17 Oct 2012 21:11:05 GMT
Rebuild the org.apache.qpid.messaging.dll in 32 bit mode?

On 10/17/12 5:05 PM, "Rajesh Khan" <rajeshkhan808@gmail.com> wrote:

>I built my org.apache.qpid.messaging.dll in VS2010 64 bit mode. Now when I
>am adding it as a reference to my C# project x86. I get the following
>Any suggestions on how I could resolve this issue ?
>System.BadImageFormatException was unhandled
>  Message=Could not load file or assembly 'org.apache.qpid.messaging,
>Version=1.0.4673.24043, Culture=neutral, PublicKeyToken=7e57166074abee8c'
>or one of its dependencies. An attempt was made to load a program with an
>incorrect format.
>  Source=QpidRx_CSharp
>  FileName=org.apache.qpid.messaging, Version=1.0.4673.24043,
>Culture=neutral, PublicKeyToken=7e57166074abee8c
>  FusionLog==== Pre-bind state information ===
>LOG: User = Adam-PC\Adam
>LOG: DisplayName = org.apache.qpid.messaging, Version=1.0.4673.24043,
>Culture=neutral, PublicKeyToken=7e57166074abee8c
> (Fully-specified)
>LOG: Appbase =
>LOG: Initial PrivatePath = NULL
>Calling assembly : QpidRx_CSharp, Version=, Culture=neutral,
>LOG: This bind starts in default load context.
>LOG: No application configuration file found.
>LOG: Using host configuration file:
>LOG: Using machine configuration file from
>LOG: Post-policy reference: org.apache.qpid.messaging,
>Version=1.0.4673.24043, Culture=neutral, PublicKeyToken=7e57166074abee8c
>LOG: Attempting download of new URL
>ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing
>  StackTrace:
>       at QpidRx_CSharp.Program.Main()
>       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly,
>String[] args)
>       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
>assemblySecurity, String[] args)
>       at 
>       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
>       at System.Threading.ExecutionContext.Run(ExecutionContext
>executionContext, ContextCallback callback, Object state, Boolean
>       at System.Threading.ExecutionContext.Run(ExecutionContext
>executionContext, ContextCallback callback, Object state)
>       at System.Threading.ThreadHelper.ThreadStart()
>  InnerException:

To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org

View raw message