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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Can not edit pages on new 9.1 installation.Can not edit pages on new 9.1 installation.
Previous
 
Next
New Post
2/5/2018 9:49 AM
 

Hi,

I have a brand new installation on V9.1 and when I click the pencil icon nothing happens.

If I go through the pages/select edit on the page I want to edit route it goes into edit mode but when I try to add a module I don't get any modules showing and get the error 'Error occurred when request service 'GetPortalDesktopModules'.

If I try and come out of edit mode nothing happens when I click 'close'

If I look in the admin logs there is an error as below :

 

Message:Thread was being aborted.

StackTrace:

 at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.AbortCurrentThread() at Evoq.Content.Library.ContentEditor.ContentEditorManager.AutoSetUserMode() at Evoq.Content.Library.ContentEditor.ContentEditorManager.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at Evoq.Content.Library.UI.Skins.EventListeners.EvoqContentSkinEventListener.OnSkinInit(Object sender, SkinEventArgs e)

 

Can anybody help with this please :)
I used to really love developing with DNN up to V9, now it has become painful.

Jacqui.

 
New Post
2/6/2018 11:54 PM
 
please restart your IIS application, clear local browser cache and retry.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/7/2018 3:19 AM
 
Thanks Sebastian,

I tried this and no luck, however I am getting a better clue now as I  am now getting the errors :
Exception was thrown at line 122, column 12896 in http://localhost:60421/DesktopModules/admin/Dnn.PersonaBar/scripts/exports/export-bundle.js?cdv=83&t=0.04124235698278150x800a1391 -JavaScript runtime error: 'Symbol' is undefined
Exception was thrown at line 122, column 13405 in http://localhost:60421/DesktopModules/admin/Dnn.PersonaBar/scripts/exports/export-bundle.js?cdv=83&t=0.04124235698278150x800a138f -JavaScript runtime error: Object.keys: argument is not an Object
More promisingly is the error 'Failed to load resource: the server responded with a status of 500 (Internal Server Error) for the call to /API/Internalservices/controlbar/ToggleUserMode
I will follow that lead for a while but if you have any ideas would be grateful.
Jacqui.
 
New Post
2/7/2018 6:32 AM
Accepted Answer 
Hi,

Got it sorted.
I dug a bit deeper into the error '500 (Internal Server Error) for the call to /API/Internalservices/controlbar/ToggleUserMode', and found this little nugget hidden in the middle of one of the errors in the network tab in one of the browsers : "InnerException":{"Message":"An error has occurred.","ExceptionMessage":"Could not load file or assembly 'nunit.framework, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies.
I added the nunit.framework dll into the bin folder and it all now works.


Incase it helps anyone, here is the full exception message that led me (eventually) to it : {"Message":"An error has occurred.","ExceptionMessage":"An error occurred when trying to create a controller of type 'ControlBarController'. Make sure that the controller has a parameterless public constructor.","ExceptionType":"System.InvalidOperationException","StackTrace":" at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)\r\n at System.Web.Http.Tracing.Tracers.HttpControllerActivatorTracer.<>c__DisplayClass2.<system.web.http.dispatcher.ihttpcontrolleractivator.create>b__0()\r\n at System.Web.Http.Tracing.ITraceWriterExtensions.TraceBeginEnd(ITraceWriter traceWriter, HttpRequestMessage request, String category, TraceLevel level, String operatorName, String operationName, Action`1 beginTrace, Action execute, Action`1 endTrace, Action`1 errorTrace)\r\n at System.Web.Http.Tracing.Tracers.HttpControllerActivatorTracer.System.Web.Http.Dispatcher.IHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)\r\n at System.Web.Http.Controllers.HttpControllerDescriptor.CreateController(HttpRequestMessage request)\r\n at System.Web.Http.Tracing.Tracers.HttpControllerDescriptorTracer.<>c__DisplayClass2.b__0()\r\n at System.Web.Http.Tracing.ITraceWriterExtensions.TraceBeginEnd(ITraceWriter traceWriter, HttpRequestMessage request, String category, TraceLevel level, String operatorName, String operationName, Action`1 beginTrace, Action execute, Action`1 endTrace, Action`1 errorTrace)\r\n at System.Web.Http.Tracing.Tracers.HttpControllerDescriptorTracer.CreateController(HttpRequestMessage request)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()","InnerException":{"Message":"An error has occurred.","ExceptionMessage":"Exception has been thrown by the target of an invocation.","ExceptionType":"System.Reflection.TargetInvocationException","StackTrace":" at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)\r\n at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)\r\n at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)\r\n at System.Activator.CreateInstance[T]()\r\n at DotNetNuke.Framework.ServiceLocator`2.InitInstance()\r\n at System.Lazy`1.CreateValue()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Lazy`1.get_Value()\r\n at DotNetNuke.Framework.ServiceLocator`2.get_Instance()\r\n at DotNetNuke.Web.InternalServices.ControlBarController..ctor()\r\n at lambda_method(Closure )\r\n at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)","InnerException":{"Message":"An error has occurred.","ExceptionMessage":"The type initializer for 'DotNetNuke.ExtensionPoints.ExtensionPointManager' threw an exception.","ExceptionType":"System.TypeInitializationException","StackTrace":" at DotNetNuke.ExtensionPoints.ExtensionPointManager..ctor()\r\n at DotNetNuke.Web.Components.Controllers.ControlBarController..ctor()", "InnerException":{"Message":"An error has occurred.","ExceptionMessage":"Could not load file or assembly 'nunit.framework, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies. The system cannot find the file specified.","ExceptionType":"System.IO.FileNotFoundException","StackTrace":" at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)\r\n at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)\r\n at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)\r\n 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)\r\n at System.Reflection.CustomAttribute.IsCustomAttributeDefined(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Int32 attributeCtorToken, Boolean mustBeInheritable)\r\n at System.Reflection.CustomAttribute.IsDefined(RuntimeType type, RuntimeType caType, Boolean inherit)\r\n at System.RuntimeType.IsDefined(Type attributeType, Boolean inherit)\r\n at Microsoft.Internal.AttributeServices.IsAttributeDefined[T](ICustomAttributeProvider attributeProvider)\r\n at System.ComponentModel.Composition.AttributedModel.AttributedPartCreationInfo.IsPartDiscoverable()\r\n at System.ComponentModel.Composition.AttributedModel.AttributedModelDiscovery.CreatePartDefinitionIfDiscoverable(Type type, ICompositionElement origin)\r\n at System.ComponentModel.Composition.Hosting.TypeCatalog.get_PartsInternal()\r\n at System.ComponentModel.Composition.Hosting.TypeCatalog.GetEnumerator()\r\n at System.ComponentModel.Composition.Hosting.AssemblyCatalog.GetEnumerator()\r\n at System.Linq.EnumerableQuery`1.GetEnumerator()\r\n at System.Linq.EnumerableQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()\r\n at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n at DotNetNuke.ExtensionPoints.SafeDirectoryCatalog..ctor(String directory)\r\n at DotNetNuke.ExtensionPoints.ExtensionPointManager.InitializeMefCompositionContainer()\r\n at DotNetNuke.ExtensionPoints.ExtensionPointManager..cctor()"}}}}</system.web.http.dispatcher.ihttpcontrolleractivator.create>
 
New Post
2/7/2018 11:28 PM
 
could this been caused by a 3rd party module on the page ?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Can not edit pages on new 9.1 installation.Can not edit pages on new 9.1 installation.


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.