Could not retrieve schema information for database object <object name>

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This message typically appears when an object in Server Explorer/Database Explorer is copied to the clipboard, deleted from the database, and then pasted onto the designer. Because the database object no longer exists, this message appears.

To correct this error

  • Click OK to dismiss the dialog box.

See Also

LINQ to SQL Tools in Visual Studio Walkthrough: Creating LINQ to SQL Classes (O-R Designer) LINQ to SQL