#1
I was on yaf 2.0 already, just wanted to upgrade to this latest build to fix some user/avatar issues. I'm on dnn 7.2.
Install was succesful, but when I clicked return I got this server error. Non of my sites are accessible now.
Did a quick google search and wanted to copy the file CookComputing.XmlRpcV2 into my bin folder as suggested, but it was already there.. then I replaced it with the one from my backup but no change. The two files seem identical as far as name and file size, the only difference was in the file date. My original file was dated 10/30/3013 and the yaf file was dated 12/31/2013.

How can I fix this?

Thanks,
Rob

Full error:

Server Error in '/' Application.

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)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.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)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CookComputing.XmlRpcV2, Version=2.5.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

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() +49
YAF.Core.<>c__DisplayClass2`1.<FindClassesWithAttribute>b__0(Assembly a) +26
System.Linq.WhereSelectArrayIterator`2.MoveNext() +82
YAF.Core.AssemblyExtensions.FindClassesWithAttribute(IEnumerable`1 assemblies) +313
YAF.Core.Modules.DynamicServicesModule.RegisterDynamicServices(Assembly[] assemblies) +175
YAF.Core.Modules.DynamicServicesModule.Load(ContainerBuilder containerBuilder) +30
YAF.Core.BaseModule.Configure(IComponentRegistry componentRegistry) +133
Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules) +127
YAF.Core.BaseModule.RegisterBaseModules(Assembly[] assemblies, IEnumerable`1 exclude) +600
YAF.Core.Modules.BootstrapModule.Load(ContainerBuilder builder) +126
YAF.Core.BaseModule.Configure(IComponentRegistry componentRegistry) +133
Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules) +127
Autofac.ContainerBuilder.Build(ContainerBuildOptions options) +61
YAF.Core.GlobalContainer..cctor() +10

[TypeInitializationException: The type initializer for 'YAF.Core.GlobalContainer' threw an exception.]
YAF.Core.YafTaskModule.Init(HttpApplication httpApplication) +150
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +530
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): The type initializer for 'YAF.Core.GlobalContainer' threw an exception.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12881540
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722601

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
Topic Starter
  • Rawbert
  • Rank: YAF Commander
  • Reputation:
    Exalted
    94.2%
  • Joined: 10/01/2013
  • Posts: 75
  • Thanks: 18 times
  • Was thanked: 2 time(s) in 2 post(s)
#2
I couldn't figure it out so I restored my backup.
I think the conflict is with the DNN Blog module I recently upgraded to the latest version.
If I put the blog dll in the bin folder which is version 2.5, it's looking for the version 3.0 dll which is yaf and vice versa..
Let me know if there's a fix for it Mr Watcha!

Thanks,
Rob
Topic Starter
  • Rawbert
  • Rank: YAF Commander
  • Reputation:
    Exalted
    94.2%
  • Joined: 10/01/2013
  • Posts: 75
  • Thanks: 18 times
  • Was thanked: 2 time(s) in 2 post(s)
#3
Originally Posted by: Rawbert

I couldn't figure it out so I restored my backup.
I think the conflict is with the DNN Blog module I recently upgraded to the latest version.
If I put the blog dll in the bin folder which is version 2.5, it's looking for the version 3.0 dll which is yaf and vice versa..
Let me know if there's a fix for it Mr Watcha!

Thanks,
Rob



Yes it is the blog module, they are using a custom build not the official one. I have the same problem. if you extract the dll from the blog module install package, then it should work with yaf and with the blog module.

I'm working on a permanent solution for that problem.
UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,016
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1211 time(s) in 1036 post(s)
#4
I did extract the dll from the blog install package and put it in my bin folder but it still didn't work.
Topic Starter
  • Rawbert
  • Rank: YAF Commander
  • Reputation:
    Exalted
    94.2%
  • Joined: 10/01/2013
  • Posts: 75
  • Thanks: 18 times
  • Was thanked: 2 time(s) in 2 post(s)
#5
Fixed Build 5502 is online.
UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,016
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1211 time(s) in 1036 post(s)
#6
I have the same error on upgrade.
Boskone - A DotNetNuke user.
RDSCC 
  • Boskone
  • Rank: YAF MVP
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Given to YAF community members who help unravel the Portal Puzzle and YAF.
  • Joined: 27/03/2004
  • Posts: 183
  •  Canada
  • Thanks: 17 times
  • Was thanked: 4 time(s) in 4 post(s)
#7
Originally Posted by: Rawbert

Originally Posted by: tha_watcha

Fixed Build 5502 is online.



Now it throws a different error after a succesful install when I hit the return button and it breaks the whole DNN installation again:

