Mom 2005 - AgentHelper
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Mom 2005 - AgentHelper

 
Post new topic   Reply to topic    Windows Server Forum Index -> MOM
Author Message
Craig
Guest





Posted: Mon Jan 31, 2005 6:47 am    Post subject: Mom 2005 - AgentHelper Reply with quote

Afternoon All,

I'm trying to use the MOM 2005 AgentHelper (Part of the reskit).

One of the rules generates an exception when it's run (see below).

I believe this something to do with the date/regional settings on the server.

All my servers are UK English. Anyone come across this? got any ideas?

Craig.




Description:
The Managed code response 'static ReviveDeadAgents(1)' has thrown an
exception. The value 31/01/2005 13:15:02 is not of type System.DateTime
expected by column TimeLastContacted..
Stack Trace
at
Microsoft.EnterpriseManagement.Mom.QueryExpression.VerifyCriteriaType(ColumnNameExpression column, ValueExpression val)
at
Microsoft.EnterpriseManagement.Mom.ComputerQueryExpression.set_RightExpression(Expression value)
at
Microsoft.EnterpriseManagement.Mom.ManagementPack.AgentHelper.Response.ReviveDeadAgents(Int32 delayInMinutes)
Back to top
Søren Larsen
Guest





Posted: Tue Feb 01, 2005 6:49 am    Post subject: Re: Mom 2005 - AgentHelper Reply with quote

Hi

I reported the problem and it should be fixed in the next version of the
reskit, and yes it is the date format which is causing the error.

/Søren

"Craig" <Craig@discussions.microsoft.com> wrote in message
news:0C6A698E-87EA-47A5-ADD4-514517647963@microsoft.com...
Quote:
Afternoon All,

I'm trying to use the MOM 2005 AgentHelper (Part of the reskit).

One of the rules generates an exception when it's run (see below).

I believe this something to do with the date/regional settings on the
server.

All my servers are UK English. Anyone come across this? got any ideas?

Craig.




Description:
The Managed code response 'static ReviveDeadAgents(1)' has thrown an
exception. The value 31/01/2005 13:15:02 is not of type System.DateTime
expected by column TimeLastContacted..
Stack Trace
at
Microsoft.EnterpriseManagement.Mom.QueryExpression.VerifyCriteriaType(ColumnNameExpression
column, ValueExpression val)
at
Microsoft.EnterpriseManagement.Mom.ComputerQueryExpression.set_RightExpression(Expression
value)
at
Microsoft.EnterpriseManagement.Mom.ManagementPack.AgentHelper.Response.ReviveDeadAgents(Int32
delayInMinutes)


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> MOM All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB