2023-10-09
求大佬们看看SQL Server2022的报错,折磨我一个月了,真的受不了了。。。
就是我在用SQL Server的时候,老师要我使用导入与导出数据的工具,但是我打开后找不到服务器名称,总是会显示下图的报错。
然后我打开visual studio,使用里面SSIS项目,同样地,只要我一使用数据流任务--OLE DB源--新建OLE DB管理器--新建的时候,总会说不支持指定的提供程序,然后点确定进入的界面里同样找不到服务器名称。主要就是下面的这个错误。
我试过了改连接IP地址和重新启动服务,但都不奏效,网上搜也没有啥有用的信息,不知道咋解决这个服务器名称找不到的问题了。。特来求助各位大佬[流泪]
备注:无法检索那个是导入与导出数据的报错,另外一张是SSIS的报错
下面这个信息是导入与导出数据工具的错误:
===================================
无法检索表列表。 (SQL Server 导入和导出向导)
===================================
A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
Client unable to establish connection
Registry information is corrupt or missing. Make sure the provider is installed and registered correctly. (Microsoft SQL Server Native Client 11.0)
------------------------------
程序位置:
在 System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
在 System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
在 System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
在 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
在 System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
在 System.Data.OleDb.OleDbConnection.Open()
在 Microsoft.SqlServer.Dts.DtsWizard.SQLServerForm.LoadDatabasesList()
接下来这个是visual studio的SSIS项目的报错:
标题: 连接管理器
------------------------------
由于在初始化提供程序时出错,导致连接测试失败。A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
Client unable to establish connection
Registry information is corrupt or missing. Make sure the provider is installed and registered correctly.
10
0
分享
操作
评论
问答助学
相关内容
0个评论
全部评论
点击登录,快来和大家讨论吧~
表情
图片
暂无评论
