YAFLogo

Rawbert
  • Rawbert
  • 94.2% (Exalted)
  • YAF Commander Topic Starter
8 years ago
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.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

Sponsor

Rawbert
  • Rawbert
  • 94.2% (Exalted)
  • YAF Commander Topic Starter
8 years ago
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

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
8 years ago
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.

Rawbert
  • Rawbert
  • 94.2% (Exalted)
  • YAF Commander Topic Starter
8 years ago
I did extract the dll from the blog install package and put it in my bin folder but it still didn't work.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
8 years ago
Fixed Build 5502 is online.
Rawbert
  • Rawbert
  • 94.2% (Exalted)
  • YAF Commander Topic Starter
8 years ago
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 'DotNetNuke.Web.Services.IServiceRouteMapper' from assembly 'DotNetNuke.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 'DotNetNuke.Web.Services.IServiceRouteMapper' from assembly 'DotNetNuke.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 'DotNetNuke.Web.Services.IServiceRouteMapper' from assembly 'DotNetNuke.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.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

Boskone
8 years ago
I have the same error on upgrade.
Boskone - A DotNetNuke user.

RDSCC 

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
8 years ago
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 'DotNetNuke.Web.Services.IServiceRouteMapper' from assembly 'DotNetNuke.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 'DotNetNuke.Web.Services.IServiceRouteMapper' from assembly 'DotNetNuke.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 'DotNetNuke.Web.Services.IServiceRouteMapper' from assembly 'DotNetNuke.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.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.

Rawbert
  • Rawbert
  • 94.2% (Exalted)
  • YAF Commander Topic Starter
8 years ago
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].

Rawbert
  • Rawbert
  • 94.2% (Exalted)
  • YAF Commander Topic Starter
8 years ago
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?
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
8 years ago
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.

Rawbert
  • Rawbert
  • 94.2% (Exalted)
  • YAF Commander Topic Starter
8 years ago
Originally Posted by: tha_watcha 

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.

It didn't work.. now I get the 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.

Why is the yaf module install keeps breaking our dnn installs watcha? I don't get it.. but something isn't right.

Rawbert
  • Rawbert
  • 94.2% (Exalted)
  • YAF Commander Topic Starter
8 years ago
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.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

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 仍 YAF Version: 3.0.3
8 years ago
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.

Rawbert
  • Rawbert
  • 94.2% (Exalted)
  • YAF Commander Topic Starter
8 years ago
5504 works, thanks watcha, appreciate the support very much!!

Installed/upgraded with no issues and now my dnn profile images also work!