|
POST
|
We are in the process of upgrading our ArcGIS Server to 10.2.2. We have an SOE for printing high quality maps. As part of the SOE we connect to the server and get the Map Services and the layer information for each. The code below fails at conn.Connect(server); Please provide guidance as to how we can connect to our server with our SOE in 10.2 and get the map services and layer information. Thanks, Mele {
GISServerConnection conn = null;
IServerObjectAdmin7 soa = null
conn = new GISServerConnection(); conn.Connect(server);
soa = (IServerObjectAdmin7)conn.ServerObjectAdmin;
IEnumServerObjectConfiguration enumconfig = soa.GetConfigurations();
IServerObjectConfiguration config = enumconfig.Next();
config.WaitTimeout = 600;
while (config != null)
{
//Check to see service is started and not the service with the LIS_Print SOE capability
IServerObjectConfigurationStatus configStatus = soa.GetConfigurationStatus(config.Name, config.TypeName);
if (config.Name != serverObjectHelper.ServerObject.ConfigurationName && configStatus.Status == esriConfigurationStatus.esriCSStarted)
{ if (config.TypeName == "MapServer") { IServerObjectManager4 som = (IServerObjectManager4)conn.ServerObjectManager;
IServerContext serverContext = som.CreateServerContext(config.Name, "MapServer"); IServerObject serverObject = serverContext.ServerObject;
IMapServer3 mapServer = (IMapServer3)serverObject;
GetMapLayerSettings(mapServer, config.Name);
serverContext.ReleaseContext();
}
}
config = enumconfig.Next();
}
... View more
05-17-2014
08:17 AM
|
0
|
1
|
2427
|
|
POST
|
To modify the domain credentials used by ArcGIS for Server to gain access to the list of users and/or roles, you need to first log into ArcGIS Server Manager and click the Security tab at the top. Once there, click the pencil icon next to "Configuration Settings" which will open the Security Configuration Wizard. Click the Next button twice and you'll be taken to the UI for inputting the domain user account in question. Generally speaking, it is not best practice to use a traditional "user" account on the domain that is assigned to a specific person. I would suggest using something like a domain service account, which is one that is generic in name and does not fall under certain periodic password change policies. Thanks for the steps. It was simple and saved me a support call. I will get a service account set up for this purpose.
... View more
05-15-2014
01:03 PM
|
0
|
0
|
713
|
|
POST
|
Thanks for suggesting that I check the logs. One thing that happened today was that I had to change my password. My account was used to set up the security and retrieve AD accounts. I see the attached message and I am guessing it is because of the change in password. I don't know how to reset my account information in ArcGIS Server Manager so I may to contact ESRI about doing so. I do not want to have to go back to configure all of the Security again. Mele[ATTACH=CONFIG]33844[/ATTACH]
... View more
05-15-2014
12:34 PM
|
0
|
0
|
4443
|
|
POST
|
I am logged in with my AD account and can see my name in the upper right.
... View more
05-15-2014
11:48 AM
|
0
|
0
|
4443
|
|
POST
|
Thanks for the replies. We typically do windows patching on Thursdays so I thought maybe it was because of a reboot, but I don't see in the event viewer that it was rebooted. I know that our ArcGIS Server 10.1 install requires us to restart the "ArcGIS Server" windows service after a reboot. I was thinking or restarting the windows service when I can just to see if that helps. The permissions on the root folder are the same as before. Also all the services are running and are visible in ArcCatalog and ArcGIS Server Manager. Mele
... View more
05-15-2014
11:06 AM
|
0
|
0
|
4443
|
|
POST
|
I have installed 10.2.2 and the web adaptor. I am using web-tier authentication with our agency's Active Directory. The Root Directory is accessbile to all of our Staff based on the 'ALL City Stafff" AD group, but the services directory does not show anything when viewed via IE or Chrome. I checked the 'services directory enabled' property and it is checked. I can see the services in the Manager and can view them by using the full URL, but I just can't see them in a browser under the services directory. I was able to view them yesterday and do not believe I have changed any settings. Any idea as to why the services are not visible even though the Services Directory is Enabled? Thanks, Mele [ATTACH=CONFIG]33840[/ATTACH]
... View more
05-15-2014
09:38 AM
|
0
|
10
|
5623
|
|
POST
|
The documentation for upgrading ArcGIS Server from 10.0 states: The easiest way to migrate from version 10.0 of ArcGIS Server is to install 10.2.2 on a new machine or set of machines. This allows you to go back and reference your existing applications and service properties while you are creating your new ArcGIS Server site. It sounds like we can run our ArcGIS Server 10.0 and 10.2.2 at the same time. I noticed that we do have an available 10.2 license at customers.esri.com but was wondering how long we can run both the existing 10 and a new 10.2.2 as we migrate and then test our install. Has anyone migrated their ArcGIS Server from 10.0 to 10.2 on a new machine? And if so, where you able to use the two licenses (10.0 & 10.2) concurrently, and for how long? Thanks, Mele
... View more
04-15-2014
03:28 PM
|
0
|
2
|
2907
|
|
POST
|
If DBCC is returning errors, you probably want to be talking with Tech Support. - V Thanks Vince, I will open a tech support incident regarding this issue.
... View more
04-14-2014
08:57 AM
|
0
|
0
|
853
|
|
POST
|
When querying our SDE_spatial_references table with SQL Server Management Studio, I get the following error: "An error occurred while executing batch. Error message is: Arithmetic Overflow." We also run a DBCC CHECKDB weekly on our databases and it produces this error: "Column 'munits' value is out of range for data type "float". Update column to a legal value." It looks like the problem is with the munits field in one of our rows and I was able to identify which row this occurs in. I also took a look at our SDE_Layers table and don't see the SRID that is causing the problem listed. Has anyone seen this type of error and found a way to resolve it? Thanks, Mele
... View more
04-11-2014
10:19 AM
|
0
|
2
|
1037
|
|
POST
|
We just upgraded our production ArcSDE server to Windows Server 2008 R2. We are using ArcSDE 10.1 SP1 on SQL Server 2012 with Application Server Connections for many of our users. We will be moving to more direct connects but for now, we have a lot of application server connections. After creating the windows service, I changed the login to use a domain account rather than the system account so that the Windows Service would not have to share heap memory with other processes. This was suggested to us a few versions of ArcSDE ago by ESRI Support and we are still employing this strategy. I have noticed that now we have a lot of Conhost.exe processes running under the domain account in addition to the expected gsrvr.exe processes and I am concerned that these are using up the memory that I had hoped would be dedicated to only the gsrvr.exe processes. I don't recall seeing these conhost.exe processes on Windows Server 2003 running under our Domain Account. Our SharedSection parameter on the registry key \\HKEY_LOCAL_MACHINE\ SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems is set at 768. What are these conhost.exe procecesses and do I need to be concerned about using up the memory heap? Should I consider upping the SharedSection parameter? Thanks for any guidance you can provide. Mele
... View more
04-03-2014
08:54 AM
|
0
|
1
|
1455
|
|
POST
|
We have a few projects where we need to join a table to a feature class and then publish the map service with Feature Access so I am disappointed that this is not possible with 10.0 and it sounds like the capability hasn't been added in 10.2.1 either. We use a SQL table to symbolize off of and that SQL table is updated outside or our Geodatabase. What we end up doing is creating a map service that has the Feature Class with a join in it to SQL and we use that for display and then we have another service that has the Feature Access capability enabled. It ends up being tough to maintain and program around so I hope ESRI adds this functionality. Mele
... View more
02-27-2014
11:10 AM
|
0
|
0
|
716
|
|
POST
|
Did you ever find any solution to this? Unfortunately, I cannot provide any insight as I am having the exact same problem with ArcGIS Server 10. sp4 but thought I would see if you found any resolution. Thanks, Mele
... View more
02-27-2014
09:47 AM
|
0
|
0
|
3324
|
|
POST
|
When publishing a map service KML support is enabled by default. Is there a way to set the KML support for a Map Service to off by default so that each time a Map Service is published we don't have to uncheck this option? Thanks, Mele
... View more
12-05-2013
05:19 AM
|
0
|
3
|
6497
|
|
POST
|
I was able to create the Geometry in a view as shown below and then use it as a Query Layer in ArcMap Select [BlueStakeWOId], Geometry::STPointFromText('POINT (' + CAST([Longitude] as varchar(32)) + ' ' + CAST([Latitude] as varchar(32)) + ')', 4326) as shape from DBSVR.WaterWO.gis.OpenTickets There are only about 130 points in this table, so I will have to try with larger datasets and see how it performs Mele
... View more
11-22-2013
11:33 AM
|
0
|
0
|
6060
|
|
POST
|
I am attempting to upgrade a JavaScript application from 3.2 to 3.7. Changing the URL references seemed pretty strait forward, but after doing so, I have some formatting issues with the AttributeInpector and TemplatePicker in dijit.layout.ContentPane as shown in the attached image. [ATTACH=CONFIG]29290[/ATTACH] I suspect it is an CSS issue, but I don't have much in my CSS for the AttributeInspector or TemplatePicker other than the following: .esriAttributeInspector { height: 750px; width: 250px; } .templatePicker { border: none 0; height:300px; width: 250px; } I am also having an issue with the Slider Bar that I am using to change opacity on Aerials/Basemap. It does not show up since my switch to 3.7 #sliderWrapper { position:absolute; left: 20px; bottom:10px; z-Index: 40; width: 200px; height: 50px; background: transparent; -moz-box-shadow: 0 0 5px #888; -webkit-box-shadow: 0 0 5px #888; } What things should I check to correct these formatting issues? Thanks, Mele
... View more
11-22-2013
08:35 AM
|
0
|
1
|
955
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-27-2026 09:23 AM | |
| 1 | 02-26-2026 06:47 AM | |
| 3 | 10-20-2025 05:21 AM | |
| 1 | 03-13-2015 04:39 PM | |
| 1 | 09-18-2025 08:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|