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

Using an old server

$
0
0
I teach high school geography and GIS and I have found that our district internet connection sometimes slows down the access to AGOL map layers. (When I load from a wifi hotspot on my phone I am able to accomplish the same task faster.) It has been suggested that I try to solve this by building a GIS server within the district. I have access to a used server at my school. A few of us would like to give a shot at creating a GIS server. Here are the specifics about the equipment:

Dell PowerEdge 2950 with support for Server 2012 x64.
Procs are good with dual quad-core Xeon's at 2.66GHz, memory is currently 4GBs of RAM but could be expanded to 6-8GBs.
800GBs of storage in RAID-5

I am completely new to this so I will need to learn quite a bit but seems like a worthwhile project given the rapidly expanding GIS curriculum within our faculty. My question is whether or not this server is worth using. We can get ArcServer for free so that is not an issue but I am not sure if the server can handle it.

Thanks,

Steve

ArcGIS 10.1 Publishing Tools Error

$
0
0
Hi,

I'm trying to publishing a map service from ArcGIS 10.1 Desktop, but i got an error message.

Attachment 33616

I set the directory as public.

Attachment 33617

Any input, suggestion, solution will be appreciated.
Thanks.
Attached Thumbnails
Click image for larger version

Name:	error.jpg‎
Views:	N/A
Size:	15.1 KB
ID:	33616   Click image for larger version

Name:	security.jpg‎
Views:	N/A
Size:	30.0 KB
ID:	33617  

Labels with Dynamic Layers

$
0
0
I've just tried dynamic layers for the first time for the sole purpose of toggling labels. It appears as if the service must be published with labels on to toggle labels ("hasLabels": true). I do not wish any layer to be labeled by default. Is there a way to enable label toggling without the layers being labeled by default?

ArcGIS Server API Identify null value

$
0
0
I noticed something inconsistent with "null" value handling in ArcGIS Server.

While doing "Queries", null values are retrieved as null (see attachment). While doing Identifies, null values are retrieves as string : "Null" (see attachment)

These are examples of "Query" and "Identify" for the same data so you can notice the difference also illustrated in the attachment :

Identify :

http://sampleserver6.arcgisonline.co...rsion=&f=pjson

Query :


http://sampleserver6.arcgisonline.com/arcgis/rest/services/ServiceRequest/MapServer/0/query?where=OBJECTID+%3D+101156&text=&objectIds=&time=&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&outFields=*&returnGeometry=true&maxAllowableOffset=&geometryPrecision=&outSR=&returnIdsOnly=false&returnCountOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&returnDistinctValues=false&f=pjson


Attachment 33643


I couldn't find anything about this on the forum and documentation.
Please, can anyone provide explanations ? Thanks


Also "Identify" return field aliases instead of field names, which is not handy at all.
Attached Thumbnails
Click image for larger version

Name:	Identify.png‎
Views:	N/A
Size:	332.3 KB
ID:	33643  

ArcGIS Server: export PNG file with bing map basemap

$
0
0
Hi All,

I have a problem with exporting PNG file through running a published GP service. I made a simple tool to export a png file from MXD with python. When I run my script on ArcMap Desktop, I can get a png file stored in a specific folder. However, after publishing as a GP service and running it, the png file has no Bingmap basemap with it. Could anyone help on this?
I knew that for ArcGIS Desktop, we can install a patch to active bing map with Bing maps key. But I have no idea to active the Bing maps key for ArcGIS Server. We are using 10.1 version now.
Besides, I realize that our Bing Maps Extension is expired. Is it being used on ArcGIS Server 10.1 still?
import arcpy,datetime
arcpy.env.overWriteOutput = 1

Code:


mxd = arcpy.mapping.MapDocument(r"F:\ArcGISData\bingmap.mxd")

filepath = r"F:\ArcGISData"
                                                   
pngName = "\BINGMAP.png"

outputfile = filepath+pngName
                                                   
arcpy.mapping.ExportToPNG(mxd,outputfile)

Thanks!

-YANG

Visible scale range

$
0
0
Hi

We use Arcgis server to publish services. These services are combined into applications which is used by our organization.

