laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM006847
EnvoiFebruary 14, 2007
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
Langue du programmeC#
Version de correction9.3
StatutFixed

Solution de contournement

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

Étapes pour reproduire

ID de bogue: NIM006847

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement