When I try to run Generate Create Script to Project on a table in the Server Explorer, I get the following error—An error occurred during the operation: The Table '[dbo].[TableName]' cannot be scripted as its data is not accessible.
I can view the table data without any problem. I have generated several create scripts from the same database. What could be the problem?