Skip to main content

Notifications

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.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    294,251 Super User 2025 Season 1 on at
    RE: Decryption of stored procedures in created in AXDB

    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.

  • Verified answer
    Andre Ghazaleh Profile Picture
    870 on at
    RE: Decryption of stored procedures in created in AXDB

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

    Regards

  • Suggested answer
    Fahad Ahmad Farooqi Profile Picture
    60 on at
    RE: Decryption of stored procedures in created in AXDB

    DBForge did the job for us!

    Cheers

  • Verified answer
    Andre Ghazaleh Profile Picture
    870 on at
    RE: Decryption of stored procedures in created in AXDB

    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

  • nmaenpaa Profile Picture
    101,158 Moderator on at
    RE: Decryption of stored procedures in created in AXDB

    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.

  • André Arnaud de Calavon Profile Picture
    294,251 Super User 2025 Season 1 on at
    RE: Decryption of stored procedures in created in AXDB

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,251 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,984 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans