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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...dotnetnuke 3.2.2dotnetnuke 3.2.2
Previous
 
Next
New Post
3/7/2006 12:53 PM
 

Robert,

Thanks for your help and  patience. Could i ask for your expertise/last favour on the reply (see below) i got from Shaun Walker (Dotnetnuke.com).

As a novice, i'm a little lost with certain terminology, so could you please guide/explain to me where i should look (eg. via my service provider or in my FTB files???) in layman's terms.

"It sounds like your UpdateTab stored procedure was not upgraded to the latest version in your database. If you look in the /Providers/DataProviders/SqlDataProvider for *.log files you may want to look at any file which is larger than 1 KB ( ie. it contains content ). These files will contain any error messages encountered during the database upgrade."

 Again my thanks.

Regards

Nick.

 
New Post
3/7/2006 2:02 PM
 

Robert,

Found the log file Shaun Walker refered to (see below), if you can find the time could you have a quick look to see if its a only a simple fix needed and let me know?? Thanks again.

System.Data.SqlClient.SqlException: Constraint 'PK_EventLogConfig' does not belong to table 'EventLogConfig'.
Could not drop constraint. See previous errors.
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


if exists (select * from dbo.sysobjects where id = object_id(N'dbo.[PK_EventLogConfig]') and OBJECTPROPERTY(id, N'IsPrimaryKey') = 1)
ALTER TABLE dbo.[EventLogConfig] DROP CONSTRAINT [PK_EventLogConfig]


System.Data.SqlClient.SqlException: Constraint 'PK_EventLogConfig' does not belong to table 'EventLogConfig'.
Could not drop constraint. See previous errors.
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


if exists (select * from dbo.sysobjects where id = object_id(N'dbo.[PK_EventLogConfig]') and OBJECTPROPERTY(id, N'IsPrimaryKey') = 1)
ALTER TABLE dbo.[EventLogConfig] DROP CONSTRAINT [PK_EventLogConfig]


System.Data.SqlClient.SqlException: Constraint 'FK_EventLogConfig_EventLogTypes' does not belong to table 'EventLogConfig'.
Could not drop constraint. See previous errors.
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


if exists (select * from dbo.sysobjects where id = object_id(N'dbo.[FK_EventLogConfig_EventLogTypes]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)
ALTER TABLE dbo.[EventLogConfig] DROP CONSTRAINT [FK_EventLogConfig_EventLogTypes]


System.Data.SqlClient.SqlException: Constraint 'FK_EventLogConfig_EventLogTypes' does not belong to table 'EventLogConfig'.
Could not drop constraint. See previous errors.
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


if exists (select * from dbo.sysobjects where id = object_id(N'dbo.[FK_EventLogConfig_EventLogTypes]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)
ALTER TABLE dbo.[EventLogConfig] DROP CONSTRAINT [FK_EventLogConfig_EventLogTypes]


System.Data.SqlClient.SqlException: Cannot drop the index 'dbo.EventLogConfig.LogTypeKey_LogTypePortalID', because it does not exist in the system catalog.
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


DROP INDEX dbo.[EventLogConfig].[LogTypeKey_LogTypePortalID]


System.Data.SqlClient.SqlException: There is already an object named 'PK_EventLogConfig' in the database.
Could not create constraint. See previous errors.
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)

 

ALTER TABLE dbo.[EventLogConfig] ADD CONSTRAINT [PK_EventLogConfig] PRIMARY KEY CLUSTERED  ([ID])


System.Data.SqlClient.SqlException: There are no primary or candidate keys in the referenced table 'dbo.EventLogTypes' that match the referencing column list in the foreign key 'FK_EventLogConfig_EventLogTypes'.
Could not create constraint. See previous errors.
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


ALTER TABLE dbo.[EventLogConfig] ADD CONSTRAINT [FK_EventLogConfig_EventLogTypes] FOREIGN KEY ([LogTypeKey]) REFERENCES dbo.[EventLogTypes] ([LogTypeKey])


System.Data.SqlClient.SqlException: There are no primary or candidate keys in the referenced table 'dbo.EventLogConfig' that match the referencing column list in the foreign key 'FK_EventLog_EventLogConfig'.
Could not create constraint. See previous errors.
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


ALTER TABLE dbo.[EventLog] ADD CONSTRAINT [FK_EventLog_EventLogConfig] FOREIGN KEY ([LogConfigID]) REFERENCES dbo.[EventLogConfig] ([ID])

 

 

 
New Post
3/13/2006 10:18 AM
 
I have W2K3 server & SQL2000. Got the same problem. What I done to fix this problem? It was easy - all you need is: 1. Run SQL Server Enterprise Manager 2. Right Cick on (local) (Windows NT) - Properties 3. Security Tab - check radio button "Authentication - SQL Server and Windows" By default, it's "Windows only" - you need to change it. 4. Restart SQL2000 P.S. my string in web.config:
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...dotnetnuke 3.2.2dotnetnuke 3.2.2


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