Sage 100

 View Only
  • 1.  "Could not load file or assembly 'system.security.cryptography.algorithms' or one of its dependencies.  The system cannot find the file specified (err/ret=2/0)"

    Posted 08-24-2021 09:40
    Edited by Brett Zimmerman 08-31-2021 08:31
    Looking for suggestions on addressing this error which seems to occur when trying to perform something credit card related.  Got the error in S/O Entry and Cash Receipts Entry; haven't tried elsewhere as of yet.  Hoping maybe there's some DEBUG commands I can run, or there's just something I'm overlooking. 

    Error 88, sy___common.pvc, 215
    "Could not load file or assembly 'system.security.cryptography.algorithms' or one of its dependencies.  The system cannot find the file specified (err/ret=2/0)"

    #cryptography #algorithms


    ------------------------------
    Brett Zimmerman
    Net at Work
    Greater Boston Area
    ------------------------------
    ​​​​​​​​​


  • 2.  RE: "Could not load file or assembly 'system.security.cryptography.algorithms' or one of its dependencies.  The system cannot find the file specified (err/ret=2/0)"

    Posted 08-25-2021 03:33
    Sounds like it could be something .NET Framework related.

    Have you checked what is currently installed? 
    Maybe try installing 4.6.1, 4.7.2 or 4.8
    See if there might be some OS file corruption somewhere (i.e: sfc /scannow) 

    If you're doing things that are specifically credit card related when the error occurs, is that referencing Paya Exchange Desktop? If so, can you try to uninstall and reinstall that?

    ------------------------------
    George Khairallah
    CTO | gotomyerp, LLC
    george.k@gotomyerp.com | 877-888-5525
    http://gotomyerp.com/
    ------------------------------



  • 3.  RE: "Could not load file or assembly 'system.security.cryptography.algorithms' or one of its dependencies.  The system cannot find the file specified (err/ret=2/0)"

    Posted 08-25-2021 17:03
    Just an idea to try. I had a problem with SAGE's Payroll Tax Calculation's ability to "phone home". Error pointed to a .NET issue. Turned out to be a firewall change that effected one workstation (the payroll workstation). Temporary turned off firewall and the Payroll Tax Calculation started working again. Handed the problem back to the "IT guys".

    ------------------------------
    Michael McDonald - Consultant
    Michael T McDonald CPA
    616-813-8887 - mike@mcdcpa.com
    ------------------------------



  • 4.  RE: "Could not load file or assembly 'system.security.cryptography.algorithms' or one of its dependencies.  The system cannot find the file specified (err/ret=2/0)"

    Posted 08-25-2021 17:13
    That's a very good possibility as well @Michael McDonald.

    If turning off the Windows firewall only doesn't help, the perimeter firewall might have IDS/IPS enabled, those are usually signature based and can cause all sorts of inexplicable problems with applications, turning those off temporarily will help with the troubleshooting.


    ------------------------------
    George Khairallah
    CTO | gotomyerp, LLC
    george.k@gotomyerp.com | 877-888-5525
    http://gotomyerp.com/
    ------------------------------



  • 5.  RE: "Could not load file or assembly 'system.security.cryptography.algorithms' or one of its dependencies.  The system cannot find the file specified (err/ret=2/0)"

    Posted 08-31-2021 11:39
    RESOLVED!!  Appreciate the feedback. (this can be moved out of Urgent, @Robert Wood.)
    Epilogue:  Upon determining that there was missing items in C:\Windows\Microsoft.NET\assembly\GAC_MSIL\ (I only had 3 system.security items, not including 'cryptography.algorithms'), it became apparent that we needed to try reinstalling .NET.  However, first we rebooted the server due to the "pending restart" message in Server Manager > Add Roles & Features.  Still getting the error so we then proceeded with reinstalling .NET which resolved the issue (and resulted in 10 system.security items in that folder).

    ------------------------------
    Brett Zimmerman
    Net at Work
    Greater Boston Area
    ------------------------------