laptop and a wrench

漏洞

Map Document Data Source connection to Personal or Workgroup SDE broken when using IDataServerManager.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM006847
已提交February 14, 2007
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.2
编程语言C#
修正版本9.3
状态Fixed

解决办法

Using the connection file through IDataServerManager::InitFromFile does not cause this problem.string strPath = "<a href="file:c://Temp//" target="_blank">c:\\Temp\\</a>";string strServerName = @"alagiri\sqlexpress";IDataServerManager pDSManager = new DataServerManagerClass();string strFileName = strServerName.Replace("\\", "_") + ".GDS";//check if the connection file exists if not create one in the temp folder.if (!<a href="http://System.IO" target="_blank">System.IO</a>.File.Exists(strPath + strFileName)){ pDSManager.ServerName = strServerName; //'Connect to the Data Server pDSManager.Connect(); pDSManager.CreateConnectionFile(strPath, pDSManager.ServerName); pDSManager.Disconnect();}//Initialize the data serverpDSManager.InitFromFile(strPath + strFileName);

重现步骤

漏洞 ID: NIM006847

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项