|
|
|
|
www.1lastminute.ro Joined: 1/22/2003
Posts: 30
|
|
|
DNN 5.4.2 Feedback 5.0 (beta)
I receive this error
Start Sql execution: 05.00.00.SqlDataProvider file
Error SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'SET'. Incorrect syntax near the keyword 'SET'. 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) /**********************************************************************/ /***** SqlDataProvider *****/ /***** *****/ /***** *****/ /***** Note: To manually execute this script you must *****/ /***** perform a search and replace operation *****/ /***** for dbo. and *****/ /***** *****/ /**********************************************************************/ /* Remove primary key on combined FeedbackID and ModuleID columns, recreate primary key on */ /* FeedbackID column only since FeedbackID is identity column it is guaranteed to be unique */ /* Add foreign key relationship to Modules table to enable cascade delete of Feedback items on delete of */ /* associated module. Note that there may be orphaned data in the Feedback table that is no-longer */ /* related to a module by ModuleID. Admin will be given option from settings control to delete orphaned data */ ALTER TABLE dbo.Modules SET (LOCK_ESCALATION = TABLE) System.Data.SqlClient.SqlException: 'PK_DNN_Feedback' 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) ALTER TABLE dbo.Feedback DROP CONSTRAINT PK_DNN_Feedback System.Data.SqlClient.SqlException: Table 'Feedback' already has a primary key defined on 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.Feedback ADD CONSTRAINT PK_DNN_Feedback PRIMARY KEY CLUSTERED ( FeedbackID ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'SET'. Incorrect syntax near the keyword 'SET'. 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_Feedback SET (LOCK_ESCALATION = TABLE)
Info End Sql execution: 05.00.00.SqlDataProvider file
Thanks,
Marius
|
|
|
|
| |
|
|
|
www.wesnetdesigns.com Joined: 2/18/2005
Posts: 3253
|
|
|
Thanks for testing and reporting this error. I'll look into it later today. A few questions for you:
1. Was this a fresh install of Feedback 05.00.00 or was it an upgrade of an earlier version?
2. Which version of MS SQL Server database are you using - MS SQL Server 2003, 2005 or 2008? Standard or Express?
3. What is databaseOwner and objectQualifier set to in the web.config?
Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
|
|
|
|
| |
|
|
|
www.1lastminute.ro Joined: 1/22/2003
Posts: 30
|
|
|
It is a fresh install ,
MS SQL 2005 Express,
objectQualifier="" databaseOwner="dbo"
Marius
|
|
|
|
| |
|
|
|
www.wesnetdesigns.com Joined: 2/18/2005
Posts: 3253
|
|
|
As I had suspected, the error was due to missing {objectQualifier} tokens in the portion of the 05.00.00.SqlDataProvider script which alters the Feedback tables primary key constraint and foreign key relationship. I thought I had tested the install on a site with a blank objectQualifier specified in the web.config (as does your site) but apparently had done that test before a last minute addition of that portion of the 05.00.00.SqlDataProvider script.
I have uploaded new beta packages (install and source) to the project's Beta release download site on Codeplex ( http://dnnfeedback.codeplex.com/relea...). Please download the new package dated May 26, 2010, and retest after chacking that any artifacts (dbo.Feedback and dbo.FeedbackLists tables and stored procedures beginning with the suffix Feedback_) that were created during the failed install have been removed from your test database.
Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
|
|
|
|
| |
|
|
|
www.thevwc.org Joined: 3/10/2007
Posts: 221
|
|
|
I removed the previous installation of Feedback Module from my website. I am running DNN 05.04.02, SQL Server 2005, Database Owner is 'dbo'. When I attempted to install the latest version of the Feedback module, I received the following errors:
Package Installation Report
See below for the results of the package installation
Error loading files from temporary folder - see below |
StartJob |
Starting Installation |
Info |
Starting Installation - DNN_Feedback |
Info |
Starting Installation - Script |
Info |
Begin Sql execution |
Info |
Creating backup of previous version - Providers\DataProviders\SqlDataProvider\03.02.01.SqlDataProvider |
Info |
Created - Providers\DataProviders\SqlDataProvider\03.02.01.SqlDataProvider |
Info |
Executing 03.02.01.SqlDataProvider |
Info |
Start Sql execution: 03.02.01.SqlDataProvider file |
Info |
End Sql execution: 03.02.01.SqlDataProvider file |
Info |
Creating backup of previous version - Providers\DataProviders\SqlDataProvider\04.04.01.SqlDataProvider |
Info |
Created - Providers\DataProviders\SqlDataProvider\04.04.01.SqlDataProvider |
Info |
Executing 04.04.01.SqlDataProvider |
Info |
Start Sql execution: 04.04.01.SqlDataProvider file |
Info |
End Sql execution: 04.04.01.SqlDataProvider file |
Info |
Creating backup of previous version - Providers\DataProviders\SqlDataProvider\04.04.02.SqlDataProvider |
Info |
Created - Providers\DataProviders\SqlDataProvider\04.04.02.SqlDataProvider |
Info |
Executing 04.04.02.SqlDataProvider |
Info |
Start Sql execution: 04.04.02.SqlDataProvider file |
Info |
End Sql execution: 04.04.02.SqlDataProvider file |
Info |
Creating backup of previous version - Providers\DataProviders\SqlDataProvider\04.04.03.SqlDataProvider |
Info |
Created - Providers\DataProviders\SqlDataProvider\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 |
Creating backup of previous version - Providers\DataProviders\SqlDataProvider\05.00.00.SqlDataProvider |
Info |
Created - Providers\DataProviders\SqlDataProvider\05.00.00.SqlDataProvider |
Info |
Executing 05.00.00.SqlDataProvider |
Info |
Start Sql execution: 05.00.00.SqlDataProvider file |
Failure |
SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'SET'. Incorrect syntax near the keyword 'SET'. at System.Data.SqlClient.SqlConnection.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) /**********************************************************************/ /***** SqlDataProvider *****/ /***** *****/ /***** *****/ /***** Note: To manually execute this script you must *****/ /***** perform a search and replace operation *****/ /***** for dbo. and *****/ /***** *****/ /**********************************************************************/ /* Remove primary key on combined FeedbackID and ModuleID columns, recreate primary key on */ /* FeedbackID column only since FeedbackID is identity column it is guaranteed to be unique */ /* Add foreign key relationship to Modules table to enable cascade delete of Feedback items on delete of */ /* associated module. Note that there may be orphaned data in the Feedback table that is no-longer */ /* related to a module by ModuleID. Admin will be given option from settings control to delete orphaned data */ ALTER TABLE dbo.Modules SET (LOCK_ESCALATION = TABLE) System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'SET'. Incorrect syntax near the keyword 'SET'. at System.Data.SqlClient.SqlConnection.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.Feedback SET (LOCK_ESCALATION = TABLE) |
Info |
End Sql execution: 05.00.00.SqlDataProvider file |
Info |
Finished Sql execution |
Failure |
Installation Failed - Script |
Info |
Installation Failed - DNN_Feedback |
Info |
Deleted temporary install folder |
EndJob |
Installation Failed |
|
|
Regards
Hans
|
|
|
|
| |