Is it possible to set a visible scale range for a service kind of like the same way as you can set a visible scale range for a layer in the unpublished mxd?

Im thinking of publishing the same map (/service) twice, cache one down to scale 1:2500 and then i want the other one to become active (and the cached one inactive) for scales below 1:2500 and this i want to be dynamic. I dont want to use 'cache on demand'

Does ArcDesktop 10.2.x work with ArcServer 10.0?

$
0
0
Currently, we have ArcDesktop 10.0 and ArcServer (with ArcSDE) 10.0.

Right now, we aren't using SDE/SQL Server to store enterprise data. We are beginning to implement web map applications using Server with Flex and JavaScript.

We also have Spillman law enforcement software, which - for at least year 2014 - is supported only with ArcServer 10.0. By 2015, Spillman will be rewritten and will work with ArcServer 10.1/10.2/10.3.

We want to migrate to ArcGIS 10.2, and are trying to determine the best way to manage our system.

My question at the moment is this: Will ArcDesktop 10.2.x work with ArcServer 10.0, in terms of overall workflow, publishing Map and other services, and web mapping using Flex or JavaScript platforms???

Thank you!

Mike

Strange locking error when using REST api through ArcServer

$
0
0
I keep getting this message:

Code:

"error": {
  "code": 400,
  "message": "Unable to complete operation.",
  "details": [
  "The current version does not support editing (base, consistent, or closed) [An open transaction was detected. All user transactions must be closed prior to StartEditing.]"
  ]
 }
}

when i try to create feature via the REST endpoint on a Feature Service using the addFeatures method.
It appears to be related to some kind of ArcSDE locking.
This is a 10.1 arc server install using Oracle
I can get the edits to work once in a while, and some times for an hour or two on end. but then it breaks again.
i confirm in catalog that there are no locks on the sde connection used in the mxd for the feature service.

I thought edits through the REST api would handle the opening and closing of the edit session.
I never explicitly call "StartEditing" i just craft a string request in C# to send to the rest endpoint.

What is going on here?

Do I need ArcGIS for Server?

$
0
0
I sent this as an email to esri support (waiting to hear back) but I thought I would also ask here to get as much input as possible. Thanks everyone!

------------------------------------------------------------------------

The (hopefully brilliant) idea I have is to host my own JavaScript apps at home. I want to configure an application or two and use them as examples/demos in conjunction with my resume and host everything on a personal webserver.


My thinking is I could purchase an ArcGIS for Home Use license for map creation, publish services to ArcGIS Online, host the JavaScript, browser-based application on my home webserver and configure it to consume services from AGOL.


Is this something that would work or would I actually need ArcGIS for Server? Are there aspects I possibly don't know about/haven't thought of to make this idea work?


Also, can you tell me if it's been sorted out yet that when one pays for ArcGIS for Home Use they actually do receive an AGOL account? I remember reading last year there were some issues with that...


Thank you :)

Dynamic layer labeling looks aweful

$
0
0
I am mostly using ArcGISDynamicMapServiceLayer in my map application.

I noticed that the labeling looks pretty bad - almost unreadable - when the background is imagery ( a very common need for my application). It looks good with the light gray and other vector-gone-cache backgrounds.

Halo makes it look bad too.

Anyone have any tricks to keep the text clear and clean with the imagery in the background? And why is it doing that!

Calculate object ids with database objects in sql server 2008 arcgis 10.1

$
0
0
Hi there

I was making a little experience with arcgis and sql server 2008 spatial types and I have a couple of doubts.
I imported a shapefile with statistical data to sql server 2008.
Using only SQL Server 2008 native procedures I created another table with the results from unions(STUnion) from the original data.
Since these geometries didn´t exist i could not give them an OBJECTID. Is there any away I can calculate their object id´s using any
function from arcgis so they can constitute a valid layer from the arcgis point of view?

Thanks

Feature Class publishing - Projections

$
0
0
We have a client with their data in State Plane Coordinate system.

They would like to publish to ArcGIS Server and use the ESRI base maps (web mercator)

There is one Feature Class layer they would like to edit using an app we will build (simply adding some points)

