Masstransit.Host : failed to start BadImageFormatException

16 views
Skip to first unread message

Kiran

unread,
Oct 13, 2016, 3:50:19 PM10/13/16
to masstransit-discuss
I am calling sybase which has C++ dlls. When Masstransit Host starts it throws following error. How do I configure the host to ignore c++ dlls. 

C:\..bin\Debug>MassTransit.Host.exe 
Starting RapidTransit Host
MassTransit.Host.MassTransitHostService Error: 0 : Service failed to start, System.BadImageFormatException: Could not load file or assembly 'file:///C:\..\Debug\sbgse2.dll' or one of its dependencies. The module was expected to contain
an assembly manifest.
File name: 'file:///C:\...\bin\Debug\sbgse2.dll'
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark,
 IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMa

Thanks

Chris Patterson

unread,
Oct 13, 2016, 5:26:45 PM10/13/16
to masstrans...@googlegroups.com
Submit an issue and I'll get this fixed. 

__
Chris Patterson




--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/b932cfed-8906-4926-92c5-e191a27f250c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kiran

unread,
Oct 14, 2016, 9:11:31 AM10/14/16
to masstransit-discuss
Reply all
Reply to author
Forward
0 new messages