Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Getting error in "AL Table Proxy Generator"

Posted on by 102

Good day experts,

i am running "AL Table Proxy Generator" and getting an error that file cannot be load. Please see the error below 

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'altpgen, Version=5.0.4.8218, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)

This is how i am running the tool:

.\altpgen
-project: 'some value'
-packagecachepath: 
-serviceuri: 
-username: 
-password: 
-entities: opportunity
-baseid: 50000
-tabletype: CDS

Please help me out in this regard

  • Ajay Kumar Jangiti Profile Picture
    Ajay Kumar Jangiti 130 on at
    RE: Getting error in "AL Table Proxy Generator"

    Hi Team,

    When I tried to create a Custom Dynamics 365 CRM Integration in Business Central by using AL Table proxy generator I am ending up with the "System.UnauthorizedAccessException" error as shown in below.

    Please suggest incase if I am missing something.

    CDS.PNG

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Getting error in "AL Table Proxy Generator"

    Hello,

    You may want to have a look here:

    docs.microsoft.com/.../devenv-al-table-proxy-generator

    Something must have gone wrong on this specific machine. Is the machine you are running this from fully patched and are you administrator on the box. Is this issue happening on all machines?

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans