This project is read-only.

The request failed with HTTP status 404: Not Found.

Dec 29, 2010 at 7:00 PM
Edited Dec 29, 2010 at 7:20 PM


It seems we might have configured something wrong on this W2K8R2 install, looking at the config file all seems fine... but this error shows up in the error log and the queue manager is not active:


Stack trace:    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)   at QueueManager.Helper.CRM.CrmService.RetrieveMultiple(QueryBase query) in C:\Projects\CRMQueueManager\QueueManagerHelper\Web References\CRM\Reference.vb:line 298   at QueueManager.Service.QueueMonitor.ProcessQueue(QueueSetting QueueSettings) in C:\Projects\CRMQueueManager\QueueManagerService\QueueMonitor.vb:line 58


The web app also shows an error with:

[ArgumentException: 'Microsoft.Crm.WebServices.Crm2007.MultipleOrganizationSoapHeaderAuthenticationProvider, Microsoft.Crm.WebServices, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' doesn't exist


Jan 4, 2011 at 4:36 PM

Were you able to solve this? If not, please post the value of "crmserviceurl" and "organization" from appSettings.

Jan 4, 2011 at 4:52 PM

Hi manso,

Thank you for the reply, I was not able to fix it.

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


Jan 4, 2011 at 5:06 PM

I just realized it ends with aspxcrm instead of aspx... I will modify it and try again.

Jan 4, 2011 at 7:09 PM

The previous error message is now gone, service is running fine but nothing is happening.... I wonder which setting I might have set wrong, here's the full config settings ( anonymous... This project is in banking.)

    <add name="test_queue"
         ignorelist="out of office;autoreply;auto reply"
         allowonlyto-from="Automatic Mailer &lt;;"
         allowonlyto-template="C:\Program Files\Microsoft Dynamics CRM\queuemanager\Source\service\templates\allowto.htm"
         allowonlyto-subject="CaseWare RCM Support Case notification"
         verificationmail-from="Automatic Mailer &lt;;"
         verificationmail-subject="Welcome to the Support Desk"
         verificationmail-template="C:\Program Files\Microsoft Dynamics CRM\queuemanager\Source\service\templates\verify.htm"
         casemail-from="Automatic Mailer &lt;;"
         casemail-subject="Case {ticketnumber} has been created for you"
         casemail-template="C:\Program Files\Microsoft Dynamics CRM\queuemanager\Source\service\templates\case.htm"
         resolveparent-from="Automatic Mailer &lt;;" 
         casenotification-from="Automatic Mailer &lt;;"
         casenotification-subject="{ticketnumber}: A new case has been created"
         casenotification-template="C:\Program Files\Microsoft Dynamics CRM\queuemanager\Source\service\templates\casenotify.htm"

Jan 5, 2011 at 3:37 PM

I started the service manually, it's giving me the same problem than this thread:

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


I have a mail sitting in the queue, the service is running, but it's does not pickup the mail... Would appreciate any help !

Jan 5, 2011 at 5:55 PM

Strange. Are there any e-mails without subject in the queue? Can you limit the queue to one e-mail and try again? What happens if you run against an empty queue? Have you made any particular customizations to the incident entity or created any workflows?

Jan 5, 2011 at 6:41 PM

There was  only one email sitting in the queue, there is a subject "test 3". The system is a few weeks old, no particular customizations or workflow yet. we created one and deleted the workflow before starting this, as we were trying to setup auto-replies but though this would be more useful....

I stopped the service, deleted the email sitting in the queue, called the exe manually and but still getting the same errors.



Jan 11, 2011 at 12:55 AM

Any other ideas ? I am on W2K8 R2 64bit, I have a hard believing I would be the only one in this situation...

Jan 11, 2011 at 9:28 PM
Edited Jan 11, 2011 at 9:30 PM
The crmservice url is incorrect. Should end with asmx. Verify that you don't get 404 in a browser before pasting it into the config file. Look at the original url used as a sample in the download package.
Jan 12, 2011 at 2:28 PM
Edited Jan 17, 2011 at 7:49 PM


The crmservice doesn't seem to be the problem, the current url seems correct, I get to the soap through with ASPX. If I put ASMX, the following error occur:

Exception:The file '/MSCRMServices/2007/CrmServiceWsdl.asmx' does not exist.
Details:The file '/MSCRMServices/2007/CrmServiceWsdl.asmx' does not exist.Not availableNot availableThe file '/MSCRMServices/2007/CrmServiceWsdl.asmx' does not exist.http://crm.rcm/MSCRMServices/2007/CrmServiceWsdl.asmx/MSCRMServices/2007/CrmServiceWsdl.asmxSOAP

and browing to ASMX returns:


  <?xml version="1.0" encoding="utf-8" ?> 
- <soap:Envelope xmlns:soap="">
- <soap:Body>
- <soap:Fault>
  <faultstring>The file '/MSCRMServices/2007/CrmServiceWsdl.asmx' does not exist.</faultstring> 
- <detail>
- <error xmlns:xsi="" xmlns:xsd="">
  <displaytitle /> 
  <displaytext /> 
  <description>The file '/MSCRMServices/2007/CrmServiceWsdl.asmx' does not exist.</description> 
  <file>Not available</file> 
  <line>Not available</line> 
  <details>The file '/MSCRMServices/2007/CrmServiceWsdl.asmx' does not exist.</details> 
  <stacktrace /> 

Whereas ASPX returns:

<?xml version="1.0" encoding="utf-8" ?> 
- <wsdl:definitions xmlns:s="" xmlns:s3="" xmlns:s2="" xmlns:soap12="" xmlns:s5="" xmlns:mime="" xmlns:tns="" xmlns:s1="" xmlns:s0="" xmlns:s4="" xmlns:soap="" xmlns:tm="" xmlns:http="" xmlns:soapenc="" targetNamespace="" xmlns:wsdl="">
- <wsdl:types>
- <s:schema elementFormDefault="qualified" targetNamespace="">
- <s:simpleType name="guid">
- <s:restriction base="s:string">
  <s:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" /> 
- <s:schema elementFormDefault="qualified" targetNamespace="">
  <s:import namespace="" /> 
- <s:simpleType name="AccessRights">
- <s:list>
- <s:simpleType>
- <s:restriction base="s:string">
  <s:enumeration value="ReadAccess" /> 
  <s:enumeration value="WriteAccess" /> 
  <s:enumeration value="AppendAccess" /> 
  <s:enumeration value="AppendToAccess" /> 
  <s:enumeration value="CreateAccess" /> 
  <s:enumeration value="DeleteAccess" /> 
  <s:enumeration value="ShareAccess" /> 
  <s:enumeration value="AssignAccess" /> 
- <s:complexType name="Moniker">

Would the previous error messages indicate other potential problems? Would really appreciate any help.... I looked at teh code and I don't think i am good enough of a programmer to udnerstand why these lines would be returned as error...


Jan 18, 2011 at 3:21 PM

This is the original service url:


This is what you have entered:


Apart from the extension being incorrect, can you sport any other differences?

Jan 18, 2011 at 11:38 PM

Correct, all being are processed properly now. Thank you, can't believe it was something that simple.