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 ...Upgrading from 4.8.4 to 4.9 problemUpgrading from 4.8.4 to 4.9 problem
Previous
 
Next
New Post
9/21/2008 6:11 AM
 

Sanjay Mehrotra wrote

Sebastian - note that he's been running these manually in Management Studio...

Sanjay,

I understand that you don't know me, but I work with SQL Server all the day on my job. So running/debugging scripts is not a problem for me...

Thanks

 
New Post
9/21/2008 6:18 AM
 

Sebastian Leupold wrote

sanjay: great, i.e. the original log must be preserved :)

Sebastian,

Of course...

For your convinience, I've translated the message in english :

System.Data.SqlClient.SqlException: The subquery returned several values. This is not allowed when the subquery follows =,! =, <, <=,>,> = Or when it is used as an expression.
The instruction was stops.
   at System.Data.SqlClient.SqlConnection.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   *****/
/*****                                                  *****/
/************************************************************/

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])

For your information, all of the system's tabs are shown great. Some websites have SSL enabled and some other not. All of my websites have the same problem.

I didn't use any other naming convention rather than dbo and the table names aren't customized.

This script just set "True" to the column IsSecure on certain tables.

Thanks a lot for your help

 
New Post
9/21/2008 6:20 AM
 

Sanjay Mehrotra wrote

Do you have a backup of your old 4.8.X site?

Sanjay,

Yes, I've found it. It's an older version from 10 days ago.

Thanks for your help.

 
New Post
9/21/2008 8:12 AM
 

I've heard of the same upgrade isssue from another user in German UG, though I haven't been able to identify the source, since the staement looks correct to me. There seems to be an issue with "isSecure" if you have SSL enabled during upgrades, but I haven't had time yet to investigate.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/21/2008 12:08 PM
 

Here's what I'd do. reset all the flags to false in your current copy and let the scripts run without any errors. Once they've run successfully, you can go back and reset them to their correct values.

My impression was that you've been getting errors running the upgrades from within DNN in the past too and that's why you were running them out of Management Studio. My earlier comment was to that effect - if you did decide to run any one of the scripts in Management studio without running it first from within DNN, there wouldn't be any logs... Additionally if you ran the script from within Management studio but did not let DNN run it, then you run the risk of any changes that were made in the core (database wise) that were done without using a script is now not included in your db... You can possibly take a look at the upgrade code and see if there are any sections for any of the versions you've upgraded from to determine the outcome...

Sanjay

 


AcuitiDP - Oracle Data Provider for DotNetNuke
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrading from 4.8.4 to 4.9 problemUpgrading from 4.8.4 to 4.9 problem


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