This project is read-only.

4.0 Online Error : Server did not recognize the value of HTTP Header

Mar 3, 2011 at 6:57 PM

Going to start this as a new thread since I got the thing to connect at least;

(maybe I missed something in the config file?) below

Could it be due to missing attributes? I dont have any specified, and Subject is mandatory on the form?

 

CRM Queue Manager Service version 1.6.1.0

13:03:36 Processing queues
13:03:36 Querying queue 'Support'...
13:03:50 Found 1 e-mail on queue.

13:03:50 Retrieving e-mail 'Queue Manager Test 3/3 13:00'...
13:03:51 e-mail is sent by an internal user. Attempting to retrieve a contact...

13:03:51 Found contact. Will create case for this contact instead.
13:03:51 Creating case...
13:03:52 Unhandled exception occurred in ProcessQueue

Exception:
Server did not recognize the value of HTTP Header SOAPAction: http://schemas.mic
rosoft.com/crm/2007/WebServices/Execute.

Details:


Stack trace:
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal
l)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN
ame, Object[] parameters)
   at QueueManager.Helper.CRMMeta.MetadataService.Execute(MetadataServiceRequest
 Request) in C:\Projects\CRMQueueManager\QueueManagerHelper\Web References\CRMMe
ta\Reference.vb:line 105
   at QueueManager.Helper.CRMHelper.GetAttribute(String TheEntity, String Name)
in C:\Projects\CRMQueueManager\QueueManagerHelper\CRMHelper.vb:line 150
   at QueueManager.Service.QueueMonitor.CreateCase(IncomingEntity objEntity, ema
il objEMail, QueueSetting QueueSettings, queue objQueue, systemuser objQueueOwne
r) in C:\Projects\CRMQueueManager\QueueManagerService\QueueMonitor.vb:line 531
   at QueueManager.Service.QueueMonitor.ProcessQueue(QueueSetting QueueSettings)
 in C:\Projects\CRMQueueManager\QueueManagerService\QueueMonitor.vb:line 271

 

Config file;

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="queues" type="QueueManager.Service.Config.QueueSection, QueueManagerService" />
  </configSections>

  <appSettings>
    <add key="crmserviceurl" value="https://dev.crm.dynamics.com/MSCRMServices/2007/Passport/CrmDiscoveryService.asmx" />
    <add key="organization" value="crmNAorg.........." />
    <add key="username" value="glen-at-grizzlytech.ca" />
    <add key="password" value="..........." />
    <add key="logeventlog" value="true" />
    <add key="logerrornotify" value="glen-at-grizzlytech.ca" />
    <add key="logwarningnotify" value="glen-at-grizzlytech.ca" />
    <add key="lognotifyfrom" value="Automatic Mailer &lt;noreply@domain.com&gt;" />
    <add key="logtofile" value="" />
  </appSettings>
  <queues>
    <add name="Support"
         queueid="A773A054-1741-E011-9147-001F29C97F76"
         tempqueueid="00B755BD-6A48-DD11-80A0-0003FF4E583B"
         interval="60"
         tempqueueage="2"
         matchcaseticketnumber="true"
         ignorelist="out of office;autoreply;auto reply"
         moveignored="true"
         createcontact="false"
         allowonlyto="false"
         allowonlyto-reply="true"
         allowonlyto-notify="notify@domain.com"
         allowonlyto-from="Automatic Mailer &lt;noreply@domain.com&gt;"
         allowonlyto-template="c:\fullpath\allowto.htm"
         allowonlyto-subject="Support notification"
         sendverificationmail="false"
         verificationmail-from="Automatic Mailer &lt;noreply@domain.com&gt;"
         verificationmail-bcc="notify@domain.com"
         verificationmail-subject="Welcome to the Support Desk"
         verificationmail-template="c:\fullpath\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:\fullpath\case.htm"
         casemail-usehtml="true"
         updatecasedescription="true"
         caseattributes=""
         resolveparent="false"
         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="notify@domain.com"
         casenotification-subject="{ticketnumber}: A new case has been created"
         casenotification-template="c:\fullpath\casenotify.htm"
         casenotification-usehtml="true"
         removerepliesfromqueue="false"
         mapcasetoaccount="false"
         parentaccountmissing="false"
         setresponsiblecontact="false"
         />
  </queues>

  <!--
  Update the network tag with your smtp settings.
  -->
  <system.net>
    <mailSettings>
      <smtp>
        <network host="smtp.gmail.com" defaultCredentials="false" userName="account@gmail.com" password="password" port="25" />
      </smtp>
    </mailSettings>
  </system.net>
</configuration>

Coordinator
Mar 7, 2011 at 8:57 AM

Seems like you are using the online version. I believe it has been upgraded to version 2011. Please see this thread:

http://crmqueuemanager.codeplex.com/discussions/233329

Mar 7, 2011 at 7:36 PM

Thanx Manso, but I am using a 4.0 Online instance. Not all customer instances have been upgraded to 2011 yet (this one scheduled for May). Which does raise the question, why should I even bother to use the CRMQmanager if it wont work in 2 months anyway, since it doesnt seem to work now in 2011.... ? unless of course someone takes the time to fix it and then post the code out here.