Access violation at address 1A10D74C when trying to login using the WebService

Hi,

We have a situation where we are trying to login using the soap web service call from a PHP application.

After the login request have been sent we get an Access violation at address 1A10D74C.

We are still running version 7.0 d, on MS Server 2008 and SQL Server 2008 R2.

I have tried to restart the servers, refresh metadata(that usually works) and even turning the web services access on and off on various entities.

The localhost/.../CRMwebservice.wsdl call responds by retrieving the .wsdl file, so I know it is not the file itself

Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "POST /crm/eware.dll/WebServices/SOAP HTTP/1.1[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "SOAPAction: ""[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "Content-Length: 328[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "Host: 192.168.16.158[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "Connection: Keep-Alive[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "<soapenv:Envelope xmlns:soapenv="">schemas.xmlsoap.org/.../" xmlns:type="">http://tempuri.org/type">[\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> " <soapenv:Header/>[\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> " <soapenv:Body>[\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> " <type:logon>[\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> " <type:username>igroup</type:username>[\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> " <type:password>{----------HIDDEN---------}</type:password>[\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> " </type:logon>[\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> " </soapenv:Body>[\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:>> "</soapenv:Envelope>"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:<<"HTTP/1.1 200 OK[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:<<"Content-Type: text/xml; charset=utf-8[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:<<"Expires: Tue, 16 Dec 2014 11:18:24 GMT[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:<<"Server: Microsoft-IIS/7.0[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:<<"X-Powered-By: ASP.NET[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:<<"Date: Wed, 17 Dec 2014 09:18:24 GMT[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:<<"Content-Length: 499[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:<<"[\r][\n]"
Wed Dec 17 11:18:24 CAT 2014:DEBUG:<<"[0xef][0xbb][0xbf]<?xml version="1.0" encoding="UTF-8" standalone="no"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="">schemas.xmlsoap.org/.../" xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../" xmlns:xsi="">www.w3.org/.../XMLSchema-instance"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Access violation at address 1A10D74C in module &apos;eware.dll&apos;. Read of address 00000014</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>"

It looks like it might be on the user table but I am not sure.

If there is anything else required to debug please let me know.

Regards

  • 0

    I would suggest pointing CRM at a clean empty database first to check its data and not code. Then add a few records and see if the web service returns the data. One thing to note is do not use numbers in field names after the _, for example comp_2ndname, as this will break the web service.

  • 0

    Rhijnhardt

    Do you have access to this resource?

    community.sagecrm.com/.../27223.aspx

    You should have access as Acctech are members of the Dev Program. The download is a test harness I use when teachin web services. I know you are developing using PHP but the harness will allow you to check you code actions with fairly simple C# code that is doing the same thing - basically the same XML will be generated and shown in the logs.