以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 求助 SQL (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=134049) |
-- 作者:jackyfashion -- 发布时间:2019/4/26 2:01:00 -- 求助 SQL 老师: 您好! 我的SQL数据库宊然脱机,无法连接,显示信息如下: 无法将类型为“System.DBNull”的对象强制转换为类型“System.String”。 (Microsoft.SqlServer.Smo) ------------------------------ 程序位置: 在 Microsoft.SqlServer.Management.Smo.SqlSmoObject.GetDbCollation(String dbname) 在 Microsoft.SqlServer.Management.Smo.SqlSmoObject.GetDbComparer(Boolean inServer) 在 Microsoft.SqlServer.Management.Smo.SqlSmoObject.InitializeStringComparer() 在 Microsoft.SqlServer.Management.Smo.Agent.JobServer..ctor(Server parentsrv, ObjectKeyBase key, SqlSmoState state) 在 Microsoft.SqlServer.Management.Smo.Server.get_JobServer() 在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.AgentPropertyHandler.SetTsxInformation(Server server, INameObjectCollection properties) 在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.AgentPropertyHandler.PopulateProperties(INodeInformation source, INameObjectCollection properties) 在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NodeContext.PopulateProperties() 在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.SetStaticProperties(NodeContext nodeContext) 在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItemWithQuery(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, String urnQuery, Boolean registerBuilder, Boolean registerBuiltItems) 在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItem(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter) 在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.Build(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter) 在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.RequestChildren(IGetChildrenRequest request) 在 Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle quitEvent) 请老师指教!!! 谢谢!!! |
-- 作者:有点蓝 -- 发布时间:2019/4/26 9:18:00 -- 做什么操作出的错?检查相关代码。如果使用的外部用户表,把用户表里的空行全部删除掉 |
-- 作者:jackyfashion -- 发布时间:2019/4/26 20:45:00 -- 您 好! 老师: 在FOXteble,备份及灰复SQL数据库以前不会,昨晚突然出问题,现在在SQL内边都没法灰复了. 谢谢老师!!!
|
-- 作者:有点蓝 -- 发布时间:2019/4/26 20:54:00 -- 看看是不是硬盘没有空间了。重启下服务器。看看数据库服务是否启动 |