ASP: Access violation at address 1A7F51E7 in module 'eware.dll'. Read of address 00000000

Hello,

we are making an upgrade from SageCRM 7.3 SP3 to SageCRM 2018 R3.

We get the error "Access violation at address 1A7F51E7 in module 'eware.dll'. Read of address 00000000" on opening our ASP-site.

But the error only appears if we open it from the open tab Person on the Company-Context.

From all other tabs the error wont appear.

I've attached the ASP.

This is what the Log says:

Nov 21 2018 13:40:43.530 9684 1032 5 Current record - Checking J:
Nov 21 2018 13:40:43.530 9684 1032 5 Current record Table Not found:
Nov 21 2018 13:40:43.870 9684 1032 4 EndUserAction,User,Action,Time 1 1586 375
Nov 21 2018 13:40:47.785 9684 1032 4 StartUserAction,User,Action 1 1282

Hope to get help soon.

Thank you.

Tom

  • 0

    I just tried this with a couple of custom entities accessed via tabs in the Company tab group, Sage 200 CRM 2018 R2.

    I get (almost) the same error message as Lars, but only if the People tab is active when I click the custom entity tab:

    Access violation at address 1A7F37EF in module 'eware.dll'. Read of address 00000000

    The URLs on the custom entity tab are identical, and Fiddler shows that the requests that result from clicking the custom entity tab are identical, when the Summary or People tabs are active.

    What do we need to do to prevent the exception happening?

  • 0

    No.

    But what I would do is have a look at the differences between the URL that is generated in each context. It will be something to do with the information that is being passed to the ASP page and then used by the CRM/eWare object.

  • 0

    Hello ,

    do you have a solution?

  • 0

    hi Jeff

    I did that. Re my post above:

    "The URLs on the custom entity tab are identical, and Fiddler shows that the requests that result from clicking the custom entity tab are identical, when the Summary or People tabs are active."

    paul

  • 0

    Here is a dirty workaround:

    /**

    * WORKAROUND

    * Wenn bei Firma über den Tab People auf Projects gewechselt wird, erscheint eine Fehlermeldung.

    * Diese kann umgangen werden, wenn die Seite neu geladen wird.

    */

    function peopleReloadProjects(){

    try{

    if (crm.getArg('J') === 'Company%2FCompanyProjectInfluencerList.asp') {

    $(".ErrorContent").hide();

    if($(".ErrorContent").length){ //Prüfung ob ein Error auf der Seite erscheint.

    location.reload();

    }

    }

    } catch (e) {

    var errormsg = '### ERROR: ' + '(' + e.name + ') ' + e.message;

    crm.infoMessage(errormsg);

    }

    }