November 22, 2011 at 6:37 am
I script view as CREATE to New Query Editor window .....I got error(property textHeader is not avilable for view '[dbo].[vwxy]'. this property may not exist for this object, or may not be retrievable due to insufficient access rights. This text is encrypted.
--I am sys admin for the database, how i can open this view or how can i change encryption
very urgent
November 22, 2011 at 6:42 am
try connecting via the Dedicated Admin Connection:
http://msdn.microsoft.com/en-us/library/ms189595.aspx
I believe all objects are decrypted for you when connecting via the DAC
Lowell
November 22, 2011 at 6:42 am
You may also find this is a bug in the scripter and sp_helptext will help you.
November 22, 2011 at 6:45 am
mak12 (11/22/2011)
I script view as CREATE to New Query Editor window .....I got error(property textHeader is not avilable for view '[dbo].[vwxy]'. this property may not exist for this object, or may not be retrievable due to insufficient access rights. This text is encrypted.--I am sys admin for the database, how i can open this view or how can i change encryption
very urgent
Take a look at: http://www.devlib.net/decryptsql.htm
_____________________________________
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.November 22, 2011 at 6:48 am
mak12 (11/22/2011)
I script view as CREATE to New Query Editor window .....I got error(property textHeader is not avilable for view '[dbo].[vwxy]'. this property may not exist for this object, or may not be retrievable due to insufficient access rights. This text is encrypted.--I am sys admin for the database, how i can open this view or how can i change encryption
very urgent
This situation can be easily been avoided if you had Source Control Process in place (like VSS, TFS etc.). If you are not able to get the view definition with sp_helptext(), you should hack SQL server (never ever recommended). Also, there are 3rd Party Tools available to decrypt encrypted DB objects.
sp_helptext [ @objname = ] 'name' [ , [ @columnname = ] computed_column_name ]
November 22, 2011 at 6:51 am
Redgate SQL Prompt (professional version) can do this.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 22, 2011 at 7:11 am
Under property of a view, under option Encrypted is TRUE how to change to false so that i can access the view.
Also is there was to get it from master db?
November 22, 2011 at 7:12 am
We've used this in the past, not as good as Red Gate, but it's free.
November 22, 2011 at 7:18 am
sqlpadawan_1 (11/22/2011)
http://www.devart.com/dbforge/sql/sqldecryptor/%5B/quote%5D
It adds weight in tool if it's FREE. 😀
Thanks for sharing the information.
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply