The Agent is running fine in one server But the same agent is not running in other servers Both servers having the same replica database But the agent is giving this error in one server: - AMgr: Agent ('agent - Scheduled|agntDb' in 'folder\file.nsf') printing: Error Type mismatch 13 in line 216 The line 216 refers to: (Call curdate.AdjustYear( -1 ))