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 ...Upgrade Errors:  4.9.4 to 5.5.0Upgrade Errors: 4.9.4 to 5.5.0
Previous
 
Next
New Post
9/1/2010 3:52 PM
 
I am trying to upgrade an installation that is 4.9.4 to 5.5.0.  There were two errors noted.

1.  Executing Script: 05.00.00.SqlDataProvider Error! (see 05.00.00.log.resources for more information)
System.Data.SqlClient.SqlException: 'FK_AIWeb_EventLog_AIWeb_EventLogTypes' is not a constraint.
Could not drop constraint. See previous errors.
   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 OobjectQualifier for PK_EventLogTypes */
/**********************************************/

ALTER TABLE dbo.AIWeb_EventLog
    DROP CONSTRAINT FK_AIWeb_EventLog_AIWeb_EventLogTypes
ALTER TABLE dbo.AIWeb_EventLogConfig
    DROP CONSTRAINT FK_AIWeb_EventLogConfig_AIWeb_EventLogTypes
ALTER TABLE dbo.AIWeb_EventLogTypes
    DROP CONSTRAINT PK_EventLogTypes
ALTER TABLE dbo.AIWeb_EventLogTypes
    ADD CONSTRAINT PK_AIWeb_EventLogTypes PRIMARY KEY CLUSTERED ( LogTypeKey )
ALTER TABLE dbo.AIWeb_EventLogConfig
    ADD CONSTRAINT FK_AIWeb_EventLogConfig_AIWeb_EventLogTypes1 FOREIGN KEY ( LogTypeKey ) REFERENCES dbo.AIWeb_EventLogTypes ( LogTypeKey ) ON UPDATE  NO ACTION ON DELETE  NO ACTION
ALTER TABLE dbo.AIWeb_EventLog
    ADD CONSTRAINT FK_AIWeb_EventLog_AIWeb_EventLogTypes1 FOREIGN KEY ( LogTypeKey ) REFERENCES dbo.AIWeb_EventLogTypes ( LogTypeKey ) ON UPDATE  NO ACTION  ON DELETE  NO ACTION

2.  A more general error:  00:02:23.140 -   Executing Application Upgrades: 05.03.00 Error!

Where should I look for details of that error?

The site is running, but there are some errors that I'm trying to track down ...



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
9/1/2010 4:42 PM
 
the first one: there seem to be events of an unknown type; Check it in the database or clear event log prior to the upgrade. Regarding 5.3.0: is there anything logged in event log?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/1/2010 4:57 PM
 
I check the database and the mentioned constraint wasn't there.  I manually executed the other 5 lines of SQL.

As for the others, I'm not sure, but it appears that upgrading several 3rd party modules has solved the visible problems.

Thanks.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
9/1/2010 7:42 PM
 
Craig, did you encounter Eventlog rows, which violate the FK restrictions? otherwise clear all items and add the contraint.

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 ...Upgrade Errors:  4.9.4 to 5.5.0Upgrade Errors: 4.9.4 to 5.5.0


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