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 ...Please Help!  Error when creating a new portalPlease Help! Error when creating a new portal
Previous
 
Next
New Post
9/4/2010 5:54 PM
 
I'm unable to create a parent portal.  I have several (aprox 12) parent portals already up and running with no issues.  The last portal was added back in February and I had no issues when I added it.  Now this morning, when I attempted to add a portal the page times out with the following message...

Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

When I go in a take a look at the database, the new portal data is incomplete.  The portal entry is there but there are no portal tab entries, portal alias is not there, there is no portal admin user, etc.  When I attempt to access the new portal settings page I get the following message...

Error: Site Settings is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Portals.PortalSettings.GetSiteSettings(Int32 PortalId) at DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---


There are some module load exceptions in the event viewer.  Message is...

ModuleId: 353
ModuleDefId: 14
FriendlyName: Site Settings
ModuleControlSource: Admin/Portal/SiteSettings.ascx
AssemblyVersion: 04.09.05
PortalID: 0
PortalName: Troy Lampley
UserID: 1
UserName: tlhost
ActiveTabID: 39
ActiveTabName: Site Settings
RawURL: /Admin/SiteSettings/tabid/39/pid/23/portalid/0/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
http://troylampley.com/Admin/SiteSettings/tabid/39/ctl/Edit/mid/354/pid/23/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 334b5215-f734-4f00-8686-272ea70af0d9
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Entities.Portals.PortalSettings.GetSiteSettings
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Portals.PortalSettings.GetSiteSettings(Int32 PortalId) at DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: W2K3-WEB3



And a general exception error.  Message is...

AssemblyVersion: 04.09.05
PortalID: 23
PortalName: James Cox
UserID: -1
UserName:
ActiveTabID: 7
ActiveTabName: Host
RawURL: /default.aspx
AbsoluteURL: /default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB0.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5ae018cd-c790-4628-9da2-a303e45e7f51
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Entities.Portals.PortalSettings.GetSiteSettings
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Portals.PortalSettings.GetSiteSettings(Int32 PortalId) at DotNetNuke.Entities.Portals.PortalSettings.GetSiteSetting(Int32 PortalId, String SettingName) at DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: W2K3-WEB3



My DNN install is 4.9.5 (I know I need to upgrade but that is another issue entirely).   I've been googling for the last several hours and come up empty.  Anyone have any ideas?  Please help!

Thanks,

Troy
 
New Post
9/4/2010 8:24 PM
 
As the error messasge says, you got a timeout error on create the new portal.  This could happend different causes and would individuell on each system.  It could caused on to much error logs, low memory on the sql server, other applications that use to many prccesor resources, and many others.

I would first check if the permissions are all still set well on the physical folders and files.  Then I would check and delete the event logs on the portals, check the scheduler, and delete the scheduler history.  If this all did not fix the system, I would have a look to to the resources of the webserver and sql server.
 
New Post
9/5/2010 3:12 AM
 
Are you using default template portal or a custom one?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/6/2010 12:44 PM
 
Thanks Matthias... I really appreciate the advice.  I reset file permissions, truncated the event log table, truncated site log table, and truncated scheduler history.  I then had my host provider clear the db transaction log.  I then deleted the failed portal entry then attempted to add the portal.  Still the same result.  I'm hosting with Network Solutions on a shared web server and shared SQL 2005 server so it's not easy for me to examine server resources.  Any other thoughts or ideas?

Troy
 
New Post
9/6/2010 12:47 PM
 
Thanks for helping Sebastian.  I'm using the 'DotNetNuke' template.  See my reply above to Matthias.  Do you also have any other ideas?

Troy
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Please Help!  Error when creating a new portalPlease Help! Error when creating a new portal


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