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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade to 06.02.03 FailingUpgrade to 06.02.03 Failing
Previous
 
Next
New Post
6/7/2013 8:54 AM
 

I did follow the guide above in trying to fix  the issue but no luck
Could someone please help on upgrade to 07.00.06


Here is my log error

System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'Level'.
Invalid column name 'TabPath'.
Invalid column name 'Level'.
Invalid column name 'TabPath'.
   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:6599c7cc-b3fa-46ee-9d0a-cdf02eefbea9

CREATE PROCEDURE dbo.[BuildTabLevelAndPath](@TabId INT, @IncludeChild BIT = 0)
    AS
    BEGIN
        DECLARE @ParentId INT, @Level INT, @TabPath NVARCHAR(255), @TabName NVARCHAR(200)
        SELECT @ParentId = ParentId, @TabName = TabName FROM dbo.[Tabs] WHERE TabID = @TabId
        IF @ParentId > 0
        BEGIN
            SELECT
                @Level = [Level] + 1,
                @TabPath = TabPath + '//' + dbo.[RemoveStringCharacters](@TabName, '&? ./''#:*')
             FROM dbo.[Tabs] WHERE TabID = @ParentId
        END
        ELSE
        BEGIN
            SELECT @Level = 0, @TabPath = '//' + dbo.[RemoveStringCharacters](@TabName, '&? ./''#:*')
        END
        
        UPDATE dbo.[Tabs] SET [Level] = @Level, TabPath = @TabPath WHERE TabID = @TabId
        
        IF @IncludeChild = 1
        BEGIN
            DECLARE @ChildTabs TABLE(TabID INT)
            DECLARE @ChildID INT
            INSERT INTO @ChildTabs SELECT TabID FROM dbo.[Tabs] WHERE ParentId =  @TabId
            WHILE EXISTS (SELECT TOP 1 TabID FROM @ChildTabs)
                BEGIN
                    SET @ChildID = (SELECT TOP 1 TabID FROM @ChildTabs)
                    EXEC dbo.[BuildTabLevelAndPath] @ChildID, @IncludeChild
                    DELETE FROM @ChildTabs WHERE TabID = @ChildID
                END
        END
    END



 
New Post
6/7/2013 4:20 PM
 
most likely, some upgrade scripts did not run properly. From which DNN version did you upgrade (and which steps did you take)?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/10/2013 3:05 AM
 
Current DotNetNuke Version: 06.01.03, I copied over Version 7 Upgrade
and run upgrade, all went well apart from that error, I have tried lower version of upgrade but all same I still get error:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Entities.Tabs.TabController.GetTabByTabPath(Int32 portalId, String tabPath, String cultureCode) +18
   DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app, String& portalAlias) +3179
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +909
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade to 06.02.03 FailingUpgrade to 06.02.03 Failing


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