Hi,
I am using DNN 05.06.00
First i configured the portal on my local server.. Everything was perfect. Now i have moved all files into a shared hosting environment. When i login as Admin or Host user, and press the "Settings" button from any page, i get the following error:
A critical error has occurred.
Object reference not set to an instance of an object.
It looks like a security related problem.
I have also tried to change the web.config as:
<trust level="Full" originUrl=".*" />
earlier it was
<trust level="Medium" originUrl=".*" />
In Event viewer, i can see four errors.. the very first is following:
AssemblyVersion: 5.6.0
PortalID: 0
PortalName: OpenControl
UserID: 2
UserName: admin
ActiveTabID: 69
ActiveTabName: Partners
RawURL: /Partners/tabid/69/ctl/Module/ModuleId/389/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.opencontrolscada.com/Partners.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 82d4b9c2-dbc7-45fa-8d8c-c9cc4bd8277d
InnerException: TreeViewTemplate.get_PortalId()
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Security.CodeAccessSecurityEngine.ThrowSecurityException
StackTrace:
Message: System.MethodAccessException: TreeViewTemplate.get_PortalId() ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException) at System.Security.PermissionSetTriple.CheckSetDemand(PermissionSet demandSet, PermissionSet& alteredDemandset, RuntimeMethodHandle rmh) at System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandle rmh) at System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) at System.Threading.CompressedStack.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) at System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant, CompressedStack securityContext) at System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant, Resolver accessContext) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.ReflectionPermission --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IntPtr method) at System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType, Object target) at System.Runtime.CompilerServices.ExecutionScope.CreateDelegate(Int32 indexLambda, Object[] locals) at lambda_method(ExecutionScope ) at System.Linq.EnumerableQuery`1.GetEnumerator() at System.Linq.EnumerableQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() 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 Telerik.Web.UI.RadComboBoxItemCollection.Add(RadComboBoxItem item) 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.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.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.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at DotNetNuke.UI.Modules.ModuleHost.LoadUpdatePanel() at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Modules.ModuleHost.get_ModuleControl() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo objModule)
Source:
Server Name: PLUTO
=============
I am in touch with hosting providers. They are ready to make any changes required at their end.. but what exactly should i ask them?
|