POST
|
Does anyone have sample code on using IGISServerConnection2 ? connection.Connect2(userInfo,server); The code I have throws AccessViolationException {"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."} when initiation of serverObjectManager get executed. //Bind to product runtime ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop); String userName = @"domain\userid"; String roles = "agsadmin"; String userInfo = userName + ";" + roles; String server = "servername"; //Init Connection IGISServerConnection2 connection = new GISServerConnectionClass(); connection.Connect2(userInfo,server); IServerObjectManager serverObjectManager = connection.ServerObjectManager; Thanks!
... View more
11-07-2011
09:11 AM
|
0
|
0
|
564
|
POST
|
i've installed arcgis desktop, sdk for .net framework, and SDK .net SP2. But visual studio 2010 templates are missing. Any suggestions? should i install SDK .net sp3? even though server isn't up to that version yet.
... View more
10-28-2011
07:11 AM
|
0
|
5
|
694
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|