You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment (local platform and source/target platforms): Any
Steps to Reproduce:
Create a database
Add below stored procedure: CREATE OR ALTER PROCEDURE usp_GetData WITH ENCRYPTION as begin select 1 End
Exporting the database fails with " Error exporting database:One or more unsupported elements were found in the schema used as part of a data package. Error SQL71564: Error validating element [dbo].[usp_GetData]: The element [dbo].[usp_GetData] cannot be deployed as the script body is encrypted."
Workarounds:
i. Use /p:verifyExtraction=false
ii. Use /p:ExtractAllTableData=true with extract instead of export
Did this occur in prior versions? If not - which version(s) did it work in?
(DacFx/SqlPackage/SSMS/Azure Data Studio) All
The text was updated successfully, but these errors were encountered:
from the docs: Users who have no access to system tables or database files can't retrieve the obfuscated text. However, the text is available to privileged users who can either access system tables over the DAC port or directly access database files.
because it is still feasible to access the definition there are 3rd party solutions that are able to reverse engineer the definition.
one such is https://www.devart.com/dbforge/sql/sqldecryptor/ (this is not an endorsement, just an example)
The workaround (probably the solution) for the problem is to remove the error causing sql object from the database and perform export-import operations and manually add them back.
Steps to Reproduce:
CREATE OR ALTER PROCEDURE usp_GetData WITH ENCRYPTION as begin select 1 End
i. Use /p:verifyExtraction=false
ii. Use /p:ExtractAllTableData=true with extract instead of export
Did this occur in prior versions? If not - which version(s) did it work in?
(DacFx/SqlPackage/SSMS/Azure Data Studio) All
The text was updated successfully, but these errors were encountered: