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...Administration ...Administration ...Install DNN 7.3.2 done 100%, but after log in it displayed error pageInstall DNN 7.3.2 done 100%, but after log in it displayed error page
Previous
 
Next
New Post
9/26/2014 8:33 AM
 

Hi everyone!!

I'm new to DNN. Today, I tried to install DNN 7.3.2 on my local machine (Windows Server 2008 R2, .NET Framework 4.0, SQL Server 2008 R2, IIS 7.5). Everything is OK, install successfully 100%, no error happend. Browse to default page, it required me to login. I logged in under the host account has been setting in the installation previously. It showed the error as below:

DNN Error


 

An error has occurred. 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.TypeAccessException: Attempt by method 'DynamicClass.lambda_method(System.Runtime.CompilerServices.Closure)' to access type 'System.ComponentModel.Composition.Hosting.ComposablePartCatalogCollection' failed. at lambda_method(Closure ) at System.Linq.EnumerableQuery`1.GetEnumerator() at System.ComponentModel.Composition.Primitives.ComposablePartCatalog.GetExports(ImportDefinition definition) at System.ComponentModel.Composition.Hosting.AggregateCatalog.GetExports(ImportDefinition definition) at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) at System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition) at System.ComponentModel.Composition.Hosting.AggregateExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) at System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable`1& exports) at System.ComponentModel.Composition.Hosting.CompositionContainer.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) at System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition) at System.ComponentModel.Composition.Hosting.ImportEngine.TryGetExports(ExportProvider provider, ComposablePart part, ImportDefinition definition, AtomicComposition atomicComposition) at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable`1 imports, AtomicComposition atomicComposition) at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part) at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports) at System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImports(ComposablePart part) at System.ComponentModel.Composition.Hosting.CompositionServices.TryInvoke(Action action) at System.ComponentModel.Composition.Hosting.ComposablePartExportProvider.Compose(CompositionBatch batch) at DotNetNuke.ExtensionPoints.ExtensionPointManager.ComposeParts(Object[] attributeParts) at DotNetNuke.Web.Components.Controllers.ControlBarController..ctor() --- End of inner exception stack trace --- Server 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) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) at System.Activator.CreateInstance[T]() at DotNetNuke.Framework.ServiceLocator`2.InitInstance() at System.Lazy`1.CreateValue() Exception rethrown at [0]: at System.Lazy`1.get_Value() at DotNetNuke.Framework.ServiceLocator`2.get_Instance() at DotNetNuke.UI.ControlPanels.ControlBar.LoadCustomMenuItems() in c:\DNNWebsites\dnndev\Website\admin\ControlPanel\ControlBar.ascx.cs:line 204 at DotNetNuke.UI.ControlPanels.ControlBar.OnInit(EventArgs e) in c:\DNNWebsites\dnndev\Website\admin\ControlPanel\ControlBar.ascx.cs:line 127 at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) 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 DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e) in c:\DNNWebsites\dnndev\Website\Default.aspx.cs:line 748 at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Please help me resolve it. Thank you very much!! 

 
New Post
9/26/2014 6:13 PM
 
I'd recommend double checking your application pool is set to .net 4.0 as that error typically indicates that the framework cannot access MEF (which requires .net 4.0 or higher)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/28/2014 11:46 PM
 

Hi Cathay,

The DefaultAppPool of the Default Website on the ISS has been setting runing on .Net Framework 4.0 (I follow up the instructions of the DNN installation from this site.

 
New Post
9/30/2014 4:47 AM
 
did you install DNN inside the default IIS website? I suggest using a second IIS website instead.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Install DNN 7.3.2 done 100%, but after log in it displayed error pageInstall DNN 7.3.2 done 100%, but after log in it displayed error page


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out