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 ...I can't add a new page - fresh installation of DNNI can't add a new page - fresh installation of DNN
Previous
 
Next
New Post
4/25/2015 11:35 AM
 

Hello,

Can someone please help me with an advice.  I am completely new to DNN.  I managed to install version 7.4 and I am able to log into DNN.  One of the first things a new user would try to do is add a new page and try playing with it.  Well, I can't do that because DNN returns an error: "A critical error has occurred. Please check the Event Viewer for further details."  Checking details in the logs shows the following:

AbsoluteURL:/Default.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:59ee9ccd-cc7f-4785-b72e-e6c5b1b414ef

AssemblyVersion:7.4.0

PortalId:1

UserId:1

TabId:74

RawUrl:/Admin/Log-Viewer/ctl/Tab/activeTab/settingTab?popUp=true

Referrer:http://dnn.coretech-me.com/Admin/Log-Viewer

UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0

ExceptionHash:TIjKB2tBq8zO5+Q81B4PpA==

Message:Object reference not set to an instance of an object.

StackTrace:

InnerMessage:Object reference not set to an instance of an object.

InnerStackTrace:

   at DotNetNuke.Security.Permissions.Controls.TabPermissionsGrid.c__DisplayClass1.b__0(RoleInfo r)
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at DotNetNuke.Security.Permissions.Controls.TabPermissionsGrid.GetEnabled(PermissionInfo objPerm, RoleInfo role, Int32 column)
   at DotNetNuke.Security.Permissions.Controls.PermissionsGrid.BindRolesGrid()
   at DotNetNuke.Security.Permissions.Controls.PermissionsGrid.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Source:

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: DNN
 

I don't seem to have a problem with DB connectivity.  My DB user is mapped to the DB login which is validated by the database as the AppPool Identity and the user has the db_owner role.  Anyway, I was able to install DNN with these DB parameters and all tables were created.

 What may be the culprit?

Thanks a lot to everyone who can share views.

 

 
New Post
4/25/2015 12:07 PM
 
Do you have a site with portalID = 0 in your DNN?
There is a known issue in DNN 7.4.0, if the otiginal first site is missing.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/25/2015 12:40 PM
 

Sebastian, thank you for replying.

I am not clear yet about DNN concepts, so I am not sure.  Can you tell me where I can check?

In site management's Home Directory I see Portals/1

 
New Post
4/25/2015 5:01 PM
 
On the file system go to the /portals/ directory and see if you have the following

_default
0
1


Chris

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
4/25/2015 6:15 PM
 
I am not sure, what Chris is heading at, because file System directories are not relevant for this issue.
I suggest using Host > Website Management and check for a site with ID 0 (HomeDirectory = /Portals/0).
If ths is missing, DNN 7.4.0 is failing. Easiest solution would be waiting for DNN 7.4.1, where it will be fixed.
Users of my TurboSQL scripts (https://dnnscript.codeplex.com) will not be affected, because I included a fix.
if you Need it separated, please let me know.

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 ...I can't add a new page - fresh installation of DNNI can't add a new page - fresh installation of DNN


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

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