They have a concern about projecting their data on the fly to Web Mercator and would like to avoid that, but do not want to change the base projection from State Plane.

Does someone know the "Proper" way to handle this?

There is lots of talk about Replicated data - Nightly py processes and syncing routines. But this is sounding way overboard. Seems like we are missing something simple.

Is it not possible to publish in a different projection and still be able to edit our feature classes in the GeoDB and keep everything in sync?

Thanks in advance.

Can we publishing only one data table on ArcGIS Server?

$
0
0
Hi,

When I publish a data table;

Attachment 33772Attachment 33773

"Service" buton is passive and can not publishing a table.

Can ArcGIS Server only share "Feature Class"?
Attached Thumbnails
Click image for larger version

Name:	table.jpg‎
Views:	N/A
Size:	39.3 KB
ID:	33772   Click image for larger version

Name:	table2.jpg‎
Views:	N/A
Size:	54.5 KB
ID:	33773  

iOS fail to login to secured map service

$
0
0
Hello,
We’re having a problem with ArcGIS for iOS to access secured map service on our ArcGIS Server 10.11 today.

We have a couple of map services secured using ArcGIS Built-in secure store. The map services were added to maps on ArcGIS Online and accessed by ArcGIS for iOS on iPad the latest version. Everything worked fine till this arfternoon, first I noticed is when I went to ArcGIS Manager web portal, all the services folder shows empty, although if I looked via ArcCatalog and REST API, all map services were working fine. I restarted the server, the map services then are listed in service folders, and I can disable / enable security. However, when security enable, the map services can be accessed by REST API and ArcGIS Online (web browser) with the correct logins, but not for ArcGIS for iOS, no matter what logins used, including the superuser (ArcGIS Server admin), the app doesn’t login.

I’ve tried some secured map services from another AGS with same configuration (10.11, non-SSL enable), it seems working fine. So there’re something wrong on the particular server rather than the iOS app. I've also tried reboot the server and create a new map service and secured it, doesn't fix the issue. Any suggestons? Thanks

regards,
Jack

10.2.2 Server and Active Directory Security on ONE Service

$
0
0
We have two AGS clustered in an enterprise environment.

Here is what we need to do:

Turn active directory authentication on ONE service. We still need the other services to be able to be open to the public.

Set up:

We have a secure service in arcgis.com with a generic user name and password. We are needing to switch that user name and password to AD authentication. We however don't want to switch our whole server environment to AD.

Any suggestions?

Manage Map Cache Tile: Errors at 10.2.2

$
0
0
We are experiencing brand new caching issues at 10.2.2. I am unable to either DELETE_TILES or RECREATE_ALL_TILES from an existing cache. The error we keep receiving is:

Line 30Output failure, error string = Error moving bundle Failed to cache extent: -9223211.962860 3087885.815688 -9079003.170544 3271103.291998 at scale 577790.55428899999.

The error occures when running RECREATE_ALL_TILES or DELETE_TILES operations of the Manage Map Cache Tiles (run as a tool or script) when run from a dedicated server gp cluster machine. Our clustered setup consists of a network file server storing our config, security and data-stores, as well as all server and system directories. Two servers serve as a mapCluster for map and image services, a single server in a gpCluster for caching and user-defined gp services, and a virtualized web server for the WebAdaptor.

This has occurred as of lastweek whether reading from the GIS SDE database OR from a data-store file gdb. All permissions for directory shares and folder and file security have been accounted for.

When the error occurs, the entire cache becomes corrupt, making any other caching operations in-operable (delete cache, delete tiles, etc). During the recreate, the bundlx file is being removed but the bundle file is not, thus not allowing the tool to overwrite thebundle from the admin-defined D:/arcgistemp folder(s) on the GP server.

Thus far, the only solution has been to kill the service, stop the site, and then remove the entire cache directory, restart the site, recreate both the service and the cache.

Has anyone encountered this?

Thanks-
David

Error processing server request with 10.2.2 when QueryFeatureData is called

$
0
0
Hello Everyone,

We are facing a strange problem after we upgraded to 10.2.2. We use the SOAP API to query map service and it was working fine until 10.2 and once we upgraded to 10.2.2 we started to get General Geodatabase error and Error processing server request. The code we use is below:

