Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Error from Notifications
Last Post 09/11/2008 6:21 PM by Peter Donker. 7 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Arick
New Member
New Member
Posts:64


--
08/08/2008 11:36 PM

Peter,

I have setup the Notifications and they appear to be working till I approve a document.  When I add a document I am notified that a document needs approval.  After I approve a document I see the following errors in the event log of my DNN Site:

Scheduler Exception       AssemblyVersion: -1; PortalID: -1; PortalName ...
AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Value cannot be null. Parameter name: input
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.ArgumentNullException: Value cannot be null. Parameter name: input at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, MatchEvaluator evaluator) at Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.Send(String overrideEmail) at Bring2mind.DNN.Modules.DMX.Services.Notification.NotificationController.SendNotifications(StringBuilder& log) at Bring2mind.DNN.Modules.DMX.Services.Schedule.ScheduledTask.DoWork()
Scheduler Event Failure       THREAD ID: 10; TYPE: Bring2mind.DNN.Modules.DMX.Services ...
THREAD ID: 10
TYPE: Bring2mind.DNN.Modules.DMX.Services.Schedule.ScheduledTask
EXCEPTION: Value cannot be null. Parameter name: input
RESCHEDULED FOR: 8/8/2008 4:14:03 PM
SOURCE: STARTED_FROM_BEGIN_REQUEST
ACTIVE THREADS: 0
FREE THREADS: 1
READER TIMEOUTS: 0
WRITER TIMEOUTS: 0
IN PROGRESS: 0
IN QUEUE: 5
  General Exception       AssemblyVersion: -1; PortalID: -1; PortalName ... AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Value cannot be null. Parameter name: input
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.ArgumentNullException: Value cannot be null. Parameter name: input at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, MatchEvaluator evaluator) at Bring2mind.DNN.Modules.DMX.Services.Notification.Notification.Send(String overrideEmail) at Bring2mind.DNN.Modules.DMX.Services.Notification.NotificationController.SendNotifications(StringBuilder& log) at Bring2mind.DNN.Modules.DMX.Services.Schedule.ScheduledTask.DoWork()

The erros are constantly appearing in that order.  I have the notifications setup with the default settings.  When I look at the database I see 2 entries in teh Notification one for CORE_APPROVER_APPROVE and one for CORE_EDITOR_APPROVE both linked back to the Log ID with the Action Approved.

 

Any suggestions as to what I need to try?  My current work around is to fill in the sent date and everything continues to work, until I do that nothing goes out. 

Thanks,

-Arick

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
08/11/2008 6:37 PM
Hi Arick,
I'll look into it.
Peter
Arick
New Member
New Member
Posts:64


--
09/09/2008 11:42 PM

Peter,

The error itself has been resolved, however now I am not getting any notifications about documents needing to be approved.  I can approve them and a notification is sent but I do not get notified when a document is added and needing approval.  I look at the Log table and see the Add record, and look at the Notifications table, but do not see that record as being added.  This is after upgrading to version 4.03.01.  Any thoughts?

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/10/2008 11:31 PM
Hi Arick,
I get approval emails from 04.03.01. I double checked this. I'm not sure why you don't. What do the EDIT and ADD lines in the notification matrix say about approval?
Peter
Arick
New Member
New Member
Posts:64


--
09/10/2008 11:50 PM

Hi Peter,

In the notification matrix I have CORE_APPROVE for both add and edit in the Approvers field.

In the log table I have

Add    2008-09-09 14:12:31.627    320    616    1
Add    2008-09-09 14:16:36.067    321    619    3

Both of those documents were added to to a folder that requires approval, I have yet to receive notifications about these docuemtns needing approval.  Loging in as Admin I can see they are needing aproval, if I approve them a notification will go out.

Thanks,

Arick

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/11/2008 9:26 AM
Hi Arick,

Is the CORE_APPROVE set of email templates there in your SharedResources file of DMX?
And did you say this stopped (?) working after upgrading to 04.03.01?

Peter
Arick
New Member
New Member
Posts:64


--
09/11/2008 5:37 PM

Hi Peter,

Yes, I have a CORE_APPROVE.Body, a CORE_APPROVE.Subject and and CORE_APPROVE_RT1.RepeateTemplate in the ShareResources.ascx.resx file. 

Yes you are correct after I upgraded the approval notifications stoped.  Prior to the upgrade I'd get notified about documents needing approval but then all notifications would stop after the documents were approved with the errors from the start of this thread. 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/11/2008 6:21 PM
Hi Arick,
I can't explain this. It works fine on my test 04.03.01 (I just installed one here to test this). I'm not sure what else I can do for you except take a look on the server myself.
Peter
You are not authorized to post a reply.