Unspecified error (MS Visual Database Tools)

Unspecified error (MS Visual Database Tools)

I got this error when trying to “open table” a Sql server 2008 table from the SSMS 2005. There were numerous reports of this problem, while most of them ended up unanswered. The following is an answer I found from a MS person so I guess it’s likely to be authentic.

The answer is, no, you cannot open a 2008 table using the SSMS 2005.

An alternative is to right click the table, and select

1. “script table as”

2. “select to”

3. “new query editor window”

4. Then a new query window, with the “select” statement populated, will appear. You can then simply click the “execute” button.

This is of course not as good as the one right click and left click of the “open table”, but probably the best available option.

http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=335534

Comments
Hi,

Thank you for reporting this problem. Currently one cannot use OpenTable functionality from SQL Server 2005 SSMS to connect to SQL Server 2008. The only workaround is to use SQL Server 2008 Tools to Design SQL Server 2008 Tables.

Thanks
Karthik

MS SQL Server Manageabilty Team

Posted by Microsoft on 4/17/2008 at 7:14 AM

==============================

=====

Unspecified error
(MS Visual Database Tools)

——————————
Program Location:

at Microsoft.VisualStudio.DataTools.Interop.IDTTableDesignerFactory.BrowseTable(Object dsRef, Object pServiceProvider)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.OpenTableNode.CreateDesigner(IDTDocToolFactoryProvider factoryProvider, IVsDataConnection dataConnection)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDataDesignerNode.CreateDesigner()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDataDesignerNode.Open()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptFactory.CreateDesigner(DocumentType editorType, DocumentOptions aeOptions, Urn parentUrn, IManagedConnection mc)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)

6 Responses to “Unspecified error (MS Visual Database Tools)”

  1. MLightsOut Says:

    I have the same error using SSMS 2005 when I right click and chose open table or open view on a SQL Server that was version 10. WORKAROUND for table view: In SSMS 2005 click the New Query button and write a query to view everything in the table, for example, “SELECT * FROM [TABLENAME]” and then execute the query to see the table results.

  2. Vinay B Says:

    when i tried to use the create a new table by

    Recently i installed visual studio(VS) 2010 and inparallel i also using VS 2008, but have only microsoft SQL 2005. while i am developing some application in VS 2008 and inrelation to that i tried use some database which is from SQL 2005,
    Database also created sucesfully, when i right click on tables and on click of new table i got this error mess called UNSPECIFIED ERROR(MS Visual Database Tools).

    TITLE: Microsoft SQL Server Management Studio Express
    ——————————

    Unspecified error
    (MS Visual Database Tools)

    ——————————
    BUTTONS:

    OK
    ——————————

    ===================================

    Unspecified error
    (MS Visual Database Tools)

    ——————————
    Program Location:

    at Microsoft.VisualStudio.DataTools.Interop.IDTTableDesignerFactory.NewTable(Object dsRef, Object pServiceProvider)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.TableDesignerNode.CreateDesigner(IDTDocToolFactoryProvider factoryProvider, IVsDataConnection dataConnection)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDataDesignerNode.CreateDesigner()
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDataDesignerNode.Open()
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptFactory.CreateDesigner(DocumentType editorType, DocumentOptions aeOptions, Urn parentUrn, IManagedConnection mc)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)


  3. Hi ,

    I have to same problem. I want to connect SQL Server 2005 to SQL Server 2008 tables. right click on tables but can not open.

    Message : Unspecified Error
    MS Visual Database Tools
    ===================================

    Unspecified error
    (MS Visual Database Tools)

    ——————————
    Program Location:

    at Microsoft.VisualStudio.DataTools.Interop.IDTTableDesignerFactory.BrowseTable(Object dsRef, Object pServiceProvider)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.OpenTableNode.CreateDesigner(IDTDocToolFactoryProvider factoryProvider, IVsDataConnection dataConnection)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDataDesignerNode.CreateDesigner()
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDataDesignerNode.Open()
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptFactory.CreateDesigner(DocumentType editorType, DocumentOptions aeOptions, Urn parentUrn, IManagedConnection mc)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)

  4. peter Says:

    i have the same when i try to modify a table in design view. that’s on ssms 2005

    ===================================

    Unspecified error
    (MS Visual Database Tools)

    ——————————
    Program Location:

    at Microsoft.VisualStudio.DataTools.Interop.IDTTableDesignerFactory.EditTable(Object dsRef, Object pServiceProvider)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.TableDesignerNode.CreateDesigner(IDTDocToolFactoryProvider factoryProvider, IVsDataConnection dataConnection)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDataDesignerNode.CreateDesigner()
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDataDesignerNode.Open()
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptFactory.CreateDesigner(DocumentType editorType, DocumentOptions aeOptions, Urn parentUrn, IManagedConnection mc)
    at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)

  5. NANCY Says:

    iT HELPED.THANKS

  6. Matt Says:

    What worked? No solution has been posted


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.