laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM006847
SubmittedFebruary 14, 2007
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Program languageC#
Version Fixed9.3
StatusFixed

Workaround

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);

Steps to Reproduce

Bug ID: NIM006847

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options