-1

Hi this is the first time that I've encounter this error in generating script for my database, what do you think causes this error? Thanks. Please see image.enter image description here

spideynok
  • 33
  • 8

1 Answers1

2

You are getting the error as you are trying to script out OBJECT that is encrypted. You should read the error carefully as it is self descriptive :

enter image description here

There are ways that you can use as described in my answer - How to view an encrypted view or stored procedure ? and here - Martin's answer.

Kin Shah
  • 62,545
  • 6
  • 124
  • 245