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 ...Upgrade Error DNN514 --> DNN520 (Invalid Column name LogEventId)Upgrade Error DNN514 --> DNN520 (Invalid Column name LogEventId)
Previous
 
Next
New Post
12/3/2009 5:12 PM
 

Daniel, the error is caused if you try to use 5.2.0 with sql 2000 - 5.2.0 (and above) require sql2005/sql express 2005 or above, so there is no fix - if you want to use 5.2.0 you need the necessary prerequisites.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
12/4/2009 12:06 PM
 

I have SQL2005 (on GoDaddy, and can send you the screenshot showing this)  

I get this error also.

System.Data.SqlClient.SqlException: Invalid column name 'LogEventID'.
   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.PurgeEventLog

AS
 ;WITH logcounts AS
 ( 
   SELECT
  LogEventID,
  LogConfigID,
  ROW_NUMBER() OVER(PARTITION BY LogConfigID ORDER BY LogCreateDate DESC) AS logEventSequence
   FROM dbo.EventLog
 )
 DELETE dbo.EventLog
 FROM dbo.EventLog el
  JOIN logcounts lc ON el.LogEventID = lc.LogEventID
  INNER JOIN dbo.EventLogConfig elc ON elc.ID = lc.LogConfigID
 WHERE elc.KeepMostRecent <> -1
  AND lc.logEventSequence > elc.KeepMostRecent


 

I just looked at the query that is trying to execute, it is trying to a join on EventLog.LogEventID which does not exist.   The closest thing that exists is: EventLog.LogGUID

The EventLog table contains columns called, LogGUID, LogTypeKey, LogConfigID, LogUserID, LogUserName, LogPortalID, LogPortalName, LogCreateDate, LogServerName, LogProperties, and LogNotificationPending.   There is an index on PK_EventLogMaster which uses the column LogGUID.

In addition there does not appear to be any such table as "logcounts"

 


DONEIN.NET DotNetNuke Modules
Feedback * Google Sitemaps * Meetup * Redirector * Share On Facebook * Site Map * Battleship (FREE)
Follow us on Twitter!
 
New Post
12/4/2009 12:50 PM
 

Here you can download and view my install logs, going back to the original installation with version 05.00.01: http://www.donein.net/install_logs.zip  (1.73kb)

You will see I have encountered no previous errors.

Running the following SQL command against the database: USE master SELECT @@version 
I get the following result:

Microsoft SQL Server 2005 - 9.00.3080.00 (X64)
Sep  6 2009 09:15:46
Copyright (c) 1988-2005 Microsoft Corporation
Standard Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2)

So, there goes the theory that this only occurs on machines running SQL2000.


DONEIN.NET DotNetNuke Modules
Feedback * Google Sitemaps * Meetup * Redirector * Share On Facebook * Site Map * Battleship (FREE)
Follow us on Twitter!
 
New Post
12/4/2009 1:53 PM
 

Check if your  DNN database is running in 2000 mode.

Yo can do that in a 2005 instance.

 
New Post
12/4/2009 2:16 PM
 

maybe the database is still running in SQL 2000 mode, please check by executing

sp_dbcmptlevel '<database'>

Which will return 80 (SQL 2000), 90 (SQL 2005) or 100 (SQL 2008).

If it returns 80,. please upgrade by executing 

ALTER DATABASE database_name SET COMPATIBILITY_LEVEL = 90

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade Error DNN514 --> DNN520 (Invalid Column name LogEventId)Upgrade Error DNN514 --> DNN520 (Invalid Column name LogEventId)


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