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 ...Control Panel visible to all usersControl Panel visible to all users
Previous
 
Next
New Post
7/23/2010 8:38 AM
 
I've just created a new portal on a DNN 5.4.2 instance.  I'm fairly sure that I've followed the same steps as for the other portals on the installation, but there are some oddities which I don't really understand.

If I login with the superuser account and hit Page Settings, I have a padlock against View page & Edit Page for All Users and a green tick against both for Administrators - so I can't modify the vpage visibility for All Users.

The page settings screen shows a red border with the 'Visible By Administrators Only'  title.

If I log out, I can still see the full control panel although I can't switch from view Mode.  All the common tasks are disabled.  All the Page functions except Delete are enabled.  The <Select a module> dropdown shows all the non-core modules I've added to the site.

What have I done?  I've never seen this before and the other portals on the install look just fine.

Any ideas or pointers?



 
New Post
7/23/2010 10:49 AM
 
Hi,

Just a guess, but have you got expiry dates set in the portal settings screen?

Rhys

www.rmjcs.com - Mostly SQL Server Stuff
 
New Post
7/23/2010 11:49 AM
 
It looks like the permissions for the new portal have not been set correctly.  Although there was no error reported on the portal creation, after the application restart I got the following two errors in the evnet log:-

AssemblyVersion: 5.4.2
PortalID: 6
PortalName: myportal
UserID: 1
UserName: host
ActiveTabID: 258
ActiveTabName: Home
RawURL: /Home/tabid/258/ctl/Tab/action/edit/language/en-US/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://myportal/Home/tabid/258/ctl/Tab/action/edit/language/en-US/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7 GTB7.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 07fb23c6-c553-453e-8dd1-178e3d1423ac
InnerException: An item with the same key has already been added.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.ThrowHelper.ThrowArgumentException
StackTrace:
Message: System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at System.Collections.ObjectModel.KeyedCollection`2.AddKey(TKey key, TItem item) at System.Collections.ObjectModel.KeyedCollection`2.InsertItem(Int32 index, TItem item) at System.Collections.ObjectModel.Collection`1.Add(T item) at DotNetNuke.ComponentModel.SimpleContainer.RegisterComponentInstance(String name, Type contractType, Object instance) at DotNetNuke.ComponentModel.AbstractContainer.RegisterComponentInstance[TContract](Object instance) at DotNetNuke.ComponentModel.ComponentFactory.RegisterComponentInstance[TContract](Object instance) at DotNetNuke.Entities.Content.Common.Util.GetDataService() at DotNetNuke.Entities.Content.Common.Util.GetTermController() 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.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: WEBD14

and

AssemblyVersion: 5.4.2
PortalID: 6
PortalName: Vet Test
UserID: 1
UserName: host
ActiveTabID: 258
ActiveTabName: Home
RawURL: /Home/tabid/258/ctl/Tab/action/edit/language/en-US/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://myportal/Home/tabid/258/ctl/Tab/action/edit/language/en-US/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7 GTB7.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6a120e3b-f61c-445c-a6e3-eb43c8df1db4
InnerException: Multiple controls with the same ID 'i0' were found. FindControl requires that controls have unique IDs.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Control.FillNamedControlsTable
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Multiple controls with the same ID 'i0' were found. FindControl requires that controls have unique IDs. ---> System.Web.HttpException: Multiple controls with the same ID 'i0' were found. FindControl requires that controls have unique IDs. at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) at System.Web.UI.Control.EnsureNamedControlsTable() at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Control.FindControl(String id, Int32 pathOffset) at System.Web.UI.Page.FindControl(String id) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEBD14

The AministratorId in the Portals table was NULL and the AdministratorRoleID and RegisteredRoleID were set to -1 - I've reset these to vailid values for the portals and think I just need to set the correct permissions on the tabpermissions table - but I haven't been able to get my head round the relationships yet.
 
New Post
7/23/2010 12:39 PM
 
Correcting the portals table allowed me to set  admin and all user permissions on the page.  This did mess up the tabs table setting incorrect parents for the created tabs, this cleaned up ok as well.

I love to know what my original problem was on the portal create.  Something failed due to a duplicate, but the event log doen't point me anywhere very conclusive.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Control Panel visible to all usersControl Panel visible to all users


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