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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Log Viewer unavailableLog Viewer unavailable
Previous
 
Next
New Post
2/1/2007 9:53 AM
 

I'm having a problem accessing the Log Viewer on an intranet installation that's been running rock solid for over a year now.  The version of DNN is 3.2.0 with a SQL 2000 database.

I became aware of the issue when users could not pull the page up.  Everyone was getting the following error:

DotNetNuke Upgrade Error

The Assembly Version ([ASSEMBLYVERSION]) does not match the Database Version ([DATABASEVERSION])
ERROR: Could not connect to database.

Timeout expired.  The timeout period elapsed to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.

I was not attempting any upgrades.  Checking the Event Log in Windows did not point to anything. I did an IISReset but I was still getting the same error.  I then rebooted the server and the error continued.   But a few minutes later the issue resolved itself and the page came up.  With the page up I tried to access the DNN Log Viewer but I get the following Error: Log Viewer is currently unavailable.

Since I never made any changes to DNN logs events I'm thinking that the logs are growing too big.  Can anyone tell me which logs I can look at in SQL and the best way to delete them?

 
New Post
2/1/2007 6:59 PM
 
You can do the same thing if you can connect to the db with SQL Management Studio or Enterprise Manager.

Philip Beadle - Employee
 
New Post
2/6/2007 11:21 PM
 

Hi Philip,

I've noticed a few times, that if dnn_eventLog becomes too big, SqlDataProvider.PurgeLog( invoked from Application_End event) fails with "Timeout expired". 
The reason is that SQL of [dnn_PurgeEventLog] SP is very slow.
Could anyone from core team to review the SQL for optimisation? 
  

 


Michael Freidgeim http://geekswithblogs.net/mnf
 
New Post
2/7/2007 11:38 AM
 

I had over 85000 events logged on one of the site I host. I had to go into Management Studio and use the following code;

 

DELETE FROM EventLog
WHERE EventLog.LogGuid
IN
(
SELECT TOP 1000 LogGuid
FROM EventLog
ORDER BY LogGuid
)

 

You can change the "1000" to what ever number you want. I was doing them in chunks of 10000 just to make sure that nothing blew up on me. If you check the properties of the eventlog table, it will give you a row count.

This worked for me without a hitch. I would suggest backing up first and testing with 10 -20 rows to make sure you don't mess up the db.

Jeff


www.MyWebAds.ca

MyWebAds.ca
Your Free internet Classifieds Resource and Buy, Sell, & Trade website.
 
New Post
2/7/2007 12:05 PM
 

this would be even faster:

truncate table {objectQualifier}eventlog

You can do that from Host > SQL


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Log Viewer unavailableLog Viewer unavailable


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