Server Error in '/' Application.
Could not load type '😉otNetNuke.Web.Services.IServiceRouteMapper' from assembly '😉otNetNuke.Web, Version=7.2.0.607, Culture=neutral, PublicKeyToken=null'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.TypeLoadException: Could not load type '😉otNetNuke.Web.Services.IServiceRouteMapper' from assembly '😉otNetNuke.Web, Version=7.2.0.607, Culture=neutral, PublicKeyToken=null'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[TypeLoadException: Could not load type '😉otNetNuke.Web.Services.IServiceRouteMapper' from assembly '😉otNetNuke.Web, Version=7.2.0.607, Culture=neutral, PublicKeyToken=null'.]
System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) +0
System.Reflection.RuntimeAssembly.GetExportedTypes() +49
YAF.Core.<>c__DisplayClass2`1.<FindClassesWithAttribute>b__0(Assembly a) +26
System.Linq.WhereSelectArrayIterator`2.MoveNext() +82
YAF.Core.AssemblyExtensions.FindClassesWithAttribute(IEnumerable`1 assemblies) +313
YAF.Core.Modules.DynamicServicesModule.RegisterDynamicServices(Assembly[] assemblies) +175
YAF.Core.Modules.DynamicServicesModule.Load(ContainerBuilder containerBuilder) +30
YAF.Core.BaseModule.Configure(IComponentRegistry componentRegistry) +133
Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules) +127
YAF.Core.BaseModule.RegisterBaseModules(Assembly[] assemblies, IEnumerable`1 exclude) +600
YAF.Core.Modules.BootstrapModule.Load(ContainerBuilder builder) +126
YAF.Core.BaseModule.Configure(IComponentRegistry componentRegistry) +133
Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules) +127
Autofac.ContainerBuilder.Build(ContainerBuildOptions options) +61
YAF.Core.GlobalContainer..cctor() +10

[TypeInitializationException: The type initializer for 'YAF.Core.GlobalContainer' threw an exception.]
YAF.Core.YafTaskModule.Init(HttpApplication httpApplication) +150
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +530
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): The type initializer for 'YAF.Core.GlobalContainer' threw an exception.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12881540
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722601


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929


Technically that error is not caused by yaf itself. Looks like you have some dnn related code which is not updated. I uploaded build 5503. Yaf no longer tries to register DNN interfaces.


UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,016
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1211 time(s) in 1036 post(s)
#8
5503 is still throwing a server error watcha!! 😞

Could not load file or assembly 'nunit.framework, Version=2.4.1.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'nunit.framework, Version=2.4.1.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'nunit.framework, Version=2.4.1.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Topic Starter
  • Rawbert
  • Rank: YAF Commander
  • Reputation:
    Exalted
    94.2%
  • Joined: 10/01/2013
  • Posts: 75
  • Thanks: 18 times
  • Was thanked: 2 time(s) in 2 post(s)
#9
I looked in my bin folder, I have nunit version 2.2.8.0 in there.. should I try downloading version 2.4.1 from sourceforge  and overwrite the files in my bin folder?
Topic Starter
  • Rawbert
  • Rank: YAF Commander
  • Reputation:
    Exalted
    94.2%
  • Joined: 10/01/2013
  • Posts: 75
  • Thanks: 18 times
  • Was thanked: 2 time(s) in 2 post(s)
#10
Originally Posted by: Rawbert

I looked in my bin folder, I have nunit version 2.2.8.0 in there.. should I try downloading version 2.4.1 from sourceforge  and overwrite the files in my bin folder?



I guess this will work. But this is not related to YAF. This dll is not used by YAF.

UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,016
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1211 time(s) in 1036 post(s)
#11
The It crossing error does look like it's yaf related.
Here's the full error:

Could not load file or assembly 'ITCrossing.MetaPostProvider, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'ITCrossing.MetaPostProvider, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'ITCrossing.MetaPostProvider, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Stack Trace:


[FileNotFoundException: Could not load file or assembly 'ITCrossing.MetaPostProvider, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.]
System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) +0
System.Reflection.RuntimeAssembly.GetExportedTypes() +49
YAF.Core.<>c__DisplayClass2`1.<FindClassesWithAttribute>b__0(Assembly a) +26
System.Linq.WhereSelectArrayIterator`2.MoveNext() +82
YAF.Core.AssemblyExtensions.FindClassesWithAttribute(IEnumerable`1 assemblies) +313
YAF.Core.Modules.DynamicServicesModule.RegisterDynamicServices(Assembly[] assemblies) +175
YAF.Core.Modules.DynamicServicesModule.Load(ContainerBuilder containerBuilder) +30
YAF.Core.BaseModule.Configure(IComponentRegistry componentRegistry) +133
Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules) +127
YAF.Core.BaseModule.RegisterBaseModules(Assembly[] assemblies, IEnumerable`1 exclude) +600
YAF.Core.Modules.BootstrapModule.Load(ContainerBuilder builder) +126
YAF.Core.BaseModule.Configure(IComponentRegistry componentRegistry) +133
Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules) +127
Autofac.ContainerBuilder.Build(ContainerBuildOptions options) +61
YAF.Core.GlobalContainer..cctor() +10

[TypeInitializationException: The type initializer for 'YAF.Core.GlobalContainer' threw an exception.]
YAF.Core.YafTaskModule.Init(HttpApplication httpApplication) +150
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +530
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): The type initializer for 'YAF.Core.GlobalContainer' threw an exception.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12881540
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722601
Topic Starter
  • Rawbert
  • Rank: YAF Commander
  • Reputation:
    Exalted
    94.2%
  • Joined: 10/01/2013
  • Posts: 75
  • Thanks: 18 times
  • Was thanked: 2 time(s) in 2 post(s)
#12
Originally Posted by: Rawbert

The It crossing error does look like it's yaf related



Well yaf tries to register all assemblies. Including there references. But its not the fault of yaf if any dll is missing. However i updated the downloads again. From now on it registers only the assemblies yaf is actually using.


UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,016
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1211 time(s) in 1036 post(s)
#13
5504 works, thanks watcha, appreciate the support very much!!
Installed/upgraded with no issues and now my dnn profile images also work!
Topic Starter
  • Rawbert
  • Rank: YAF Commander
  • Reputation:
    Exalted
    94.2%
  • Joined: 10/01/2013
  • Posts: 75
  • Thanks: 18 times
  • Was thanked: 2 time(s) in 2 post(s)
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved