Access violation at address 2240C680 in module 'eware.dll'. Read of address 00000000

Hi,

When we do the following sequence “Search / Company / select chosen company / People / Data Delivery” we keep getting the access violation error. Data Delivery is a custom page. If we click the Data Delivery button again the page reloads fine. I have tried to find similar question regarding this error but not the same. 

Has anyone come across this one before?

Thanks,

Dan

  • 0

    Hi Dan

    This sounds like this context information is getting confused.  Have a look at the messages in the system and SQL log for clues but also look at the URL that is used to call the page when the error takes place vs when you can click the button again. 

  • 0 in reply to Sage CRM

    Hi, 

    Here are the URL's for when I select the page either first or via the person page and the second one is when I click on the data delivery tab again. 

    CustomPages/DataDelivery.asp?SID=9641218026423&Key0=1&Key1=948&Key2=5997&J=DataDelivery.asp&T=Company

    CustomPages/DataDelivery.asp?SID=9641218026423&Key0=1&Key1=948&Key2=5997&J=DataDelivery.asp&F=DataDelivery.asp&T=Company

  • 0 in reply to Daniel.Jeffreys

    For background see:  (+) Understanding Key Values and URL variables - Sage CRM Hints, Tips and Tricks - Sage CRM - Community Hub

    • J is the target page for the URL
    • F is the original context (or page)
    • E is the target Entity
    • T is the default tabgroup

    The original link is missing the F reference.  Try adding that into the URL and see whether the error still takes place. 

  • 0

    We have an issue logged with Sage support, where CRM has always got its context confused and it's never been fixed - happens when navigating Custom Entity 1 > Company > Custom Entity 2. 

    The scenario is two custom entities built using the entity wizard and are a 1-to-Many relationship with Company. 

    We can go from Company > Custom Tab 1 > click into a record > then click on the company name on the record to go back to the company > Click on the tab for entity 2 and sudden we're looking at a completely different company and the entity records shown are for this other entity (but we get no error messages like you, we just end up looking at the wrong company)

    So whilst not completely like your set up, there is something going on here that CRM just loses where it is. 

  • 0 in reply to Matthew Shaw

    Maintaining context when moving between custom entities and standard entities has always been problematic for as long as I've done custom CRM work.

  • 0 in reply to Sage CRM

    Hi,

    when I go directly to data delivery from summary(company) there is no F reference it only appears if I click on data delivery again or move from another custom entity.

    We only get the error if we have searched for the company first and clicked on people before moving to a custom entity. I have checked the asp and there is CRM.GetContextInfo("Company","Comp_CompanyId")