Jump to content

Lesson Learned #308:Extended properties are not permitted on 'dbo.xyz', or the object does not exist


Recommended Posts

Guest Jose_Manuel_Jurado
Posted

Today, we worked on a service request that our customer is implementing DATA SYNC and they got the following error message: "Database re-provisioning failed with the exception 'SqlException Error Code: -2146232060 - SqlError Number:15135, Message: Object is invalid. Extended properties are not permitted on 'dbo.schema_info_dss', or the object does not exist.

 

 

 

This error occurs when the application is calling sys.sp_addextendedproperty and you specify an incorrect schema of the table, for example, dbo (the table schema_info_dss is based on another schema) or simply the table doesn't exist.

 

 

 

Example:

 

EXEC sys.sp_addextendedproperty

@name = N'Description' , @value = N'', @level0type = N'schema', @level0name = 'dbo', @level1type = N'table', @level1name ='schema_info_dss';

 

 

 

Enjoy!

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...