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
11/26/2009 7:31 AM
 

 I just installed an upgrade version of DNN520 over an existing DNN514 installation (on my localhost development machine )and got an error in the sql data provider. The error is mentioned below and I would like to know whether anyone else experienced this behavior or not?

Error from Upgrade Log:

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 


Regards,
Marc

www.biservices.eu for free nl-NL resourcepacks.
 
New Post
11/26/2009 1:57 PM
 

Hi Marc;

I've done at least half a dozen upgrades 5.1.4 to 5.2.0 and I've not seen this error.. yet.

Can you give us a bit more info about your setup?

IE: # of portals, # of pages on the site. The size of your Event log. Your Windows, IIS and Sql versions?

 

 


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
11/27/2009 4:38 AM
 

Marc, 

I assume a prior upgrade has not properly being executed. Please compare Eventlog table in your upgraded web site with a blank installation of 5.1.x

You may check .log files inside /provider/dataproviders/sqldataprovider folder for prior upgrade issues.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/28/2009 8:06 AM
 

I believe this sproc now uses SQL 2005 specific syntax (5.2.0 requires SQL 2005 or above), so it would appear that you're running with sql 2000 as the backend which is not supported. You'll have to upgrade to a more recent version of SQL server/SQL express or else not be able to use 5.2 (or any future dnn release)

Cathal


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

Any solution for this. I get the same error! I found no error onprevious upgrades...

Regards
Daniel

 
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