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

Hi,

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=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' doesn't exist

 

Coordinator
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.)

  <queues>
    <add name="test_queue"
         queueid="F0009432-070E-E011-B121-000C29AA0360"
         tempqueueid="AC6B3845-7E13-E011-B121-000C29AA0360"
         interval="20"
         tempqueueage="0"
         matchcaseticketnumber="true"
         ignorelist="out of office;autoreply;auto reply"
         moveignored="false"
         createcontact="true"
         sendverificationmail="false"
         allowonlyto="false"
         allowonlyto-reply="true"
         allowonlyto-notify="notify@domain.com"
         allowonlyto-from="Automatic Mailer &lt;noreply@domain.com&gt;"
         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;noreply@domain.com&gt;"
         verificationmail-bcc="notify@domain.com"
         verificationmail-subject="Welcome to the Support Desk"
         verificationmail-template="C:\Program Files\Microsoft Dynamics CRM\queuemanager\Source\service\templates\verify.htm"
         verificationmail-usehtml="true"
         verificationmail-url="http://support.domain.com/ClientInformation.aspx"
         sendcasemail="false"
         casemail-from="Automatic Mailer &lt;noreply@domain.com&gt;"
         casemail-fromtype="queue"
         casemail-notify=""
         casemail-subject="Case {ticketnumber} has been created for you"
         casemail-template="C:\Program Files\Microsoft Dynamics CRM\queuemanager\Source\service\templates\case.htm"
         casemail-usehtml="true"
         updatecasedescription="true"
         caseattributes=""
         resolveparent="true"
         resolveparent-notify="notify@domain.com"
         resolveparent-from="Automatic Mailer &lt;noreply@domain.com&gt;" 
         sendcasenotificationmail="true"
         casenotification-from="Automatic Mailer &lt;noreply@domain.com&gt;"
         casenotification-to="testemailaccount@ourdomain.com"
         casenotification-subject="{ticketnumber}: A new case has been created"
         casenotification-template="C:\Program Files\Microsoft Dynamics CRM\queuemanager\Source\service\templates\casenotify.htm"
         casenotification-usehtml="true"
         removerepliesfromqueue="false"
         mapcasetoaccount="false"
         parentaccountmissing="false"
         setresponsiblecontact="false"
         />
  </queues>

Jan 5, 2011 at 3:37 PM

I started the service manually, it's giving me the same problem than this thread: http://crmqueuemanager.codeplex.com/Thread/View.aspx?ThreadId=227428

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 !

Coordinator
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...

Coordinator
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

Hi,

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="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Body>
- <soap:Fault>
  <faultcode>Server</faultcode> 
  <faultstring>The file '/MSCRMServices/2007/CrmServiceWsdl.asmx' does not exist.</faultstring> 
- <detail>
- <error xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <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> 
  <requesturl>http://crm.rcm/MSCRMServices/2007/CrmServiceWsdl.asmx</requesturl> 
  <pathAndQuery>/MSCRMServices/2007/CrmServiceWsdl.asmx</pathAndQuery> 
  <source>SOAP</source> 
  <stacktrace /> 
  </error>
  </detail>
  </soap:Fault>
  </soap:Body>
  </soap:Envelope>


Whereas ASPX returns:

<?xml version="1.0" encoding="utf-8" ?> 
- <wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s3="http://schemas.microsoft.com/crm/2006/WebServices" xmlns:s2="http://schemas.microsoft.com/crm/2006/Query" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:s5="http://schemas.microsoft.com/crm/2007/CoreTypes" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://schemas.microsoft.com/crm/2007/WebServices" xmlns:s1="http://schemas.microsoft.com/crm/2006/CoreTypes" xmlns:s0="http://microsoft.com/wsdl/types/" xmlns:s4="http://schemas.microsoft.com/crm/2006/Scheduling" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://schemas.microsoft.com/crm/2007/WebServices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/wsdl/types/">
- <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:restriction>
  </s:simpleType>
  </s:schema>
- <s:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/crm/2006/CoreTypes">
  <s:import namespace="http://microsoft.com/wsdl/types/" /> 
- <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:restriction>
  </s:simpleType>
  </s:list>
  </s:simpleType>
- <s:complexType name="Moniker">
etc......

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...

 

Coordinator
Jan 18, 2011 at 3:21 PM

This is the original service url:

http://crm4/MSCrmServices/2007/CrmService.asmx

This is what you have entered:

http://crm.crm/MSCRMServices/2007/CrmServiceWsdl.aspx

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.