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...DNN628 > DNN706 IssuesDNN628 > DNN706 Issues
Previous
 
Next
New Post
2/22/2014 1:19 PM
 

My site is upgraded to DNN706 in preparation to go to DNN721. My DNN706 looks and functions fine. However, I am unable to add new pages or add modules to existing pages. Reverted back to DNN628 and found I was unable to add new pages or add modules with that revision. My site is somewhat static - just updates to existing pages for quite some time. So now that I've decided to overhaul my site, I am just now discovering these issues.

Page Add Error
System.Data.SqlClient.SqlException (0x80131904): Cannot insert the value NULL into column 'TabPath', table 'dotnetnuke455.dbo.Tabs'; column does not allow nulls. INSERT fails. The statement has been terminated. The 'AddTab' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.

Module Add Error
Cannot insert the value NULL into column 'TabPath', table 'dotnetnuke455.dbo.Tabs'; column does not allow nulls. INSERT fails. The statement has been terminated. The 'AddTab' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.



Appreciate your feedback regarding the following the update log and 07.00.00.log.resources file.  Can connect to database with SQL Server Management Server but not sure how to use to best investigate my issues.

Curious to know what was not upgraded at 00:00:03.375 -   Application Upgrades : 07.00.00 Error!

Thank you very much for your time.

 

Upgrading DotNetNuke

Current Assembly Version: 07.00.06

Current Database Version: 06.02.08

Upgrade Status Report

00:00:00.078 - Upgrading to Version: 07.00.06
00:00:00.125 -   Executing Script:07.00.00.SqlDataProvider Error! (see 07.00.00.log.resources for more information)
00:00:01.781 -   Executing Script:07.00.01.SqlDataProvider Success
00:00:02.171 -   Executing Script:07.00.02.SqlDataProvider Success
00:00:02.203 -   Executing Script:07.00.03.SqlDataProvider Success
00:00:02.453 -   Executing Script:07.00.04.SqlDataProvider Success
00:00:03.062 -   Executing Script:07.00.05.SqlDataProvider Success
00:00:03.218 -   Executing Script:07.00.06.SqlDataProvider Success
00:00:03.375 -   Application Upgrades : 07.00.00 Error!
00:00:03.828 -   Application Upgrades : 07.00.01 Success
00:00:03.828 -   Application Upgrades : 07.00.02 Success
00:00:03.828 -   Application Upgrades : 07.00.03 Success
00:00:03.828 -   Application Upgrades : 07.00.04 Success
00:00:03.828 -   Application Upgrades : 07.00.05 Success
00:00:03.843 -   Application Upgrades : 07.00.06 Success
00:00:03.843 -   Cleaning Up Files: 07.00.00 Success
00:00:03.890 -   Cleaning Up Files: 07.00.01 Success
00:00:03.968 -   Cleaning Up Files: 07.00.02 Success
00:00:03.984 -   Cleaning Up Files: 07.00.03 Success
00:00:03.984 -   Cleaning Up Files: 07.00.04 Success
00:00:03.984 -   Cleaning Up Files: 07.00.05 Success
00:00:03.984 -   Cleaning Up Files: 07.00.06 Success
00:00:03.984 -   Updating Config Files: 07.00.00 Success
00:00:04.171 -   Updating Config Files: 07.00.01 Success
00:00:04.171 -   Updating Config Files: 07.00.02 Success
00:00:04.187 -   Updating Config Files: 07.00.03 Success
00:00:04.203 -   Updating Config Files: 07.00.04 Success
00:00:04.218 -   Updating Config Files: 07.00.05 Success
00:00:04.250 -   Updating Config Files: 07.00.06 Success
00:00:04.265 - Performing General Upgrades
00:00:04.421 - Installing Optional Modules:
00:00:04.421 -   Installing Package File DDRMenu_02.00.03_Install:  Success
00:00:05.171 -   Installing Package File DNNCE_CoreMessaging_07.00.06_Install:  Success
00:00:05.876 -   Installing Package File DNNCE_HTML_07.00.06_Install:  Success
00:00:06.625 -   Installing Package File DNNCE_Journal_07.00.06_Install:  Success
00:00:07.750 -   Installing Package File DNNCE_MemberDirectory_07.00.06_Install:  Success
00:00:08.812 -   Installing Package File DNNCE_MobileManagement_07.00.06_Install:  Success
00:00:09.265 -   Installing Package File DNNCE_PreviewProfileManagement_07.00.06_Install:  Success
00:00:09.687 -   Installing Package File DNNCE_RazorHost_07.00.06_Install:  Success
00:00:10.828 -   Installing Package File DNNCE_SocialGroups_07.00.06_Install:  Success
00:00:11.828 -   Installing Package File DNNCE_Taxonomy_07.00.06_Install:  Success
00:00:12.500 -   Installing Package File Telerik_07.00.06_Install:  Success
00:00:15.187 - Installing Optional Skins:
00:00:15.187 - Installing Optional Containers:
00:00:15.203 - Installing Optional Languages:
00:00:15.203 - Installing Optional Providers:
00:00:15.203 -   Installing Package File DNNMenuNavigationProvider_07.00.06_Install:  Success
00:00:15.406 -   Installing Package File FiftyOneClientCapabilityProvider_07.00.06_Install:  Success
00:00:16.187 -   Installing Package File RadEditorProvider_07.00.06_Install:  Success
00:00:20.843 - Installing Optional AuthSystems:
00:00:20.859 - Installing Optional Packages:

