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

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Scheduler causing error with DotNetNuke.Framework.ReflectionScheduler causing error with DotNetNuke.Framework.Reflection
Previous
 
Next
New Post
12/2/2013 11:34 PM
 

Hi Nukers,

Running DNN 7.1.2.  The scheduler on one of my sites is continually writing logs like this....

DotNetNuke.Framework.Reflection - DotNetNuke.Modules.Chat.ChatControllerSystem.Web.HttpException (0x80004005): Could not load type 'DotNetNuke.Modules.Chat.ChatController'.   at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throw , Boolean ignoreCase)   at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)

Seems to be related to a "ChatController".  The thing is, I don't have any chat software installed (used to ages ago, but got uninstalled it).

This is causing the site to continually re-start.  Any ideas on why this is happening, and how to fix?

Thanks,

Rod

 
New Post
12/3/2013 2:46 AM
 
In Host > Scheduler, make sure there is no job remaining from previous Chat module install.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/3/2013 7:07 PM
 

Thanks Sebastian.  I checked this, and there are no scheduler items for any sort of chat control.  Looking through the event log, I can see that DNN is enumerating (reflecting) a lot of the modules, and similar log files are created, just with a different name, so I don't think it's a specific module that's causing this.

I disabled all of the schedule items, and then after turning on any one of them I get SQL referential integrity issues when running any of the scheduled items.  This is weird, because the dbo.Schedule table is empty.  These RI errors are always followed by a corrupt memory error.

Is the scheduler as installable component of DNN?  Can I just re-install what seems to be a broken scheduler?

Thanks for any advice.

Rod

2013-12-04 10:46:24,951 [GENERICAU05][Thread:15][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_ScheduleHistory_Schedule". The conflict occurred in database "staging", table "dbo.Schedule", column 'ScheduleID'.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   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, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteScalar()
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues)
   at DotNetNuke.Services.Scheduling.DNNScheduling.SqlDataProvider.AddScheduleHistory(Int32 ScheduleID, DateTime StartDate, String Server)
   at DotNetNuke.Services.Scheduling.DNNScheduling.SchedulingController.AddScheduleHistory(ScheduleHistoryItem objScheduleHistoryItem)
   at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.AddScheduleHistory(ScheduleHistoryItem objScheduleHistoryItem)
ClientConnectionId:01dbea2f-97b2-440b-9d1f-e0cbbac6d613
2013-12-04 10:46:24,951 [GENERICAU05][Thread:15][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.String.CompareOrdinal(String strA, String strB)
   at Microsoft.VisualBasic.CompilerServices.Operators.CompareString(String Left, String Right, Boolean TextCompare)
   at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.WorkCompleted(SchedulerClient& objSchedulerClient)

 

 

 

 
New Post
12/4/2013 8:40 PM
 
I've just upgraded to the latest 7.2.0, and this error is still occuring.

The error is occurring whenever the scheduler is enabled (either timer, or request). It doesn't matter which schedule events are on. Currently I've disable all of them except one. I've tried various schedules - all of them produce the same thing.

The referential integrity error is happening because it's trying to insert into tblScheduleHistory a value of 0 for the ScheduleID. I temporarily removed the RI constraint to determine this. After the record was inserted into this table, I could see that the StartDate, EndDate, Suceeded etc were NULL, indicating that the schedule failed (no surprise).

So basically, the scheduler is failing.

The problem is, how can I trouble-shoot this further? How can I find out why the scheduler is failing on ANY of the scheduled items?

Many thanks.
Rod
 
New Post
12/5/2013 12:50 AM
 
Does anyone know what the "DotNetNuke.DNNScheduler.dll" does? I found this .dll in the bin folder of the site that does not work. I compared the bin folder of another 7.2.0 installation and it does not have this dll, so I'm assuming it is not required? Perhaps a left-over from a previous version of DNN?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Scheduler causing error with DotNetNuke.Framework.ReflectionScheduler causing error with DotNetNuke.Framework.Reflection


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