Register   Login
     
  Latest Posts  
RE: how to use news article source with dnn source to change and compile whole source code?
by nosa on 7/04/2009 9:02 AM
Dark background skin
by craig on 7/04/2009 5:55 AM
RE: Trial peroid
by glenwin on 7/04/2009 4:45 AM
RE: Different skin for View Item?
by cchufook on 7/03/2009 10:29 PM
RE: Different skin for View Item?
by swebster on 7/03/2009 10:10 PM
Different skin for View Item?
by cchufook on 7/03/2009 8:13 PM
RE: Human friendly URL not working--Urgent
by Madz on 7/03/2009 11:26 AM
RE: Friendly URL and DNN4.8.0 ?
by Madz on 7/03/2009 11:25 AM
Human friendly URL not working--Urgent
by Madz on 7/03/2009 11:11 AM
RE: Google Sitemap Revisited
by georgelew on 7/03/2009 4:26 AM
  Forums  
Subject: Error: Log Viewer is currently unavailable.
Prev Next
You are not authorized to post a reply.

Author Messages
Tom RybakUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:30

2/01/2007 6:49 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 should look at in SQL and the best way to delete or limit their size?


Visit me at www.rybak.tv
Tom RybakUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:30

2/01/2007 7:07 AM  

Sorry for the double post.  Scott or anyone with the admin option please delete the other post.  Thank you...

Back to my Log problem...

The Error: Log Viewer is currently unavailable shows up with I try to access the Log Viewer while logged in as an Admin. 

When I log in as Host I get this...

Error: Log Viewer is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Attempt to release mutex not owned by caller. ---> System.ApplicationException: Attempt to release mutex not owned by caller. at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.PurgeLogBuffer() at DotNetNuke.Modules.Admin.Log.LogViewer.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---


Visit me at www.rybak.tv
Tom RybakUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:30

2/01/2007 7:14 AM  

So I tried it again logged in as Host and now I get this:

Error: Log Viewer is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) 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 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.PurgeLog() at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.PurgeLogBuffer() at DotNetNuke.Modules.Admin.Log.LogViewer.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---


Visit me at www.rybak.tv
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


2/01/2007 8:28 PM  
try clearing the log table manually, and then visiting the screen. It's timing out on the purge.

Scott McCulloch
Site Administrator
Tom RybakUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:30

2/02/2007 1:38 PM  

Thanks Scott...

Would this be a text or some other type of file in the DNN install directory or would I have to go through SQL?  If it's SQL...I'm assuming that it's the EventLog table...but how do I go about deleting all those events?  Any advice on a script I can run to delete all that data?


Visit me at www.rybak.tv
Tom RybakUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:30

2/02/2007 1:53 PM  

Never mind I solved my problem...I should have opened up my SQL book before I started spamming this forum

I ran the TRUNCATE TABLE EventLog command and it wiped everything out but kept the table structure.

 


Visit me at www.rybak.tv
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:14659


2/04/2007 5:36 AM  
Yep, that's correct, truncate table is the best option.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > General > Bugs & Problems > Error: Log Viewer is currently unavailable.



ActiveForums 3.7