Upgrade Complete 

Click Here To Access Your Site

--------------------------------------------------------------------------------------------------

07.00.00.log.resources

System.Data.SqlClient.SqlException (0x80131904): 'IX_ModulePermission' is not a constraint.

Could not drop constraint. See previous errors.

   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

   at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)

   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)

   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

   at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)

ClientConnectionId:490a40ab-e3df-4ec6-8353-531dce4579ed

 

ALTER TABLE dbo.ModulePermission

                DROP CONSTRAINT IX_ModulePermission

 

System.Data.SqlClient.SqlException (0x80131904): 'IX_ModuleDefinitions' is not a constraint.

Could not drop constraint. See previous errors.

   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

   at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)

   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)

   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

   at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)

ClientConnectionId:3f581d7c-77d3-438f-8429-65a88d5be13b

 

IF EXISTS (SELECT * FROM dbo.[ModuleDefinitions] WHERE DefinitionName = '')

                BEGIN

        UPDATE dbo.[ModuleDefinitions] SET DefinitionName = FriendlyName

 

        ALTER TABLE dbo.[ModuleDefinitions]

                        DROP CONSTRAINT  DF_ModuleDefinitions_DefinitionName

 

        ALTER TABLE dbo.[ModuleDefinitions]

                DROP CONSTRAINT IX_ModuleDefinitions

       

        CREATE UNIQUE NONCLUSTERED INDEX IX_ModuleDefinitions ON dbo.[ModuleDefinitions]

                    (

                        DefinitionName

                    )

                END


 

---------------------------------------------------------------------------------------------

DNN Revision History

7.0.6 21 Feb 2014 10:26
6.2.8 21 Feb 2014 08:17
6.2.2 04 Aug 2012 19:26
6.1.4 19 Mar 2012 13:07
6.1.1 23 Nov 2011 07:14
6.0.1 07 Sep 2011 08:03
5.6.1 26 Jan 2011 15:25
5.5.0 20 Sep 2010 06:21
5.4.2 16 Jun 2010 07:53
4.8.0 03 Sep 2009 08:32
4.7.0 03 Sep 2009 08:31
4.5.5 07 Aug 2007 19:58
4.4.1 03 Feb 2007 09:16
4.3.7 05 Dec 2006 15:03
3.2.1 10 Feb 2006 16:0


 

 
New Post
2/22/2014 4:40 PM
 

Update:

I exported the DNN706 Parent Portal (site), with my issues, and imported as a Child Portal into separate instance running DNN721. Running as a Child Portal, I can now add modules to pages and create new pages. No apparent issues.

So I am thinking (hoping) my DNN706 portal files and database are OK. Does this suggest a course of action? Would extracting Admin files from the DNN706 full install file and copying over top of the existing Admin files be a place to start? Could I make matters worse by doing so? 

Thank you.

 
New Post
2/23/2014 4:56 AM
 
it looks like an issue of your database, namely table tabs, which contains page data and seem to be missing tabPath column (or the column is not populated).
Do you experience the same issue on your previous running version 6.2.2?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/23/2014 10:48 AM
 

Greetings Sebastian ...

Thank you very much for a prompt reply to my issue.

My backup on PowerDNN only goes back to my DNN628 version. I cannot now confirm what was functioning with DNN622.

Using MS SQL Server Management Studio on my DNN706 site

SELECT TOP 10   TabPath
FROM            dbo.Tabs

TabPath
//Host//SearchAdmin
//Host//Lists
//Host//SuperuserAccounts
//Home
//SearchResults
//Admin
//Admin//SiteSettings
//Admin//Pages
//Admin//BulkEmail
//Admin//Skins

For the Tabs table

  • Keys - empty

  • Constraints -  DF_Tabs_Level

  • Triggers - empty

  • Indexes - empty

The Tabs table with TabPath (nvarchar(255), not null) is present. Is there a way to verify (edit)  Tabs table is working properly with DNN using MS SSMS?  Can I add a new page (row) to Tabs table and expect to see a new page when viewing the website?

Thank you again ...

Roy
bamit.org DNN706 - issue site (PowerDNN)
memoryunit.com DNN721 - scratch pad area, spare site  (PowerDNN)
haygood.com DNN721  (PowerDNN)

 

 
New Post
2/23/2014 12:47 PM
 

Greetings Sebastian ...

Continuing with your suggestion to focus on the Tab table. 

I deleted my spare DNN721 installation and did a fresh install with DNN706. Now I can compare the Tab tables from suspect and fresh DNN706 instances.

In the suspect Tab table - I find no Keys, one (1) Constraint, no Triggers, no Indexes and Statistics

In the fresh install of DNN706 - I find Keys, more Constraints, no Triggers, Indexes and Statistics

So, with MS SSMS, can I create/insert missing Keys, Constraints and Indexes using the fresh install as a reference? Basically, can the suspect Tab table be fixed? Obviously, I have limited MS SQL background - have run simple queries, import of data into database, combining data, etc.

Appreciate suggestion on next step(s).

Thank you again ...

Roy
bamit.org DNN706 - issue site (PowerDNN)
memoryunit.com DNN706 - scratch pad area, spare site  (PowerDNN)
haygood.com DNN721  (PowerDNN)

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...DNN628 > DNN706 IssuesDNN628 > DNN706 Issues


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