NullReferenceException error doing nothing

Sep 16, 2010 at 8:16 AM

I'm trying to use this Queue Manager, but I get this error when I start the console mode. After few seconds i get this.

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
   at QueueManager.Helper.LogHelper.Log(String Message, Exception Ex, LogType Ty
pe) in C:\Projects\CRMQueueManager\QueueManagerHelper\LogHelper.vb:line 28
   at QueueManager.Service.QueueMonitor.ProcessQueue(QueueSetting QueueSettings)
 in C:\Projects\CRMQueueManager\QueueManagerService\QueueMonitor.vb:line 363
   at QueueManager.Service.QueueService.Main(String[] args) in C:\Projects\CRMQu
eueManager\QueueManagerService\QueueService.Designer.vb:line 58

There is no mail in the queue so I'dont know where to look at.

Any ideas?


Oct 5, 2010 at 5:33 PM

This is a configuration problem but the error is weird. You probably have given an incorrect crmserviceurl in the config file. Can you post this and the organization appSetting?

Jan 5, 2011 at 2:38 PM

same issue here, crmserviceurl and organizationappsetting:.

 <add key="crmserviceurl" value="http://crm.crm/MSCRMServices/2007/CrmServiceWsdl.aspx" />
    <add key="organization" value="CompanyCRM-b" />

cnoceda, did you resolve this ?