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...Upgrading DNN P...Upgrading DNN P...Upgrade issues on two 2 sites Upgrade issues on two 2 sites
Previous
 
Next
New Post
8/16/2011 1:40 PM
 
I have one site www.oak-knoll.com which I upgraded from 5.x to 6.x and I get this error trying to log into a new portal I created. I seems like maybe it didn't create the new portal all the way:
[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Entities.Portals.PortalSettings.get_PortalAliasMappingMode() +35 DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2635 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

I have another DNN site that I tried to migrate from 4.9x to 5.x and got errors and then tried to upgrade to 6.x.  Still issues.
www.seedsofdoom.net
I think I'm at the point where I am seeking help online or willing to pay to get these fixed.

Current Assembly Version: 06.00.00

Current Database Version: 05.06.03



Upgrade Status Report

00:00:00.781 - Upgrading to Version: 06.00.00
00:00:02.359 -   Executing Script: 06.00.00.SqlDataProvider Error! (see 06.00.00.log.resources for more information)
00:00:27.187 -   Executing Application Upgrades: 06.00.00 Error!
00:00:33.203 -   Cleaning Up Files: 06.00.00 Success
00:00:33.203 -   Updating Config Files: 06.00.00 Success
00:00:33.203 - Performing General Upgrades
00:00:34.046 - Installing Optional Modules:
00:00:34.046 -   Installing Package File DDRMenu_01.99.05_Install:  Success
00:00:41.296 -   Installing Package File DNNCE_HTML_06.00.00_Install:  Success
00:00:44.687 -   Installing Package File DNNCE_Messaging_06.00.00_Install:  Success
00:00:47.843 -   Installing Package File DNNCE_Taxonomy_06.00.00_Install:  Success
00:00:52.421 -   Installing Package File HTML_Community_05.06.02_Install:  Error!
00:00:52.656 -   Installing Package File HTML_Community_05.06.03_Install:  Error!
00:00:53.640 -   Installing Package File Messaging_05.06.02_Install:  Error!
00:00:54.093 -   Installing Package File Messaging_05.06.03_Install:  Error!
00:00:54.390 -   Installing Package File Taxonomy_05.06.02_Install:  Error!
00:00:54.546 -   Installing Package File Taxonomy_05.06.03_Install:  Error!
00:00:54.656 -   Installing Package File Telerik_05.06.02_Install:  Error!
00:01:03.468 -   Installing Package File Telerik_05.06.03_Install:  Error!
00:01:06.078 -   Installing Package File Telerik_06.00.00_Install:  Error!
00:01:07.984 - Installing Optional Skins:
00:01:07.984 -   Installing Package File DarkKnight_01.00.00_Install:  Success
00:01:10.578 - Installing Optional Containers:
00:01:10.578 - Installing Optional Languages:
00:01:10.578 - Installing Optional Providers:
00:01:10.578 -   Installing Package File AspNetMembershipProvider_06.00.00_Install:  Success
00:01:10.734 -   Installing Package File CorePermissionProvider_06.00.00_Install:  Success
00:01:11.015 -   Installing Package File CoreSitemapProvider_06.00.00_Install:  Success
00:01:11.281 -   Installing Package File DatabaseLoggingProvider_06.00.00_Install:  Success
00:01:11.687 -   Installing Package File DNNMembershipProvider_06.00.00_Install:  Success
00:01:12.171 -   Installing Package File DNNMenuNavigationProvider_06.00.00_Install:  Success
00:01:12.406 -   Installing Package File DNNTreeNavigationProvider_06.00.00_Install:  Success
00:01:12.609 -   Installing Package File FileBasedCachingProvider_06.00.00_Install:  Success
00:01:12.828 -   Installing Package File FileModuleCachingProvider_05.06.02_Install:  Error!
00:01:13.203 -   Installing Package File FileModuleCachingProvider_05.06.03_Install:  Error!
00:01:13.453 -   Installing Package File FileModuleCachingProvider_06.00.00_Install:  Error!
00:01:13.625 -   Installing Package File MemoryModuleCachingProvider_05.06.02_Install:  Error!
00:01:13.828 -   Installing Package File MemoryModuleCachingProvider_05.06.03_Install:  Error!
00:01:14.015 -   Installing Package File MemoryModuleCachingProvider_06.00.00_Install:  Error!
00:01:14.187 -   Installing Package File SchedulingProvider_06.00.00_Install:  Success
00:01:14.312 -   Installing Package File SearchIndexProvider_06.00.00_Install:  Success
00:01:14.453 -   Installing Package File SearchProvider_06.00.00_Install:  Success
00:01:14.609 -   Installing Package File SolpartMenuNavigationProvider_06.00.00_Install:  Success
00:01:14.781 -   Installing Package File TelerikEditorProvider_05.06.03_Install:  Success
00:01:22.375 - Installing Optional AuthSystems:
00:01:22.375 - Installing Optional Packages:

Upgrade Complete



Click Here To Access Your Portal

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Entities.Portals.PortalSettings.get_PortalAliasMappingMode() +35 DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2635 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 

System.Data.SqlClient.SqlException (0x80131904): CREATE UNIQUE INDEX terminated because a duplicate key was found for object name 'dbo.Files' and index name 'IX_FileName'.  The duplicate key value is (0, 1.jpg).
Could not create constraint. See previous errors.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)



ALTER TABLE dbo.[Files] ADD CONSTRAINT [IX_FileName] UNIQUE NONCLUSTERED ([FolderID] ASC, [FileName] ASC)


System.Data.SqlClient.SqlException (0x80131904): The ALTER TABLE statement conflicted with the FOREIGN KEY constraint "FK_Files_Folders". The conflict occurred in database "seedsofdoom", table "dbo.Folders", column 'FolderID'.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)



ALTER TABLE dbo.[Files] ADD
CONSTRAINT [FK_Files_Portals] FOREIGN KEY ([PortalId]) REFERENCES dbo.[Portals] ([PortalID]),
CONSTRAINT [FK_Files_Folders] FOREIGN KEY ([FolderID]) REFERENCES dbo.[Folders] ([FolderID]) ON DELETE CASCADE

System.Data.SqlClient.SqlException: The DELETE statement conflicted with the REFERENCE constraint "FK_GuestBook_GuestbookEntry_Modules". The conflict occurred in database "seedsofdoom", table "dbo.GuestBook_GuestbookEntry", column 'ModuleID'.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)

/************************************************************/
/*****              SqlDataProvider                     *****/
/*****                                                  *****/
/*****                                                  *****/
/***** Note: To manually execute this script you must   *****/
/*****       perform a search and replace operation     *****/
/*****       for dbo. and   *****/
/*****                                                  *****/
/************************************************************/

/* Delete Orphaned Module*/
/*************************/
DELETE 
FROM dbo.Modules 
WHERE ModuleID IN (SELECT ModuleID FROM dbo.vw_modules WHERE TabModuleID IS NULL)

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade issues on two 2 sites Upgrade issues on two 2 sites


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