Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Error Upgrading to 7.02.03:  Could not load file or assembly Fujitsu.COBOLError Upgrading to 7.02.03: Could not load file or assembly Fujitsu.COBOL
Previous
 
Next
New Post
10/23/2015 10:44 AM
 

So I had a site that was running 05.04.04. I went through the recommended upgrade path 5.06.08, 6.02.08 and finally 7.02.03. Everything went fine until I got 7.02.03. I can get to the login screen, but when I login I get an error that points to Fujitsu.Cobol. I've searched around and can't find anything pointing to a similar problem. I have no idea what the reference is from. It's not in my web.config. Here's the error. Any help would be greatly appreciated.



[Thread:16][ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.ExtensionPoints.ExtensionPointManager' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Fujitsu.COBOL, Version=3.1.110.0, Culture=neutral, PublicKeyToken=fac0fe3cab973246' or one of its dependencies. The system cannot find the file specified.

at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)

at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)

at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)

at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)

at System.Reflection.CustomAttribute.IsCustomAttributeDefined(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Int32 attributeCtorToken, Boolean mustBeInheritable)

at System.Reflection.CustomAttribute.IsDefined(RuntimeType type, RuntimeType caType, Boolean inherit)

at System.RuntimeType.IsDefined(Type attributeType, Boolean inherit)

at System.ComponentModel.Composition.AttributedModel.AttributedPartCreationInfo.IsPartDiscoverable()

at System.ComponentModel.Composition.AttributedModel.AttributedModelDiscovery.CreatePartDefinitionIfDiscoverable(Type type, ICompositionElement origin)

at System.ComponentModel.Composition.Hosting.TypeCatalog.get_PartsInternal()

at System.ComponentModel.Composition.Hosting.TypeCatalog.GetEnumerator()

at System.ComponentModel.Composition.Hosting.AssemblyCatalog.GetEnumerator()

at System.Linq.EnumerableQuery`1.GetEnumerator()

at System.Linq.EnumerableQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at DotNetNuke.ExtensionPoints.SafeDirectoryCatalog..ctor(String directory)

at DotNetNuke.ExtensionPoints.ExtensionPointManager.InitializeMefCompositionContainer()

at DotNetNuke.ExtensionPoints.ExtensionPointManager..cctor()

--- End of inner exception stack trace ---

at DotNetNuke.ExtensionPoints.ExtensionPointManager.ComposeParts(Object[] attributeParts)

at DotNetNuke.ExtensionPoints.ExtensionPointManager..ctor()

at DotNetNuke.Web.Components.Controllers.ControlBarController..ctor()

--- End of inner exception stack trace ---

at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

at System.Activator.CreateInstance[T]()

at DotNetNuke.Framework.ServiceLocator`2.InitInstance()

at System.Lazy`1.CreateValue()

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Lazy`1.get_Value()

at DotNetNuke.Framework.ServiceLocator`2.get_Instance()

at DotNetNuke.UI.ControlPanels.ControlBar.LoadCustomMenuItems()

at DotNetNuke.UI.ControlPanels.ControlBar.OnInit(EventArgs e)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Control.AddedControl(Control control, Int32 index)

at System.Web.UI.ControlCollection.AddAt(Int32 index, Control child)

at DotNetNuke.UI.Skins.Skin.InjectControlPanel()

at DotNetNuke.UI.Skins.Skin.OnInit(EventArgs e)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Control.AddedControl(Control control, Int32 index)

at System.Web.UI.ControlCollection.Add(Control child)

at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

--- End of inner exception stack trace ---

 
New Post
10/23/2015 11:05 AM
 
did you check /bin and /bin providers for outdated DLLs?
This is for sure not a core dependency, maybe a 3rd party module.
Did you switch the application pool to ASP.Net 4 prior the DNN 7 upgrade?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/26/2015 10:04 AM
 

Thanks Sebastian - Your intuition was correct.  It turns our that it was an old module that was causing the problem.  I started removing dlls from the bin directory and found the offender.  It looks like older versions of DNN didn't immediately throw an error when initially loading the site because I believe that the errors were occurring even though they weren't apparent. 

I appreciate your help.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Error Upgrading to 7.02.03:  Could not load file or assembly Fujitsu.COBOLError Upgrading to 7.02.03: Could not load file or assembly Fujitsu.COBOL


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out