|
|
|
Joined: 3/18/2005
Posts: 2
|
|
|
When installing in a blank site (no update) using the data provider code in the 52224 Source, I run into the following problems:
- 04.04.04.SqlDataProvider
Not dropped before Create:
dnn_Forum_Members_GetByEmail dnn_Forum_Members_GetOnline
- 04.05.00.SqlDataProvider
Not dropped before Create:
dnn_Forum_Bookmark_Threads_Check dnn_Forum_Bookmark_Threads_CreateDelete dnn_Forum_Avatar_Role_Update
Drop constraint SELECT for N'Forum_Users' and others doesn't seem to be working do to missing {objectQualifier} (There seem to be other places with this problem as well, such as "-- Get rid of sproc's which had no oQ before" in 04.03.00)
- 04.05.02.SqlDataProvider
Not dropped before Create:
dnn_Forum_Moderate_AddHistory
- 04.06.01.SqlDataProvider
Drop Constraint SELECT for N'Forum_Users' and others doesn't seem to be working do to missing {objectQualifier}
- Also
View dnn_Forum-vw_ForumUsers has dropped columns still in it:
EnableDisplayinMemberList (also in the WHERE clause that created it) EnablePM
(It's not clear if this view is used since the WHERE clause is invalid.)
|
|
|
|
| |
|
|
|
Joined: 4/5/2003
Posts: 4377
|
|
|
Thanks Rod, I haven't actually done a test w/ an oq yet.
|
|
|
|
| |
|
|
|
Joined: 7/7/2006
Posts: 207
|
|
|
I cant seem to get 4.8 loaded, only 4.5.3. I tried doing an update install over 4.5.3 and i get a similar error that starts after "Start Sql execution: 04.06.01.SqlDataProvider file"
I cannot get this forum to load, something is wrong with the installer or my installation. I actually killed a forum that was new since i am testing it out, however spending a lot of time trying to get this figured out. I deleted everything at one point that had to do with the forum module. I did have a tough time last night deleting some tables because of a foreign key issue.
Is it ok to post this stuff in this forum or better on a different one?
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 |
Creating backup of previous version - 03.00.00.SqlDataProvider |
Info |
Created - 03.00.00.SqlDataProvider |
Info |
Executing 03.00.00.SqlDataProvider |
Info |
Start Sql execution: 03.00.00.SqlDataProvider file |
Info |
End Sql execution: 03.00.00.SqlDataProvider file |
Info |
Created - 03.10.05.SqlDataProvider |
Info |
Executing 03.10.05.SqlDataProvider |
Info |
Start Sql execution: 03.10.05.SqlDataProvider file |
Info |
End Sql execution: 03.10.05.SqlDataProvider file |
Info |
Created - 04.03.00.SqlDataProvider |
Info |
Executing 04.03.00.SqlDataProvider |
Info |
Start Sql execution: 04.03.00.SqlDataProvider file |
Info |
End Sql execution: 04.03.00.SqlDataProvider file |
Info |
Created - 04.03.04.SqlDataProvider |
Info |
Executing 04.03.04.SqlDataProvider |
Info |
Start Sql execution: 04.03.04.SqlDataProvider file |
Info |
End Sql execution: 04.03.04.SqlDataProvider file |
Info |
Created - 04.04.03.SqlDataProvider |
Info |
Executing 04.04.03.SqlDataProvider |
Info |
Start Sql execution: 04.04.03.SqlDataProvider file |
Info |
End Sql execution: 04.04.03.SqlDataProvider file |
Info |
Created - 04.04.04.SqlDataProvider |
Info |
Executing 04.04.04.SqlDataProvider |
Info |
Start Sql execution: 04.04.04.SqlDataProvider file |
Info |
End Sql execution: 04.04.04.SqlDataProvider file |
Info |
Created - 04.05.00.SqlDataProvider |
Info |
Executing 04.05.00.SqlDataProvider |
Info |
Start Sql execution: 04.05.00.SqlDataProvider file |
Failure |
SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: The object 'DF__dnn_Forum__IsGlo__1F10398A' is dependent on column 'IsGlobalModerator'. ALTER TABLE DROP COLUMN IsGlobalModerator failed because one or more objects access this column. 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) ALTER TABLE dbo.[dnn_Forum_Users] DROP COLUMN [IsGlobalModerator] System.Data.SqlClient.SqlException: The object 'DF__dnn_Forum__Moder__20045DC3' is dependent on column 'ModeratorReturn'. ALTER TABLE DROP COLUMN ModeratorReturn failed because one or more objects access this column. 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) ALTER TABLE dbo.[dnn_Forum_Users] DROP COLUMN [ModeratorReturn] System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Users ADD CONSTRAINT DF_dnn_Forum_Users_TrackingDuration DEFAULT (1000) FOR TrackingDuration System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Users ADD CONSTRAINT DF_dnn_Forum_Users_EmailFormat DEFAULT (1) FOR EmailFormat System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Users ADD CONSTRAINT DF_dnn_Forum_Users_LockTrust DEFAULT (0) FOR LockTrust System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Users ADD CONSTRAINT DF_dnn_Forum_Users_IsBanned DEFAULT (0) FOR IsBanned System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Users ADD CONSTRAINT DF_dnn_Forum_Users_EnablePublicEmail DEFAULT (0) FOR EnablePublicEmail System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Users ADD CONSTRAINT DF_dnn_Forum_Users_EnableSelfNotifications DEFAULT (0) FOR EnableSelfNotifications System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Users ADD CONSTRAINT DF_dnn_Forum_Users_EnableProfileWeb DEFAULT (1) FOR EnableProfileWeb System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Users ADD CONSTRAINT DF_dnn_Forum_Users_EnableDefaultPostNotify DEFAULT (1) FOR EnableDefaultPostNotify System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Users ADD CONSTRAINT DF_dnn_Forum_Users_EnableProfileRegion DEFAULT (0) FOR EnableProfileRegion System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Users ADD CONSTRAINT DF_dnn_Forum_Users_EnablePMNotifications DEFAULT (1) FOR EnablePMNotifications System.Data.SqlClient.SqlException: Column already has a DEFAULT bound to it. Could not create 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) ALTER TABLE dbo.dnn_Forum_Polls_Polls ADD CONSTRAINT DF_dnn_Forum_Polls_Polls_ShowResults DEFAULT (1) FOR ShowResults |
Info |
End Sql execution: 04.05.00.SqlDataProvider file |
Info |
Finished Sql execution |
Failure |
Installation Failed - Script |
|
|
|
|
|
| |
|
|
|
Joined: 8/10/2003
Posts: 3594
|
|
|
Hi Cody,
please notice that you have to check the database after a issued install of the Forum module, that all forum artifacts are deleted from the database. Try to run the forum uninstall.SqlDataProvider on SQL in Host could help. But a manual check I have to suggest. Please check the procedures, tables, and views of your database and delete all forum artifacts before trying to reinstall the forum module.
|
|
|
|
| |
|
|
|
Joined: 8/10/2003
Posts: 3594
|
|
|
Hi Cody,
I am aware of this issue and have it reproduced. We are working on a solution that want be come with the next beta I think.
Thanks
|
|
|
|
| |