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...Administration ...Administration ...Reflection Permission requiredReflection Permission required
Previous
 
Next
New Post
12/6/2013 4:37 PM
 

Server 2012 - IIS8
DNN 6.1.5
NET 4.5 - Integrated Pipeline - AppPoolID Identity

Verified Trust Level is set to Medium and set all File permissions.

Migrating the site to AWS. Simply cpoied all existing files & database from the live site. RDS is setup for the database.

Everything works except when trying to view ">>Admin>>Pages". All host items are fine and all Admin items except that one work OK. The event viewer throws 5 errors when trying to view that particular page:

1) Method: N/A - Reflection Permission required
Message: System.NullReferenceException: Object reference not set to an instance of an object. at lambda_method

2) Method: N/A - Reflection Permission required
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane

3&4) Method: DotNetNuke.UI.Containers.ActionBase.get_ModuleContext
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object.

5) Method: DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object.

Hope someone might know what causes this problem...

Thanks

 

 
New Post
12/6/2013 7:38 PM
 
Please try changing to Full Trust.

According to the latest information by Microsoft, medium trust is pretty much dead...

Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
12/7/2013 10:41 AM
 

Thanks for reply - I'm sorry to say that changing to Full Trust did not fix the issue. I also tried High Trust. At fist I didn't notice that the Trust Level was actually commented out in web.config since I was using Notepad to edit but after opening it in VS it was evident.

Are there any other suggestions?

 
New Post
12/8/2013 3:55 AM
 
there must be some permission missing, either for .Net or file system.
The feature works as expected on all our installations.
Did you make sure, you installed all Micrpsoft updates for Server and .net?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/10/2013 9:05 AM
 

I checked file permissions and Net permissions. I installed 4.5.1 Net update. Still having the issue. I wanted to post the full error in case it helps. It's odd that it's only this page having a problem and everything else seems OK...

Method: N/A - Reflection Permission required

StackTrace:

Message: System.NullReferenceException: Object reference not set to an instance of an object. at lambda_method(Closure , Vocabulary ) at System.Linq.Enumerable.WhereListIterator`1.MoveNext() at DotNetNuke.Web.UI.WebControls.TermsSelector.TreeViewTemplate.get_Terms() at DotNetNuke.Web.UI.WebControls.TermsSelector.TreeViewTemplate.InstantiateIn(Control container) at Telerik.Web.UI.ControlItemContainer.ApplyTemplate(ControlItem item) at Telerik.Web.UI.ControlItemContainer.InitializeItem(ControlItem item) at Telerik.Web.UI.ControlItem.SetItemContainer(ControlItemContainer itemContainer) at Telerik.Web.UI.ControlItemCollection.OnInsertComplete(Int32 index, Object value) at System.Web.UI.StateManagedCollection.InsertInternal(Int32 index, Object o) at System.Web.UI.StateManagedCollection.System.Collections.IList.Add(Object value) at DotNetNuke.Web.UI.WebControls.TermsSelector.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module)

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Reflection Permission requiredReflection Permission required


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