QueryFilter queryFilter = new QueryFilter();
queryFilter.WhereClause = "ID NOT NULL";
queryFilter.PostfixClause = " ORDER BY ID DESC";
queryFilter.SubFields = "ID";
recordSet = soapMap.QueryFeatureData(mapName, LayerId, queryFilter);

This code works fine on a map service published on 10.2 and if the same map document is published on 10.2.2 then we get general geodatabase error. The error is thrown when QueryFeatureData is called. Here are the map service logs:

<Msg time='2014-05-09T04:57:38,306' type='FINE' code='100001' target='RTAENOC.MapServer' methodName='MapServer.QueryFeatureData' machine='VMAGS102.RMEDUBAI.COM' process='3508' thread='1996' user='anonymous' >String request received. Request size is 589 characters.</Msg>
<Msg time='2014-05-09T04:57:38,306' type='FINE' code='10022' target='RTAENOC.MapServer' methodName='MapServer.QueryFeatureData' machine='VMAGS102.RMEDUBAI.COM' process='3508' thread='1996' user='anonymous' >QueryFeatureData has started.</Msg>
<Msg time='2014-05-09T04:57:38,307' type='SEVERE' code='10837' target='RTAENOC.MapServer' methodName='MapServer.QueryFeatureData' machine='VMAGS102.RMEDUBAI.COM' process='3508' thread='1996' user='anonymous' >General GeoDatabase Error.</Msg>
<Msg time='2014-05-09T04:57:38,307' type='FINE' code='10023' target='RTAENOC.MapServer' methodName='MapServer.QueryFeatureData' machine='VMAGS102.RMEDUBAI.COM' process='3508' thread='1996' user='anonymous' elapsed='0.00081'>QueryFeatureData has completed.</Msg>
<Msg time='2014-05-09T04:57:38,307' type='SEVERE' code='100005' target='RTAENOC.MapServer' methodName='MapServer.QueryFeatureData' machine='VMAGS102.RMEDUBAI.COM' process='3508' thread='1996' user='anonymous' elapsed='0.00178'>Method failed.HRESULT = 0x80004005 : Unspecified error
.</Msg>
<Msg time='2014-05-09T04:57:38,307' type='DEBUG' code='100000' target='RTAENOC.MapServer' methodName='MapServer.QueryFeatureData' machine='VMAGS102.RMEDUBAI.COM' process='3508' thread='1996' user='anonymous' > ERROR INFO = Error processing server request</Msg>

We even tried upgrading geodatabase to 10.2 and still the same issue. We tried even other postfix clauses like ORDER BY ID ASC or just ORDER BY ID and still the same error.

Any ideas why we are getting this error?

The geodatabase is in Oracle 11.

Thanks
Bala

Services Directory Not Visible 10.2.2

$
0
0
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

Attachment 33840
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG‎
Views:	N/A
Size:	11.5 KB
ID:	33840  

ArcGIS Server and the in_memory workspace

$
0
0
How does ArcGIS Server 10.1 handle the in_memory workspace for geoprocessing services? Does each service get a separate block in memory? Does each job for each service get it's own memory?

A colleague and I are each preparing to publish a geoprocessing service; each service will send results back to a web browser to be handled as Feature Layers by the JavaScript API so we wrote the services to store results in the in_memory workspace. There are places in the code of each service where we delete the in_memory workspace for housekeeping purposes and I'm wondering if the clearing of the in_memory workspace by one service will affect the in_memory workspace of another service, or will deleting the in_memory workspace of a service affect the memory assigned to another instance of the same service?

Is it possible to change connection string of map services from arcgis server manage

$
0
0
Hi,

I have ArcMap installed on my machine and my Database is on a machine which is not accessible from my machine. So I cannot make a connection to that database in ArcMap and create MXD then publish services from there. I have same database on different server which I can connect from my machine. So I am trying to puiblish service with that database and want to change the connection string to the database server which I cannot access from machine.

Is there any way to do this? Change connection string from arcgis manager only.
Viewing all 1579 articles
Browse latest View live