YAFLogo

twominds
  • twominds
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Hello. I just installed YAF DNN module on DNN 6.2. I have ASP 4.0 running on the server and received no errors when installing. However, after the install, the site is now down giving the following error.

Could not load file or assembly 'CookComputing.XmlRpcV2, Version=2.5.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Here is the Stack Trace:

[FileLoadException: Could not load file or assembly 'CookComputing.XmlRpcV2, Version=2.5.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]

System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) +0

System.Reflection.RuntimeAssembly.GetExportedTypes() +38

YAF.Core.AssemblyExtensions.b__0(Assembly a) +44

System.Linq.WhereSelectListIterator`2.MoveNext() +110

YAF.Core.AssemblyExtensions.FindModules(IEnumerable`1 assemblies) +318

YAF.Core.YafBaseContainerModule.RegisterExternalModules() +163

YAF.Core.YafBaseContainerModule.Configure(IComponentRegistry componentRegistry) +198

Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules) +119

Autofac.ContainerBuilder.Build(ContainerBuildOptions options) +53

YAF.Core.GlobalContainer.CreateContainer() +104

YAF.Core.GlobalContainer.get_Container() +72

YAF.Core.YafTaskModule.Init(HttpApplication httpApplication) +122

System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +517

System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +194

System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +339

System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +253

[HttpException (0x80004005): Could not load file or assembly 'CookComputing.XmlRpcV2, Version=2.5.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]

System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9089964

System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97

System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256

I could really use some help. Thanks.

Sponsor
squirrel
12 years ago
You're missing a DLL: CookComputing.XmlRpcV2.dll is missing from your /bin folder in the DNN install -- I would check the zip file that YAF came in and see if you can find it and manually upload it to your DNN folder --
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
twominds
  • twominds
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Hi thanks for the reply. I found the DLL and it was there but I uploaded the one found in the YAF folder to my DNN installation and the site is back up. Will this cause issues for future DNN installations as the DLL I uploaded was a different version that the one installed by DNN?
squirrel
12 years ago
tha_watcha will be able to answer that better than I.

In my experience - (in general - not so much applying to YAF or DNN), you can control which version is being looked for using the web.config --

The question would be which version was newer - DNN's or YAF's? At that point, I would probably try to update the web.config and dll file with which ever one was of a newer version. I can't say that you need to do this for your DNN or YAF install, or if it would cause more problems than it's worth. Again - tha_watcha will have more advice with that as he's the YAF to DNN guru here 🙂 I just wanted to get you the 'quick fix' to get the site back online.


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago

Hi thanks for the reply. I found the DLL and it was there but I uploaded the one found in the YAF folder to my DNN installation and the site is back up. Will this cause issues for future DNN installations as the DLL I uploaded was a different version that the one installed by DNN?

Originally Posted by: twominds 

This issue is caused by other Modules which uses the same dll but other Versions. It is the DNN Blog Module which causes the Issue (But this should be fixed in the most recent Version of the Blog Module).

But it could be also other Modules that could be using that dll, so this issue would only reoccur when you install other different Modules.