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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumError Upgrading to Forums 5.0.0Error Upgrading to Forums 5.0.0
Previous
 
Next
New Post
11/18/2010 10:00 PM
 
hi

while upgrading from forums 4.5.3 to 5.0.0 i encountered the following error:

Error loading files from temporary folder - see below
StartJob Starting Installation
Info Starting Installation - DNN_Forum
Info Starting Installation - Script
Info Begin Sql execution
Info Created - 04.06.01.SqlDataProvider
Info Executing 04.06.01.SqlDataProvider
Info Start Sql execution: 04.06.01.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException (0x80131904): The statistics '_dta_stat_296388125_10_12_11' is dependent on column 'PostLevel'. The statistics '_dta_stat_296388125_10_12_1_11' is dependent on column 'PostLevel'. ALTER TABLE DROP COLUMN PostLevel failed because one or more objects access this column. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() 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) IF EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = N'PostLevel' AND OBJECT_ID = OBJECT_ID(N'dbo.Forum_Posts')) BEGIN ALTER TABLE dbo.Forum_Posts DROP COLUMN [PostLevel] END System.Data.SqlClient.SqlException (0x80131904): The statistics '_dta_stat_296388125_16_1_22' is dependent on column 'FileAttachmentURL'. The statistics '_dta_stat_296388125_1_22_10_13' is dependent on column 'FileAttachmentURL'. The statistics '_dta_stat_296388125_1_22_10_12' is dependent on column 'FileAttachmentURL'. The statistics '_dta_stat_296388125_10_13_16_1_22' is dependent on column 'FileAttachmentURL'. The statistics '_dta_stat_296388125_1_10_12_16_22' is dependent on column 'FileAttachmentURL'. ALTER TABLE DROP COLUMN FileAttachmentURL failed because one or more objects access this column. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() 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) IF EXISTS (SELECT * FROM SYS.COLUMNS WHERE NAME = N'FileAttachmentURL' AND OBJECT_ID = OBJECT_ID(N'dbo.Forum_Posts')) BEGIN ALTER TABLE dbo.Forum_Posts DROP COLUMN [FileAttachmentURL] END 
Info End Sql execution: 04.06.01.SqlDataProvider file
Info Finished Sql execution
Failure Installation Failed - Script
Info Installation Failed - DNN_Forum
Info Deleted temporary install folder
EndJob Ins

While upgrading to DNN 5.6 there was a minor error in SQL Provider as well but install completed successfully. Can someone suggest what could be the course of action?
Cheers
 
New Post
11/19/2010 1:15 AM
 
solved the issue by manually deleting all the stats mentioned in the error using the TSQL:
delete statistics <tablename>.<statisticsname>
ended this with:
update statistics <tablename>

Following the procedure above, the forums module installed successfully. I suspect that these stats got created by a performance optimization we had done on SQL Server earlier..
 
New Post
11/20/2010 3:33 PM
 
For anyone who comes across this post, the problem here was related to some stuff Abhishek did to his install (it was not done by the module or core itself). 

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumError Upgrading to Forums 5.0.0Error Upgrading to Forums 5.0.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