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 ForumsForm and ListForm and ListInstall problem with 5.0.2 on dnn 5.1 (744)Install problem with 5.0.2 on dnn 5.1 (744)
Previous
 
Next
New Post
8/4/2009 7:54 AM
 

I had a similar error initially and also a warning message that .xsl files were not allowed.

After allowing .xsl files (in host settings) it then failed for a different reason:

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_UserDefinedTable
Info Starting Installation - Script
Info Begin Sql execution
Info Creating backup of previous version - providers\dataproviders\sqldataprovider\03.03.07.sqldataprovider
Info Created
Info Executing 03.03.07.sqldataprovider
Info Start Sql execution: 03.03.07.sqldataprovider file
Info End Sql execution: 03.03.07.sqldataprovider file
Info Creating backup of previous version - providers\dataproviders\sqldataprovider\03.04.00.sqldataprovider
Info Created
Info Executing 03.04.00.sqldataprovider
Info Start Sql execution: 03.04.00.sqldataprovider file
Info End Sql execution: 03.04.00.sqldataprovider file
Info Creating backup of previous version - providers\dataproviders\sqldataprovider\03.05.00.sqldataprovider
Info Created
Info Executing 03.05.00.sqldataprovider
Info Start Sql execution: 03.05.00.sqldataprovider file
Info End Sql execution: 03.05.00.sqldataprovider file
Info Creating backup of previous version - providers\dataproviders\sqldataprovider\04.05.00.sqldataprovider
Info Created
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: Column names in each table must be unique. Column name 'PrivateField' in table 'nepof.UserDefinedFields' is specified more than once. 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 nepof.[UserDefinedFields] ADD PrivateField BIT DEFAULT 0 Not Null /* replace stored procedures with updated versions: */ IF exists (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'nepof.[UserDefinedTable_AddField]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1) DROP PROCEDURE nepof.[UserDefinedTable_AddField] System.Data.SqlClient.SqlException: There is already an object named 'UserDefinedTable_AddField' in the database. 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) CREATE PROCEDURE nepof.[UserDefinedTable_AddField] @ModuleId INT, @FieldTitle NVARCHAR(50), @BeforePos INT, @HelpText NVARCHAR(512), @Required BIT, @FieldType VARCHAR(20), @Default NVARCHAR(2000), @Visible BIT, @ShowOnEdit BIT, @Searchable BIT, @Private BIT, @InputSettings NVARCHAR(2000), @OutputSettings NVARCHAR(2000), @NormalizeFlag BIT, @ValidationRule NVARCHAR(512), @ValidationMessage NVARCHAR(512) AS DECLARE @InsPos INT /* find insert position and adjust field order of subsequent fields: */ SET @InsPos = (SELECT MAX(FieldOrder) AS MaxPos FROM nepof.UserDefinedFields WHERE ModuleID = @ModuleID GROUP BY ModuleID) + 1 IF @InsPos IS Null SET @InsPos = 1 IF @BeforePos Is Null SET @BeforePos = @InsPos IF @InsPos > @BeforePos BEGIN UPDATE [UserDefinedFields] SET FieldOrder = FieldOrder + 1 WHERE ModuleID = @ModuleID AND FieldOrder >= @BeforePos SET @InsPos = @BeforePos END INSERT INTO nepof.[UserDefinedFields] ( ModuleId, FieldTitle, HelpText, Required, FieldType, FieldOrder, [Default], Visible, ShowOnEdit, Searchable, PrivateField, InputSettings, OutputSettings, NormalizeFlag, ValidationRule, ValidationMessage ) VALUES ( @ModuleId, @FieldTitle, @HelpText, @Required, @FieldType, @InsPos, @Default, @Visible, @ShowOnEdit, @Searchable, @Private, @InputSettings, @OutputSettings, @NormalizeFlag, @ValidationRule, @ValidationMessage ) SELECT SCOPE_IDENTITY()
Info End Sql execution: 04.05.00.sqldataprovider file
Info Finished Sql execution
Failure Installation Failed - Script
Info Installation Failed - DNN_UserDefinedTable
Info Deleted temporary install folder
EndJob Installation Failed

 

I checked the mentioned table (above) UserDefinedFields, thought the error was suggesting that there were 2 columns of the same name, but this was not the case.

 

 
New Post
8/4/2009 9:48 AM
 

It looks like formAndList had been installed before, but wasn't uninstalled properly.

 
New Post
8/4/2009 1:10 PM
 

I had the old userdefinedTable module,
- just tried to delete this - but also got error messages when trying to delete. Even though it looks to have been removed from my modules list.

Then tried again with installing form and list module and back to this error:

Info Creating backup of previous version - install\module\UserDefinedTable_03.05.01_Install.resources
Failure Installation Failed - Cleanup

if the old user defined table is the problem, is there another way to get rid of it entirely?

thanks,
mark.

 
New Post
8/5/2009 2:30 AM
 
  • Delete folder DesktopModules/UserDefinedTable
  • Open  DataProvider/SqlDataProvider/Uninstall.SqlDataProvider (located in the form and list package) from Host -> Sql and run it as script
  • Install form and List
 
New Post
8/5/2009 6:28 AM
 

thanks for the suggestion. I did as advised above and also deleted this file too:
\Install\Module\UserDefinedTable_03.05.01_Install.resources

and then finally it worked.

thanks again,
mark.

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListInstall problem with 5.0.2 on dnn 5.1 (744)Install problem with 5.0.2 on dnn 5.1 (744)


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