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 ListUser define table does not existUser define table does not exist
Previous
 
Next
New Post
11/3/2009 2:12 PM
 

After I migrated to 5.14, my previous user define table objects present error"../DesktopModules/UserDefinedTable/UserDefinedTable.ascx' does not exist.".

How should I fix it?

 

Hy

 
New Post
11/3/2009 10:02 PM
 

Now I tried to install module form and list 5003 and get the following errors. Please advise what I should do. Thanks, Hy

SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'PrivateField' in table 'dbo.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 dbo.[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'dbo.[UserDefinedTable_AddField]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1) DROP PROCEDURE dbo.[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 dbo.[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 dbo.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 dbo.[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()

 
New Post
11/3/2009 11:12 PM
 

obviously, a previous script hasn't run properly and the SQL upgrade script seems to contain an issue when being rerun,

This doesn't necessarily have an issue on running the module, do you experience any issues using the module on your site?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/3/2009 11:23 PM
 

Yes, when I logged in as host, I saw the following errors. Thanks, HY

Error: My BMI log (metric) is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/DesktopModules/UserDefinedTable/UserDefinedTable.ascx' does not exist. ---> System.Web.HttpException: The file '/DesktopModules/UserDefinedTable/UserDefinedTable.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---

 
New Post
11/4/2009 12:28 AM
 

oops, obviously the module registration has not been updated.

try to reinstall the module again.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListUser define table does not existUser define table does not exist


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