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 from 4.9.5 to 5.5.0 gives error 05.00.00.SqlDataProvider Error!Upgrade from 4.9.5 to 5.5.0 gives error 05.00.00.SqlDataProvider Error!
Previous
 
Next
New Post
8/6/2010 8:44 PM
 
I have tried to upgrade about 20 times from 4.9.5.  First I tried to go to 5.4.4 ( http://www.dotnetnuke.com/Community/F... ) and then gave up because many of the errors are fixed in 5.5.0.532. Using the beta 5.5 did fix all the upgrade errors, except for one:
00:00:02.116 -   Executing Script: 05.00.00.SqlDataProvider Error! (see 05.00.00.log.resources for more information)

and when I click on the link to go to the site, the page just shows the DotNetNuke error page, with two copies of "An error has occurred." I have done many searches here to find a clue, and I think it might be because I (foolishly?) used an object qualifier when I first set up this site (dnn_).

Here is what the log says:

System.Data.SqlClient.SqlException: 'PK_EventLogMaster' 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_EventLogMaster */
/**********************************************/

ALTER TABLE dbo.dnn_EventLog
 DROP CONSTRAINT PK_EventLogMaster

ALTER TABLE dbo.dnn_EventLog
 ADD CONSTRAINT PK_dnn_EventLog PRIMARY KEY CLUSTERED ( LogGUID )

System.Data.SqlClient.SqlException: 'PK_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.dnn_EventLog
 DROP CONSTRAINT FK_dnn_EventLog_dnn_EventLogTypes
ALTER TABLE dbo.dnn_EventLogConfig
 DROP CONSTRAINT FK_dnn_EventLogConfig_dnn_EventLogTypes
ALTER TABLE dbo.dnn_EventLogTypes
 DROP CONSTRAINT PK_EventLogTypes
ALTER TABLE dbo.dnn_EventLogTypes
 ADD CONSTRAINT PK_dnn_EventLogTypes PRIMARY KEY CLUSTERED ( LogTypeKey )
ALTER TABLE dbo.dnn_EventLogConfig
 ADD CONSTRAINT FK_dnn_EventLogConfig_dnn_EventLogTypes1 FOREIGN KEY ( LogTypeKey ) REFERENCES dbo.dnn_EventLogTypes ( LogTypeKey ) ON UPDATE  NO ACTION ON DELETE  NO ACTION
ALTER TABLE dbo.dnn_EventLog
 ADD CONSTRAINT FK_dnn_EventLog_dnn_EventLogTypes1 FOREIGN KEY ( LogTypeKey ) REFERENCES dbo.dnn_EventLogTypes ( LogTypeKey ) ON UPDATE  NO ACTION  ON DELETE  NO ACTION


I'm not quite sure what this means, but it looks like it is trying to fix the object qualifier on the EventLog table, yes?
Any ideas on how I can get this to work?

 
New Post
8/6/2010 9:22 PM
 
AFAIK you may ignore the issue, there is defensive code missing in the upgrade script only.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/6/2010 9:53 PM
 
Thanks for your reply, Sebastian, but I don't know what else could be blocking the site from working. All the rest of the update log says "success". Perhaps I should try going to an earlier 5.x version and see if that update succeeds. Any suggestions?

Here is the log:

Upgrading DotNetNuke

Current Assembly Version: 05.05.00

Current Database Version: 04.09.05



Upgrade Status Report

00:00:00.148 - Upgrading to Version: 05.05.00
00:00:00.393 - Executing Script: 05.00.00.SqlDataProvider Error! (see 05.00.00.log.resources for more information)
00:00:07.444 - Executing Script: 05.00.01.SqlDataProvider Success
00:00:09.009 - Executing Script: 05.01.00.SqlDataProvider Success
00:00:19.163 - Executing Script: 05.01.01.SqlDataProvider Success
00:00:19.699 - Executing Script: 05.01.02.SqlDataProvider Success
00:00:19.733 - Executing Script: 05.01.03.SqlDataProvider Success
00:00:19.815 - Executing Script: 05.01.04.SqlDataProvider Success
00:00:19.845 - Executing Script: 05.02.00.SqlDataProvider Success
00:00:23.088 - Executing Script: 05.02.01.SqlDataProvider Success
00:00:23.249 - Executing Script: 05.02.02.SqlDataProvider Success
00:00:23.499 - Executing Script: 05.02.03.SqlDataProvider Success
00:00:23.803 - Executing Script: 05.03.00.SqlDataProvider Success
00:00:25.358 - Executing Script: 05.03.01.SqlDataProvider Success
00:00:25.371 - Executing Script: 05.04.00.SqlDataProvider Success
00:00:26.519 - Executing Script: 05.04.01.SqlDataProvider Success
00:00:26.568 - Executing Script: 05.04.02.SqlDataProvider Success
00:00:26.657 - Executing Script: 05.04.03.SqlDataProvider Success
00:00:26.741 - Executing Script: 05.04.04.SqlDataProvider Success
00:00:26.754 - Executing Script: 05.05.00.SqlDataProvider Success
00:00:30.556 - Executing Application Upgrades: 05.00.00 Success
00:01:02.705 - Executing Application Upgrades: 05.00.01 Success
00:01:02.757 - Executing Application Upgrades: 05.01.00 Success
00:01:10.782 - Executing Application Upgrades: 05.01.01 Success
00:01:10.925 - Executing Application Upgrades: 05.01.02 Success
00:01:10.925 - Executing Application Upgrades: 05.01.03 Success
00:01:11.354 - Executing Application Upgrades: 05.01.04 Success
00:01:11.354 - Executing Application Upgrades: 05.02.00 Success
00:01:11.792 - Executing Application Upgrades: 05.02.01 Success
00:01:11.806 - Executing Application Upgrades: 05.02.02 Success
00:01:11.806 - Executing Application Upgrades: 05.02.03 Success
00:01:11.807 - Executing Application Upgrades: 05.03.00 Success
00:01:13.918 - Executing Application Upgrades: 05.03.01 Success
00:01:13.918 - Executing Application Upgrades: 05.04.00 Success
00:01:14.648 - Executing Application Upgrades: 05.04.01 Success
00:01:14.648 - Executing Application Upgrades: 05.04.02 Success
00:01:14.649 - Executing Application Upgrades: 05.04.03 Success
00:01:14.694 - Executing Application Upgrades: 05.04.04 Success
00:01:14.694 - Executing Application Upgrades: 05.05.00 Success
00:01:15.034 - Cleaning Up Files: 05.00.00 Success
00:01:15.362 - Cleaning Up Files: 05.00.01 Success
00:01:15.378 - Cleaning Up Files: 05.01.00 Success
00:01:15.477 - Cleaning Up Files: 05.01.01 Success
00:01:15.477 - Cleaning Up Files: 05.01.02 Success
00:01:15.477 - Cleaning Up Files: 05.01.03 Success
00:01:15.478 - Cleaning Up Files: 05.01.04 Success
00:01:15.478 - Cleaning Up Files: 05.02.00 Success
00:01:15.478 - Cleaning Up Files: 05.02.01 Success
00:01:15.478 - Cleaning Up Files: 05.02.02 Success
00:01:15.478 - Cleaning Up Files: 05.02.03 Success
00:01:15.479 - Cleaning Up Files: 05.03.00 Success
00:01:15.480 - Cleaning Up Files: 05.03.01 Success
00:01:15.480 - Cleaning Up Files: 05.04.00 Success
00:01:15.481 - Cleaning Up Files: 05.04.01 Success
00:01:15.481 - Cleaning Up Files: 05.04.02 Success
00:01:15.481 - Cleaning Up Files: 05.04.03 Success
00:01:15.481 - Cleaning Up Files: 05.04.04 Success
00:01:15.481 - Cleaning Up Files: 05.05.00 Success
00:01:15.482 - Updating Config Files: 05.00.00 Success
00:01:15.483 - Updating Config Files: 05.00.01 Success
00:01:15.483 - Updating Config Files: 05.01.00 Success
00:01:15.491 - Updating Config Files: 05.01.01 Success
00:01:15.492 - Updating Config Files: 05.01.02 Success
00:01:15.492 - Updating Config Files: 05.01.03 Success
00:01:15.492 - Updating Config Files: 05.01.04 Success
00:01:15.492 - Updating Config Files: 05.02.00 Success
00:01:15.497 - Updating Config Files: 05.02.01 Success
00:01:15.502 - Updating Config Files: 05.02.02 Success
00:01:15.502 - Updating Config Files: 05.02.03 Success
00:01:15.503 - Updating Config Files: 05.03.00 Success
00:01:15.508 - Updating Config Files: 05.03.01 Success
00:01:15.508 - Updating Config Files: 05.04.00 Success
00:01:15.508 - Updating Config Files: 05.04.01 Success
00:01:15.508 - Updating Config Files: 05.04.02 Success
00:01:15.508 - Updating Config Files: 05.04.03 Success
00:01:15.509 - Updating Config Files: 05.04.04 Success
00:01:15.509 - Updating Config Files: 05.05.00 Success
00:01:15.509 - Performing General Upgrades
00:01:15.663 - Installing Optional Modules:
00:01:15.690 - Installing Package File HTML_Community_05.04.03_Install: Success
00:01:17.012 - Installing Package File Messaging_01.01.00_Install: Success
00:01:17.491 - Installing Package File Taxonomy_01.01.00_Install: Success
00:01:17.793 - Installing Package File Telerik_05.05.00_Install: Success
00:01:19.241 - Installing Optional Skins:
00:01:19.242 - Installing Optional Containers:
00:01:19.242 - Installing Optional Languages:
00:01:19.242 - Installing Optional Providers:
00:01:19.243 - Installing Package File AspNetMembershipProvider_05.02.00_Install: Success
00:01:19.443 - Installing Package File CorePermissionProvider_05.01.01_Install: Success
00:01:19.697 - Installing Package File CoreSitemapProvider_5.5.0.0_Install: Success
00:01:19.779 - Installing Package File DatabaseLoggingProvider_05.01.01_Install: Success
00:01:19.897 - Installing Package File DNNMembershipProvider_05.01.03_Install: Success
00:01:19.995 - Installing Package File DNNMenuNavigationProvider_05.01.00_Install: Success
00:01:20.129 - Installing Package File DNNTreeNavigationProvider_05.01.00_Install: Success
00:01:20.222 - Installing Package File FckHtmlEditorProvider_02.00.04_Install: Success
00:01:31.588 - Installing Package File FileBasedCachingProvider_05.01.03_Install: Success
00:01:31.769 - Installing Package File FileModuleCachingProvider_05.04.03_Install: Success
00:01:32.054 - Installing Package File MemoryModuleCachingProvider_05.02.01_Install: Success
00:01:32.179 - Installing Package File SchedulingProvider_05.02.01_Install: Success
00:01:32.294 - Installing Package File SearchIndexProvider_05.01.00_Install: Success
00:01:32.782 - Installing Package File SearchProvider_05.01.01_Install: Success
00:01:33.066 - Installing Package File SolpartMenuNavigationProvider_05.01.00_Install: Success
00:01:33.376 - Installing Package File TelerikEditorProvider_05.04.02_Install: Success
00:01:33.807 - Installing Optional AuthSystems:
00:01:33.808 - Installing Package File LiveID_01.00.01_Install: Success
00:01:33.982 - Installing Package File OpenID_02.00.00_Install: Success
00:01:34.246 - Installing Optional Packages:

Upgrade Complete



Click Here To Access Your Portal


 
New Post
8/7/2010 5:16 AM
 
if the listed constraints are the only issue, you may safely continue, if you are firm with SQL you may check in management studio, whether the changes to the table have been applied, but they will mainly add stability and performance, not general function.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/7/2010 2:28 PM
 
The problem is that when I click "Click Here To Access Your Portal", I get the DotNetNuke error screen saying "An error has occurred" twice with a big white X in a red circle to the left of the two messages. That is displayed instead of my home page.

Just to make sure my environment was okay, I just nuked that and installed the 5.5 install package instead. Everything worked perfectly, so it can't be the server or SQL (Express) configuration.

I'm thinking that maybe I should try upgrading to a lower version number, like 5.2 or something to see if it works. Any suggestions of a good intermediate version to try?
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade from 4.9.5 to 5.5.0 gives error 05.00.00.SqlDataProvider Error!Upgrade from 4.9.5 to 5.5.0 gives error 05.00.00.SqlDataProvider 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