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 ...Database scripts not running in 5.01 upgradeDatabase scripts not running in 5.01 upgrade
Previous
 
Next
New Post
7/8/2009 9:41 AM
 

Greetings,

Just ran the 5.01 upgrade: unzipped the package over the existing install (in a virtual folder), replaced sql and token entries in the release.config file and renamed it to web.config. Browsed to localhost/dnn (my virtual folder name) and nothing - no feedback, no errors. The site appears to be running correctly, and shows as version 05.01, but the majority of my users (teachers) are off for the summer. And I did lose my admin/host icons (which I fixed with a script I found in the Forums - the ~/images problem) and I see errors in the dataprovider logs (mostly System.Data.SqlClient.SqlException: Invalid column name 'PortalID'.). So I wonder if there are hidden problems waiting to bite me because the scripts didn't run or had errors I didn't see.

And yes - Network Services has full control over the dnn folder... ;)
Is there a manual way to kick off the database scripts or am I worrying over nothing?

Thanks!

 
New Post
7/8/2009 12:19 PM
 

go to host settings and check, whether the version is listed (or check /providers/dataproviders/Sqldataprovider folder for a file 05.01.00.log.

If it is present, the upgradescript did run. Otherwise try to browse /install/instal.aspx?mode=upgrade.

Be aware, that you don't have to touch web.config manually when upgrading from DNN 4.6.2 or later.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/9/2009 11:07 AM
 

Thanks Sebastian. The 05.01.00.log file is there.

The initial failure seems to have happened at the 05.00 upgrade:

System.Data.SqlClient.SqlException: For DROP INDEX, you must give both the table and the index name, in the form tablename.indexname.
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)





/***********************************************************/
/* End Update Admin Modules to conform to Module Standards */
/***********************************************************/

/* Update Packages */
/*******************/

ALTER TABLE dbo.Packages
ADD PortalID int NULL

ALTER TABLE dbo.Packages
ALTER COLUMN Description nvarchar(2000) NULL

ALTER TABLE dbo.Packages
ALTER COLUMN License ntext NULL

ALTER TABLE dbo.Packages
ALTER COLUMN Manifest ntext NULL

ALTER TABLE dbo.Packages
ADD Owner nvarchar(100) NULL

ALTER TABLE dbo.Packages
ADD Organization nvarchar(100) NULL

ALTER TABLE dbo.Packages
ADD Url nvarchar(250) NULL

ALTER TABLE dbo.Packages
ADD Email nvarchar(100) NULL

ALTER TABLE dbo.Packages
ADD ReleaseNotes ntext NULL

ALTER TABLE dbo.Packages
ADD IsSystemPackage bit NOT NULL CONSTRAINT DF_Packages_IsSystemPackage DEFAULT 0

DROP INDEX IX_Packages ON dbo.Packages

CREATE UNIQUE NONCLUSTERED INDEX IX_Packages ON dbo.Packages ( Owner, Name, PortalID )

Everything after that that looked for a PortalID column in the Packages table failed because the table schema was not altered. As a result, it seems that a lot of URL references are doubling up on the domain name, like: http://domain.com//http://domain.com/page.aspx. Do you think I should change the syntax on that failed script and run it manually?

Thanks again.

 
New Post
7/9/2009 1:08 PM
 

Jerry, are you still using Sql Server 2000? I did a post earlier today, how to fix the script and re-run it.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Database scripts not running in 5.01 upgradeDatabase scripts not running in 5.01 upgrade


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