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...Error Upgrading Community versions 5.2.2 to 5.2.3...Error Upgrading Community versions 5.2.2 to 5.2.3...
Previous
 
Next
New Post
2/27/2010 3:25 AM
 

HotWheels;

If you feel this is a bug please log it here: http://support.dotnetnuke.com

Give repro steps for your child portal setup since your alias is throwing the error.

 

 


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
2/27/2010 3:26 AM
 

John;

Would you post the output of the 05.02.03 SQLDataProvider log? Would help to debug the issue so we can see what's going wrong here....


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
2/27/2010 3:30 AM
 

Roger;

Just a guess but when you right click on the web site folder and look at the bottom right corner of the "General" tab is there a button with "Unblock" there? 

Windows 2003 R2  and Windows 2008 have a cute new "security feature" that will lock copied folders and files which you have to manually unblock....

Otherwise I'd guess you have not got Execute permissions set on either the folder or files within the folder


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
2/27/2010 5:33 AM
 

Hi Ken,

I am using Server 2008 R2 but I don't have a button to "unblock" the folders.

Let me describe the upgrade procedure that I use to see if I am doing it correctly, I have been upgrading them the same way since I started using DotNetNuke in 2009 and haven't had any real problems.

The procedure I use is this:

  1. Stop the site in IIS
  2. Copy the entire site folder (with it's sub-folders) to a backup location.
  3. Backup the SQL Database. (just in case)
  4. Unzip the 5.2.3 upgrade package and copy it over the contents of the original folder (access rights are applied to the whole folderand it's contents, including  sub-folders)
  5. Start the site in IIS
  6. Browse the site. This has usually started the upgrade process.

Browsing the site with the 5.2.3 upgrade gives me the error, checking the access rights to the folder confirms that the "Network Service" user has full control.

If I reverse the above procedure and copy back the original folder, then re-start the site, I can browse the original version of the site perfectly.

Am I doing something wrong?

Roger

 
New Post
2/27/2010 11:42 PM
 

 Hello,

Here is the output from the 05.02.03.log file:...Thanks!  John

System.Data.SqlClient.SqlException: Cannot drop the procedure 'dbo.UpdatePortalInfo', because it does not exist or you do not have permission.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(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   *****/
/*****                                                  *****/
/************************************************************/
 
/***********************/
/* fix for DNN-11370   */
/***********************/
 
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[UpdatePortalInfo]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
  DROP PROCEDURE dbo.UpdatePortalInfo
 
 
System.Data.SqlClient.SqlException: There is already an object named 'UpdatePortalInfo' in the database.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(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)
 
 
 
CREATE PROCEDURE dbo.UpdatePortalInfo
@PortalID           int,
@PortalName         nvarchar(128),
@LogoFile           nvarchar(50),
@FooterText         nvarchar(100),
@ExpiryDate         datetime,
@UserRegistration   int,
@BannerAdvertising  int,
@Currency           char(3),
@AdministratorId    int,
@HostFee            money,
@HostSpace          int,
@PageQuota          int,
@UserQuota          int,
@PaymentProcessor   nvarchar(50),
@ProcessorUserId    nvarchar(50),
@ProcessorPassword  nvarchar(50),
@Description        nvarchar(500),
@KeyWords           nvarchar(500),
@BackgroundFile     nvarchar(50),
@SiteLogHistory     int,
@SplashTabId          int,
@HomeTabId          int,
@LoginTabId         int,
@UserTabId          int,
@DefaultLanguage    nvarchar(10),
@TimeZoneOffset    int,
@HomeDirectory varchar(100),
@LastModifiedByUserID int,
@CultureCode   nvarchar(50)
AS
 
update dbo.Portals
set    
       ExpiryDate = @ExpiryDate,
       UserRegistration = @UserRegistration,
       BannerAdvertising = @BannerAdvertising,
       Currency = @Currency,
       AdministratorId = @AdministratorId,
       HostFee = @HostFee,
       HostSpace = @HostSpace,
       PageQuota = @PageQuota,
       UserQuota = @UserQuota,
       PaymentProcessor = @PaymentProcessor,
       ProcessorUserId = @ProcessorUserId,
       ProcessorPassword = @ProcessorPassword,
       SiteLogHistory = @SiteLogHistory,
       DefaultLanguage = @DefaultLanguage,
       TimeZoneOffset = @TimeZoneOffset,
       HomeDirectory = @HomeDirectory,
  LastModifiedByUserID = @LastModifiedByUserID,
  LastModifiedOnDate = getdate()
where  PortalId = @PortalID
 
UPDATE dbo.PortalLocalization
SET
        PortalName = @PortalName,
        LogoFile = @LogoFile,
        FooterText = @FooterText,
        Description = @Description,
        KeyWords = @KeyWords,
        BackgroundFile = @BackgroundFile,
        HomeTabId = @HomeTabId,
        LoginTabId = @LoginTabId,
        UserTabId = @UserTabId,
SplashTabId = @SplashTabId,
LastModifiedByUserID = @LastModifiedByUserID,
LastModifiedOnDate = getdate()
WHERE PortalId = @PortalID AND CultureCode = @CultureCode
 
 
System.Data.SqlClient.SqlException: Cannot drop the procedure 'dbo.GetPortalDesktopModules', because it does not exist or you do not have permission.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(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)
 
 
 
/***********************/
/* fix for DNN-11595   */
/***********************/
 
/* Update GetPortalDesktopModules Stored Procedure */
/****************************************/
 
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[GetPortalDesktopModules]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1)
  DROP PROCEDURE dbo.GetPortalDesktopModules
 
 
System.Data.SqlClient.SqlException: There is already an object named 'GetPortalDesktopModules' in the database.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(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)
 
 
 
CREATE PROCEDURE dbo.GetPortalDesktopModules
@PortalId int,
@DesktopModuleId int
 
AS
SELECT PortalDesktopModules.*,
  PortalName,
  FriendlyName
FROM   PortalDesktopModules
INNER JOIN vw_Portals ON PortalDesktopModules.PortalId = vw_Portals.PortalId
INNER JOIN DesktopModules ON PortalDesktopModules.DesktopModuleId = DesktopModules.DesktopModuleId
WHERE  ((PortalDesktopModules.PortalId = @PortalId) OR @PortalId is null)
AND    ((PortalDesktopModules.DesktopModuleId = @DesktopModuleId) OR @DesktopModuleId is null)
ORDER BY PortalDesktopModules.PortalId, PortalDesktopModules.DesktopModuleId
 
 
 
 
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Error Upgrading Community versions 5.2.2 to 5.2.3...Error Upgrading Community versions 5.2.2 to 5.2.3...


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