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...DNN 5.2.1 DB Upgrade ErrorDNN 5.2.1 DB Upgrade Error
Previous
 
Next
New Post
12/23/2009 9:15 AM
 
Joe Brinkman wrote:

Miguel,

  Your error is different.  Some other code created an UpgradeDefaultLanguages procedure which is conflicting with ours.  Just change the name of the proc in the script prior to actually starting the upgrade.

 

 

Yeah Joe I noticed after posting... I paste it and notice it was indeed related to language settings, I use 2 EN-US ofc and PT-pt ...

I'm not sure I understand what I should change tho... could you explain better? Many thanks!

 
 
New Post
12/23/2009 9:40 AM
 

 

The SQL Stored procedure right? :P

 

I read this several times until the light went on lol sorry :) 

 

 

but I still get an error...

Cannot insert the value NULL into column 'VersionId', table 'DNN_ChezTolib.dbo.Version'; column does not allow nulls. INSERT fails.
The statement has been terminated.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'VersionId', table 'DNN_ChezTolib.dbo.Version'; column does not allow nulls. INSERT fails.
The statement has been terminated.

Source Error:

Line 171: Response.Write("<h2>Upgrade Status Report</h2>")
Line 172: Response.Flush()
Line 173: Services.Upgrade.Upgrade.UpgradeDNN(strProviderPath, DataProvider.Instance().GetVersion)
Line 174:
Line 175: 'Install optional resources if present
 

 

 

 

 
New Post
12/23/2009 10:53 AM
 

 We got this when we did a test upgrade:

System.Data.SqlClient.SqlException: Cannot drop the index 'Packages.IX_Packages', 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 Packages Unique Index to include PackageType */ 
/****************************************************/ 

DROP INDEX IX_Packages ON Packages 
CREATE UNIQUE NONCLUSTERED INDEX IX_Packages ON Packages ( [Owner], Name, PackageType, PortalID ) 

any help would be appreciated.

 
New Post
12/23/2009 11:05 AM
 

@Joe,

 

Joe Brinkman wrote:

@Herb,

  In 5.2.1 we added some defensive coding to try and ensure that the script has execution permissions ...

If you open SQL Enterprise Manager, and open a query window and execute the following script (with the appropriate substitutions for db name and login:

[$h@unsDB] EXECUTE to [$h@unW@1k3r]
If this code fails then there is some permission issue in your db.

GRANT USE ...



 

I contacted by hosting provider because there were error's as you suggested. The reply I got back from my provider:

Dear customer,
I am sorry that we do not assign the grant permission to any database user. So you would get the error when you tried to run GRANT EXECUTE to [$h@unW@1k3r].
Please let us know if you have other concern. Thanks!

Thanks for the quick reply on the error,

Herb


Wisconsins DNN User Group: www.WIDNN.com
Visit my home page: www.HerbBenton.com
 
New Post
12/23/2009 3:19 PM
 

 

The database I was using was restored from a SQL 2008 server scripted to 2005... so i guess that is messing it all up... I tested a new database and it works!

 

What would be the best way form me to move the data from my old DB to the new one.???

 

NOTE: the old db is a SQL 2008 dB and this server is sql 2005 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...DNN 5.2.1 DB Upgrade ErrorDNN 5.2.1 DB Upgrade Error


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