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

HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...SQL Exception Timeout ERROR - Need a solution to fix.SQL Exception Timeout ERROR - Need a solution to fix.
Previous
 
Next
New Post
5/21/2013 11:57 AM
 
Getting Constant SQL Exception TimeOut issue

We have a DNN 5.6.1 Install that has been running on a server with no issues in the previous years.... this year we're suddenly getting the following errors at specific times of the day thus bringing the site down. We routinely clear the event log, however we still get this periodic SQL Exception timeout error.

Here is the SQL error...
-------------------------------------------
SQL Exception
Error Details
File    
Error      Index #: 0
Source: .Net SqlClient Data Provider
Class: 11
Number: -2
Procedure:
Message: 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.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() 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)
--------------------------------------------
DNN - Event viewer basically confirms that there is a SQL connection that has been lost. And the Server Event Viewer shows that a worker process spikes the server at 100% thus eventually causing  the website to loose sql connections.

Question: Is this a server issue or memory issue? This particular Install has had "NO" problems until this year. Or is there something i can do on the DNN side to stop this Index #:0 etc. error?

We have other DNN versions all of which have started doing the same thing on the server... some sites more than others... but they eventually display the SQL Exception server timeout issue. All of which happen at different times.
Just curious what i could try or set inside DNN so users will stop getting the SQL Error screen. I would also like to substitute a screen so the user never sees a SQL Exception error displayed.

Please advise.
Thanks
 
New Post
5/22/2013 3:50 AM
 
what is size of SiteLog table?
what are the largest tables in the database (run report in SQL Server Management Studio)?
You might need to rebuild search tables, if searchItemWordPosition table contains duplicates.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/30/2013 11:24 AM
 

Sorry for the delay in getting back to this...

We are still having an issue... although we suspect it could be a server issue... but just to be on the safe side i will try your suggestions.

But one quick question,
Please clarify when you said
"You might need to rebuild search tables, if searchItemWordPosition table contains duplicates."

Are you saying that our SQL server running several DNN sites all need search tables rebuild? And how would searchItemWordPosition table contain duplicates?

Just asking, Thanks

 
New Post
5/31/2013 6:28 AM
 
there was a bug in some DNN versions (around 5.6 AFAIR), which resulted in duplicate rows in SearchItemWordPosition table. The easiest way to find out and solve it is clearing the search tables and rebuild the index (see http://www.deutschnetnuke.de/tabid/13...).

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/16/2013 10:46 PM
 
I am getting the same error for my website. I am running DNN 5.6.1
 
Previous
 
Next
HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...SQL Exception Timeout ERROR - Need a solution to fix.SQL Exception Timeout ERROR - Need a solution to fix.


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out