“Could not load file or assembly”/ “or one of its dependencies. The module was expected to contain an assembly manifest.”?

Exclude the sharpsvn dlls from the NServiceBus assemblyscanning by configuring NSB with a explicit list of assemblies toi scan.

Exclude the sharpsvn dlls from the NServiceBus assemblyscanning by configuring NSB with a explicit list of assemblies toi scan: Configure. With("List of your assemblies that contain messagehandlers")... Make sure to include NServiceBus.core. Dll in the list if you're using the Saga feature.

Hope this helps!

I have configure three dll(NServiceBus. Dll,NServiceBus.core. Dll,NServiceBus.ObjectBuilder.

CastleWindsor?. Dll) ,then this error is comming Type NServiceBus.Unicast.Transport. CompletionMessage was not registered in the serializer.

Check that it appears in the list of configured assemblies/types to scan. Please tell me why this error is coming? – Susanta Samanta Jan 6 '10 at 7:56 1 The completion message lives in the core dll so you should be fine with the dll:s you mention.

Try specifying the core assembly using: typeof(CompletionMessage). Assembly and see if that helps? – Andreas Öhlund Jan 6 '10 at 20:03 Can you please specify in details?

– Susanta Samanta Jan 7 '10 at 7:13 Can you post your initialization code here? (the Configure. With(...) stuff) – Andreas Öhlund Jan 7 '10 at 8:29 My code is bellow: myDllAssembly.

SetValue(Assembly. LoadFile(@"..NServiceBus. Dll"), 0); myDllAssembly.

SetValue(Assembly. LoadFile(@"..NServiceBus.Core. Dll"),1); myDllAssembly.

SetValue(Assembly. LoadFile(@"..NServiceBus.ObjectBuilder. CastleWin?dsor.

Dll"), 2); Bus = NServiceBus.Configure. With(myDllAssembly).SpringBuilder(). MsmqSubscriptionStorag?e() .XmlSerializer().MsmqTransport().

IsTransactional(true). PurgeOnStartup(false) .UnicastBus(). ImpersonateSender(false).CreateBus().Start(); – Susanta Samanta Jan 7 '10 at 8:45.

Susanta, We recently committed an additional API which can be things easier for you by allowing you to specify which assemblies not to load as follows: Configure. With(AllAssemblies. Except("SharpSvn-DB44-20-Win32.

Dll"))... // rest of your config.

The SharpSvn-DB44-20-Win32. Dll is an optional helper dll for SharpSvn.dll. It contains only unmanaged code.It contains support for directly accessing BDB repositories on the filesystem.

You don't need this DLL if you only use fsfs (file://) and/or remote repositories. The SASL dll is also optional, but you need that when you want to use svn:// repositories.

1 If I only use sharpsvn dll or nServicebus dll in my project then no problem occurs, but when I use both SharpSvn and Nservicebus then(only executing time, not compile time) the above error throws. Kindly give a solution. – Susanta Samanta Jan 5 '10 at 12:54.

The problem get resolved by using the following bus configuration. Bus = NServiceBus.Configure. With(typeof(IMessage).

Assembly, typeof(CompletionMessage). Assembly) .SpringBuilder(). MsmqSubscriptionStorage().XmlSerializer().MsmqTransport() .

IsTransactional(true). PurgeOnStartup(false).UnicastBus(). ImpersonateSender(false) .

LoadMessageHandlers().CreateBus().Start(); Thanks to Andreas.

I'm not sure if this will help you or not, but I have stumbled on this thread: social.msdn.microsoft.com/Forums/en/vsde... It appears that a few people have seen this error when building / running assemblies with the same name, so for example: SomeAssembly. Exe SomeAssembly. Dll Could this be applicable in your case?

No, this is not applicable. – Susanta Samanta Jan 5 '10 at 11:39.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions