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 ...Error after transfer site from local to webserver.Error after transfer site from local to webserver.
Previous
 
Next
New Post
9/9/2011 10:14 AM
 

After copy the folders from my local test pc to the webserver i noticed on several pages that the content was gone.
I found this error in the eventlog table:
System.Exception: Unhandled Error:  ---> System.NullReferenceException: Object reference not set to an instance of an object.     at DotNetNuke.Entities.Portals.PortalSettings.VerifySpecialTab(Int32 portalId, Int32 tabId)     at DotNetNuke.Entities.Portals.PortalSettings.VerifyPortalTab(Int32 portalId, Int32 tabId)     at DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal)     at DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo)     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 ---

When i run it again local en debug it, i get an error when i try to add a new module to the page.
The INSERT statement conflicted with the FOREIGN KEY constraint \"FK_TabModules_Tabs\". The conflict occurred in database \"OneSmartRepair\", table \"dbo.Tabs\", column 'TabID'.\r\nThe statement has been terminated.
Is it normal that the tabmoduleID =-1?

It seems to me that the db is in a corrupted state. So what do i do now? I have no backups. Do i install a new db?
 
New Post
9/9/2011 10:35 AM
 
when i do clear cache i get the following error:
An error has occurred. DotNetNuke.Services.Exceptions.ModuleLoadException: The underlying system threw an exception. ---> DotNetNuke.Services.FileSystem.FolderProviderException: The underlying system threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Portals.PortalSettings.VerifySpecialTab(Int32 portalId, Int32 tabId) at DotNetNuke.Entities.Portals.PortalSettings.VerifyPortalTab(Int32 portalId, Int32 tabId) at DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal) at DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, Int32 portalID) at DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 portalID) at DotNetNuke.Services.FileSystem.StandardFolderProvider.GetPortalSettings(Int32 portalId) at DotNetNuke.Services.FileSystem.StandardFolderProvider.GetFileUrl(IFileInfo file) at DotNetNuke.Services.FileSystem.FileManager.GetUrl(IFileInfo file) --- End of inner exception stack trace --- at DotNetNuke.Services.FileSystem.FileManager.GetUrl(IFileInfo file) at DotNetNuke.UI.Skins.Controls.Logo.OnLoad(EventArgs e) in d:\Documenten_SDJR\Klanten\OneSmartRepair\OneSmartRepair\admin\Skins\Logo.ascx.cs:line 66 --- End of inner exception stack trace ---
 
New Post
9/9/2011 3:34 PM
 
the verifyspecialtab function runs when the portal attempts to get portalsettings and is used to identify special tabs such as home, splashpage etc. This would suggest that this value is not being retrieved correctly - though that may mean that all portalsettings are failing and it's merely the first that throws an exception. Did you create a portal alias before you transferrd the site? What version of dotnetnuke are you running?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/12/2011 2:53 AM
 
I run DNN 6.0.0. Two pages are corrupted including the home page. I didn't create a portal alias.
 
New Post
9/12/2011 4:00 AM
 
If i run sql profiler the last thing he execute is exec dbo.GetTabPaths @PortalID=NULL,@CultureCode=N'' and that returns about 53 rows.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error after transfer site from local to webserver.Error after transfer site from local to webserver.


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