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...There is no field "AdminTabId" in the table "Portals"There is no field "AdminTabId" in the table "Portals"
Previous
 
Next
New Post
1/8/2010 12:03 AM
 

i upgraded the DNN  from 4.9.5  to DNN .5.2.1, and i got an error with follow sql:


UPDATE dbo.[Tabs]
    SET IsSecure = 1
WHERE PortalID IS NULL
    OR TabID IN (SELECT AdminTabId FROM dbo.[Portals])
    OR ParentId IN (SELECT AdminTabId FROM dbo.[Portals])

 

there is no AdminTabId in table "Portals"

i also installed new DNN instance ,DNN 5.2.1

and i checked Portals table, there is filed named "AdminTabId"

please advise how to fixed this problem.

any ideas will be appreciated.

 

Thank you in advance.

 
New Post
1/12/2010 2:45 PM
 

it's been fixed for 5.2.2, the updated sql looks as follows:

 

/***********************/

/* fix tabcount issue */

/***********************/

if exists (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}[{objectQualifier}GetTabCount]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)

DROP PROCEDURE {databaseOwner}[{objectQualifier}GetTabCount]

GO

CREATE PROCEDURE {databaseOwner}[{objectQualifier}GetTabCount]

 

@PortalId int

AS

DECLARE @AdminTabId int

SET @AdminTabId = (SELECT AdminTabId

FROM {databaseOwner}{objectQualifier}vw_Portals

WHERE PortalID = @PortalID)

SELECT COUNT(*) - 1

FROM {databaseOwner}{objectQualifier}Tabs

WHERE (PortalID = @PortalID)

AND (TabID <> @AdminTabId)

AND (ParentId <> @AdminTabId OR ParentId IS NULL)

GO

 


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
11/6/2010 3:27 PM
 
Trying to upgrade a 4.6.2 site to latest DNN and gets this error, but not sure how to interpret the answer here, can we just ignore this error knowing that a later version of the upgrade script will correct the error? Current version is 5.5 of DNN.
 
New Post
11/6/2010 3:33 PM
 
I would not recommend going from 4.6.2  to 5.5.x there are interim releases that have significant code changes that you need to install.
I would strongly recommend you follow Leigh Pointer's recommendations in this thread:
http://www.dotnetnuke.com/Community/F...

Once you have 5.3.0 installed and running without error then you can safely upgrade to 5.5.1.
Please note you do NOT manually edit and merge the web.config file post 4.7 release. This is done during upgrade for you.

HTH;

Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
11/6/2010 5:16 PM
 
you do not need to touch web.config manually, when upgrading from DN 4.6.2 or above - and you shouldn't! make sure to use proper .net version, ideally upgrade to 3.5 SP1 prior to any other upgrade action. Proper steps would be 4.6.2 - 4.9.5 - 5.5.1, afaik the QA team still tests upgrades from 4.9.5 to latest version.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...There is no field "AdminTabId" in the table "Portals"There is no field "AdminTabId" in the table "Portals"


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