日期:2014-05-17  浏览次数:20395 次

关于安装完SQL2005后,不能新建表的操作
无法将类型为“Microsoft.SqlServer.Management.Smo.Urn”的对象强制转换为类型“Microsoft.SqlServer.Management.Smo.Urn”。 (SQLEditors)
 将信息全部展开为:



无法将类型为“Microsoft.SqlServer.Management.Smo.Urn”的对象强制转换为类型“Microsoft.SqlServer.Management.Smo.Urn”。 (SQLEditors)

------------------------------
程序位置:

   在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptFactory.CreateDesigner(DocumentType editorType, DocumentOptions aeOptions, Urn parentUrn, IManagedConnection mc)
   在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)


------解决方案--------------------
有,比较保险的方式是先装SQLServer再装vs,因为它自带了SQLServer express,经常对独立安装的SQLServer会带来一些影响