Welcome Guest! To enable all features please try to register or login.

Notification

Icon
Error

SQL Errors
thryon
#1 Posted : July 28, 2011 5:52:07 PM(UTC)
thryon


Therapeutic Supervisors
Posts: 3,683
Thanks: 2 times
Was thanked: 11 time(s) in 9 post(s)
Some of you may have noticed a few SQL errors in the past few days. The Asylum db was getting quite large thanks to a few overzealous logfiles. I have since performed some quick maintenance of the db and freed up about a third of the entire db size. I will be doing more maintenance as part of the upgrade/changeover to AutomaticRespawn.com (which will happen in the next couple months, now that my studies are over TOMORROW).

[UPDATE] Site performance cannot wait for any stupid test. I continued my clean-up process and managed to free up even more space. See for yourself with the before and after results:

before:
database_size: 297.00 MB
unallocated space: 0.03 MB
data: 185032 KB
index_size: 14048 KB


after:
database_size: 297.00 MB
unallocated space: 150.70 MB
data: 39696 KB
index_size: 6896 KB

As usual with any website change, let me know if something is not working fine. In case the site is down, you can reach on on Twitter, Facebook, Xbox Live or Google+ with my username (Thryon).
thryon
#2 Posted : August 2, 2011 1:28:40 PM(UTC)
thryon


Therapeutic Supervisors
Posts: 3,683
Thanks: 2 times
Was thanked: 11 time(s) in 9 post(s)
I plan on upgrading the Asylym backend next weekend from DotNetNuke 5.xx to 6.0. This change brings the advantage of full C# coding throughout the entire site. This should speed up the site significantly and allow for new stuff. I am just not sure how YAF will agree with the changes. As usual, I do have a roll-back plan.

So if you drop in on Saturday and see that the site has been taken offline, do not fear for it should be back up late Saturday evening.
Silent Paradigm
#3 Posted : January 21, 2012 2:30:33 PM(UTC)
Silent Paradigm


Deranged
Posts: 430
Thanks: 19 times
Was thanked: 9 time(s) in 9 post(s)
Received a SQL error today upon signing into the website. Sign in still worked.
Details below:

SQL Exception
Error Details
File
Error Index #: 0
Source: .Net SqlClient Data Provider
Class: 17
Number: 1105
Procedure: AddEventLog
Message: System.Data.SqlClient.SqlException: Could not allocate space for object 'dbo.EventLog' in database 'xbo0802509221478' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. 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.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) 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, String spName, Object[] parameterValues) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.AddLog(String LogGUID, String LogTypeKey, Int32 LogUserID, String LogUserName, Int32 LogPortalID, String LogPortalName, DateTime LogCreateDate, String LogServerName, String LogProperties, Int32 LogConfigID) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.WriteLog(LogQueueItem objLogQueueItem)



Unauthorized Access Error
Error Details
File D:\Hosting\2842173\html\home\Portals\_default\\Logs\LogFailures.xml.resources
Error Access to the path 'D:\Hosting\2842173\html\home\Portals\_default\Logs\LogFailures.xml.resources' is denied. The Windows User Account listed below must have Read/Write Privileges to this path.
thryon
#4 Posted : January 22, 2012 7:27:27 PM(UTC)
thryon


Therapeutic Supervisors
Posts: 3,683
Thanks: 2 times
Was thanked: 11 time(s) in 9 post(s)
Originally Posted by: Silent Paradigm Go to Quoted Post
Received a SQL error today upon signing into the website. Sign in still worked.
Details below:

SQL Exception
Error Details
File
Error Index #: 0
Source: .Net SqlClient Data Provider
Class: 17
Number: 1105
Procedure: AddEventLog
Message: System.Data.SqlClient.SqlException: Could not allocate space for object 'dbo.EventLog' in database 'xbo0802509221478' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. 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.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) 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, String spName, Object[] parameterValues) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.AddLog(String LogGUID, String LogTypeKey, Int32 LogUserID, String LogUserName, Int32 LogPortalID, String LogPortalName, DateTime LogCreateDate, String LogServerName, String LogProperties, Int32 LogConfigID) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.WriteLog(LogQueueItem objLogQueueItem)



Unauthorized Access Error
Error Details
File D:\Hosting\2842173\html\home\Portals\_default\\Logs\LogFailures.xml.resources
Error Access to the path 'D:\Hosting\2842173\html\home\Portals\_default\Logs\LogFailures.xml.resources' is denied. The Windows User Account listed below must have Read/Write Privileges to this path.


This error is a frequent one. DNN uses extensive logging that fill up my SQL server. I usually manually clear the logs each couple weeks by using SQL commands as part of regular site maintenance (even when I do not comment, I am on the site everyday doing behind the scene work).

As you may have noticed, I have forgotten to perform this cleaning ritual. I have since run my scripts and also made changes by disabling all logging on the site. This will hopefully solve the problem. I need only keep this site running a bit longer. Work is progressing on its replacement.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

 
 
 
Copyright 2011 by Xbox360Asylum.ca