Page 1 of 1

ProcessRequest Error - StatusCode 4004

Posted: Wed Aug 31, 2011 8:10 am
by dg
Good Afternoon alt,

We are running an C# ashx solution for MO MM7 activity.

The method ProcessRequest (for the ashx) looks something like:

public void ProcessRequest(HttpContext context)
{
MM7Server server = new MM7Server();
server.DeliverRequest += new DeliverEventHandler(server_DeliverRequest);
server.ProcessRequest(context);
}

When we get POSTed an MM7 (v6.8.0) delivery request from our MMSC, the DeliverRequest event doesn't fire, and we respond with:

<?xml version="1.0" encoding="utf-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelop ... ing>Client error</faultstring><detail><VASPErrorRsp xmlns="http://www.3gpp.org/ftp/Specs/archive/2 ... Validation error</StatusText><Details>Value cannot be null.
Parameter name: value</Details></Status></VASPErrorRsp></detail></env:Fault></env:Body></env:Envelope>

or

<?xml version="1.0" encoding="utf-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelop ... ing>Client error</faultstring><detail><VASPErrorRsp xmlns="http://www.3gpp.org/ftp/Specs/archive/2 ... Validation error</StatusText><Details>Buffer cannot be null.
Parameter name: buffer</Details></Status></VASPErrorRsp></detail></env:Fault></env:Body></env:Envelope>

I am wondering if this is a version incompatibility or perhaps something else - is there a way we can look at this further.

Let me know if you need any more info.

Thanks,
Damien

Re: ProcessRequest Error - StatusCode 4004

Posted: Thu Sep 01, 2011 8:26 am
by alt
Hi DG,

I need to check what has come from MMSC. Please make sure that you have following config in your App.config file

Code: Select all

  <system.diagnostics>
    <sources>
      <source name="Inetlab.MMS.MM7.ServerSource" switchValue="Verbose">
        <listeners>
          <add name="MMSServerLog" />
        </listeners>
      </source>
    </sources>
    <sharedListeners>
      <add name="MMSServerLog" initializeData="mms_server.log"
         type="System.Diagnostics.TextWriterTraceListener" />
    </sharedListeners>
    <trace autoflush="true" />
  </system.diagnostics>
and post here or send to my email MMSC request from mms_server.log

Re: ProcessRequest Error - StatusCode 4004

Posted: Fri Sep 02, 2011 12:17 am
by dg
Hey alt,

Thanks for getting back to me!
I have emailed the details through and look forward to your response.

Cheers,
dg