web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Decryption of stored procedures in created in AXDB

(0) ShareShare
ReportReport
Posted on by 60

Hi folks,

We are facing an issue for the stored procedures which were created by our developer in AX DB.

Customized stored procedures are encrypted and we don't have the key to decrypt these.

Is there any way to do the needful.

Suggestions would be highly appreciated.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,109 Super User 2025 Season 2 on at

    Hi Fahad,

    Could you contact the original developer for help? I don't think without the proper key, you can decrypt it.

    In fact, this is a question about SQL server, not Dynamics AX. Probably you can ask your question on the SQL server forum as well? social.msdn.microsoft.com/.../home

  • nmaenpaa Profile Picture
    101,162 Moderator on at

    I also suggest to try to reach the developer first.

    If you can't there are many articles and discussions online about decrypting SQL Server Stored procedures. Since it's not AX specific, instead it's a SQL Server thing, you should look into SQL Server documentation, communities and articles.

  • Verified answer
    Andre Ghazaleh Profile Picture
    870 on at

    Hi Fahed,

    If it's not an option to contact the original developer ,You could do it without a 3rd party tool but it's easier to use one.

    There are many 3rd party tools to help you do that (ApexSQL Decrypt a free standalone tool,dbForge SQL Decryptor, RedGade Sql Prompt, RedGate Sql Compare...)

    Always take Backup of your DB before attempting any method.

    useful links:

    https://www.sqlservercentral.com/blogs/simple-way-to-decrypt-sql-server-stored-procedure

    https://dba.stackexchange.com/questions/60129/how-to-view-an-encrypted-view-or-stored-procedure

  • Suggested answer
    Fahad Ahmad Farooqi Profile Picture
    60 on at

    DBForge did the job for us!

    Cheers

  • Verified answer
    Andre Ghazaleh Profile Picture
    870 on at

    As I suggested above, dbForge and other 3rd party tools make it a lot easier to do this. Glad you fixed your problem.

    Regards

  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,109 Super User 2025 Season 2 on at

    Hi Fahad,

    Do you mind to verify the reply from Andre Ghazaleh where he suggested the third-party tools? The question will then get the status answered and people with the same question will be directed to the verified answer.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans