Quantcast
Channel: Forums - ArcGIS for Server - General
Viewing all 1579 articles
Browse latest View live

Question on enable Web Adaptor ssl access

$
0
0
I followed the instructions in http://resources.arcgis.com/en/help/...00000600000000
I am a little confused by the path I need to use to access the services in the end of this document

I configured the GIS Server URL for the web adaptor to be http://MYDOMAIN:6080, and the site works well with a port 80 redirect.

I then change the GIS Server URL to https://MYDOMAIN:6443 like the document states. restart the server and services. I browse to http://MYDOMAIN/arcgis/rest/services and it still redirects through port 80 but works, which I would of thought it would be disabled at this point, I then browse to https://MYDOMAIN/arcgis/rest/services and it doesn't work.

I dont understand what the path in the document "https://webadaptor.domain.com/arcgis/rest/services" means. I tried using "https://webadaptor/arcgis/rest/services" "https://MYDOMAIN/arcgis/rest/services" "https://arcgis/arcgis/rest/services" (since the name of the web adaptor is the default "arcgis")

Thanks for the help.

Max number of features in an input FeatureSet?

$
0
0
We have a geoprocessing service with the following signature:

Code:

Parameter: Features
Data Type: GPMultiValue:GPFeatureRecordSetLayer
Display Name Features
Description: Input feature set.
Direction: esriGPParameterDirectionInput
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:

Parameter: Output
Data Type: GPDataFile
Display Name Output
Description:
Direction: esriGPParameterDirectionOutput
Default Value:
Parameter Type: esriGPParameterTypeDerived
Category:

This GP service converts all the FeatureSets in the input to one shapefile. The actual Python code for the service is dead-simple:
Code:

import sys, os, arcpy

features = arcpy.GetParameter(0)
output = os.path.join(arcpy.env.scratchWorkspace, "ssexport.shp")   
arcpy.CopyFeatures_management(features, output)   
arcpy.SetParameter(1, output)

We are calling this service with an array of one FeatureSet. That FeatureSet has N features. The service runs properly when N <= 2000, but when the number of features in the FeatureSet exceeds 2000, the GP script fails with "The workspace is not connected."

There seems to be a limit of 2000 on the number of features in an input feature set. Note that this IS NOT the well-known 1000 feature output limit. Our research in the docs and online reveals no mention of such an input limit, and our careful search of the entire ArcGIS Server configuration directory reveals no server setting for this input limit.

Can someone speak to the existence of this limit and suggest a way to change or circumvent it?

Many thanks -

Todd

overwrite feature class without stopping map service?

$
0
0
Does anyone know if its possible to overwrite feature classes without stopping a map service that contains it?

Updating MSD files programmatically with new SDE connection details

$
0
0
Hi,

I am in process of updating ArcSDE server from 9.31 10 10.2. There are lots of MSD files that uses old SDE server connection and need to be updated with correct path and Dataset Names.
I tried using IMSDHelper to update connection string but I am wondering how to update other parameter's for MSD to republish it.

I will highly appreciate any help in this regard.

Thanks,
Sumit

ArcGIS administration from Catalog

$
0
0
Hi!

So I have ArcGIS 10.2.1, authorisation from LDAP (ApacheDS), webtier authentication. Win 2008R2. In ArcCatalog I'm able to connect to
http://localhost:6080/arcgis with default site admin, but that's all. When I want to make changes in services especially when trying to cache, i got unspeciffied error and that's all.
BUT if the service hasn't set security, then caching works like a charm!

I tired to connect to arcgis from webadaptor url but that does not work.

Any ideas will be appreciated.

Thanks!

Coded Value Domain in the REST API

$
0
0
Can you have the map service expose the coded domain values defined for the columns with the code, on the rest api, so we can view the values when we do query, or we can query on the coded domain value instead of the code?

thanks

Web Adaptor with Admin rights

$
0
0
We use ArcGIS for Server 10.2 with Web Adaptor (with Admin rights), so we use 80 port for administrating tasks. Does it make any security hole for us? In all ESRI ArcGIS architecture pictures, Admin uses 6080.

ArcGIS for Server License - Limit number of cores

$
0
0
This is question for ESRI support team, but anyone who had similar issue, please help.

We have ArcGIS for Server Advanced installed on top of Windows 2008 R2 Enterprise operating system.
Server box is 16 core based. We want to use only 8 cores based on corporate needs (no many users) and to save on licensing cost.
We can use Windows System Resource Manager to limit ArcGIS Server service to be able to allocate only 50% of CPU resources which would allow only 8 cores to be consumed.
Would that be compliant with ESRI Licensing agreement? If not what is alternative for such issues?

Thanks,

Chadjo

Should I install ArcGISServer 10.2.1??

$
0
0
Hey there,

It has been a while since I have done an ArcGIS Server install, but I am planning to do one in the near future. My question is... should I install the latest version? Or, is there an earlier more stable-reliable release (plus SPs) out there?

I appreciate your replies!

Josh

"Fat" Legend Swatches

$
0
0
ArcGIS Server 10.2.1 (including the local server equivalent for Runtime .NET) is serving up some pretty fat legend swatches compared to previous versions. Strokes for lines and font markers are too bold, and anti-aliasing is more noticeable. Is there any way to fine tune this behavior?

10.2.2 Server Manager

$
0
0
I installed ArcGIS Server 10.2.2 on Windows 7 Professional x64.

When I display Server Manager in Chrome Version 34.0.1847.116 m (the latest I believe) then it does not display correctly (see attached image).

Server Manager displays fine using IE 11.0.9600.17041.

Here is a similar issue but for an older version:

http://forums.arcgis.com/threads/911...ding-in-Chrome
Attached Thumbnails
Click image for larger version

Name:	ServerManager.png‎
Views:	N/A
Size:	51.5 KB
ID:	33169  

Maximum number of instances per machine

$
0
0
I am going to create caches on some image services. It is said increase number of instances on the CachingTools can improve caching speed. I checked the instance number, it is set as 3. I guess it is the default.

My question is that what is the relation between the instances and the system resources. My server is quad-core (8 threads) CPU, 2processors. Am I right that each instance will consume one thread, and hold it until the caching completes?

Thanks!

Return distinct records based on input Geometry in the rest service query page

$
0
0
Hi there,

I have a few points and the geometry of a polygon, I want to get distinct points based on one field that fall within the polygon, could I accomplish this in the rest service page by doing the query? Cuz somehow I got an error message 'Failed to execute query'.

as along as I set 'return distinct values' as false i would get results. but once its changed to 'true', the query failed.

Thanks,
Dan

ArcGIS For Desktop 10.2 with postgreSQL how to register database???

Failed to register the activation group during recycle

$
0
0
For a number of months now I have been getting Severe error messages that occur when my service recycle themselves at midnight. It happens probably once a week, randomly.

I'm attaching a screenshot showing a flurry of them. I have around 20 services that have instances that get recycled, so it doesn't appear to affect all of them. It also doesn't seem to care if a service is a map service, publishing service, etc. So, I don't think it's a data access thing. An example of the error message is:

Failed to construct instance of service 'Servicename. Failed to register the activation group.

Any and all help would be appreciated, thank you!

This is on a 10.1 ArcGIS Server site with two arcgis server machines (multiple machine setup).
Attached Thumbnails
Click image for larger version

Name:	esri_forum.JPG‎
Views:	N/A
Size:	64.1 KB
ID:	33232  

keep existing cache Example

$
0
0
Hello,
I'm trying to script republishing a map service that already has a cache and am having problems getting it to keep the existing cache. my script is using a combo of arcpy.mapping.CreateMapSDDraft, arcpy.StageService_server and arcpy.UploadServiceDefinition_server.
Does anyone have an example of how to script republishing a service while keeping your existing cache? I've been trying to set properties of the .sddraft file by following
Code:

doc = DOM.parse(sddraft)
    #turn on caching in the configuration properties
    configProps = doc.getElementsByTagName('ConfigurationProperties')[0]
    propArray = configProps.firstChild
    propSets = propArray.childNodes
    for propSet in propSets:
        keyValues = propSet.childNodes
        for keyValue in keyValues:
            if keyValue.tagName == 'Key':
                print "found Key"
                print str(keyValue.firstChild.data)
                if keyValue.firstChild.data == "KeepExistingMapCache":
                    print "found keep existing cache prop"
                    #keep existing caching
                    keyValue.nextSibling.firstChild.data = 'true'
                elif keyValue.firstChild.data == "isCached":
                    print "found is cached prop"
                    #turn on caching
                    keyValue.nextSibling.firstChild.data = 'true'
                elif keyValue.firstChild.data == "antialiasingMode":
                    keyValue.nextSibling.firstChild.data = 'Fast'

Hoping that Im missing something here and thats it's possible to do this. Oh and im using 10.1 sp1
Thanks

Registering a folder

$
0
0
So I have been trying to register a folder in server manager and I follow the instructions and it says that I was successful in registering the folder and when I go to validate it it says it is fine as well. However when I go to publish a service with data in that folder it tells me that data is not registered with server and will be copied to server. So why does it tell me in manager that my folder was registered successfully but then when I publish it tells me it is not registered with the server. I believe that I have made all folders accessible to the server. I am just not sharing the folders right?

I have had success in registering my SDE GDB. and that works fine. it is just the registering of folders that i am having this issue. Any help would be great. Thanks
Erik

Registering Database with arcgis server manager fails

$
0
0
I am trying to register Sql Server Database with arcGIs server manager. When I try to import the .sde file I get the below error :

"The connection property set was missing a required property or the property value was unrecognized. Connection was attempted with an older version of SQL Server client communications software that is not compatible with the SQL Server database server'"

Any help regarding what is going wrong will be helpful.

publish transparent layer as map services

$
0
0
Hi there,

i have a mxd which i set the transparency of one of the layers to be 40%, so i published it as a map service and add it to my web application usingArcGISDynamicMapServiceLayer , however, its not set up as transparent as it should be in my web map. Any ideas?

Thanks,
Dan

where is data stored when copied to Server

$
0
0
So this is going to be a stupid question. But I was wondering where exactly is your data stored or copied to when you publish a layer that is not registered with your server. Is it in your "arcgiserver/arcgisoutput" folder?
Viewing all 1579 articles
Browse latest View live