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

Exposing to fully qualified domain name (FQDN)

$
0
0
Hello;

I'd appreciate some guidance with publishing mapping services. I have a server with ArcGIS Server 10.1, and have installed and configured a web adaptor. However, I have been told that I must "expose to a fully qualified domain name" in order for others to access the services outside our domain. I can't figure out how to do that, and can't find any documentation about it. I've read through the ArcGIS Web Adaptor help, and find that one benefit is to "expose your GIS server through your organization's standard website and port." But then it doesn't explain how to do that.

I found a discussion here - http://forums.arcgis.com/threads/892...ces-Externally, but that didn't answer the question.

Could someone point me toward some instructions about this?

- Jeri

Add Scale to Cached Map Service

$
0
0
I have a Map Service with 7 Cache Scales.

The Map Service is already Started.

I want to add an 8th Scale. How can this be done?

Caching in 10.2.1 Question

$
0
0
I have a series of Map Services in a Flex Viewer 3.6 for which my users need to zoom down to the 1:25 scale and zoom up to 1:25,000 scale.

The basemaps used in the Flex Viewer are 3:

- Aerial Photo (Map Service, .sid Flat File)
- Buildings/Structures with Anno (Map Service, SQL Server Enterprise Geodatabase Feature Class)
- Buildings/Structures without Anno (Map Service, SQL Server Enterprise Geodatabase Feature Class)

If I do not use caching, the Viewer is slow when the user zooms and pans while the aerial photo is on. I know that Caching will allow for a faster response.

Currently, I have cached the Aerial Photo Map Service using 7 scales (from 1:25000 to 1:25). The other two Map Services are not cached as they are just polygons. This setup has been working good for us for the past 18 months or so. No problem.

However, when the users zoom in to 1:25 scale the aerial photo becomes pixelated and of no use; but the user still needs to zoom into this scale to see the details they need for piping etc...


My question is:

- Is there a more effective or different approach I could take?

Intermittent map service / image redraw performance

$
0
0
While this is a long description, want to share all info gathered to date and ask for guidance/feedback...

We have a map service that contains a over a dozen common layers used in multiple sites/viewers (using site reference). This map service is duplicated on an internal (only) AGS instance and external / public instance. The map services (from both instances) are dynamic accessing data in an SDE publication (read-only) GDB. The external instance is behind a reverse proxy, so there is no firewall between AGS & SDE servers. We've deployed multiple viewers that use this base service and add other map services / layers on top of it.

The problem occurs on the external instance only and occurs intermittently (usually days apart) where the response time to redraw the base layer image takes an inordinate amount of time (several minutes, sometimes times out).

Symptoms:
- We have isolated the "offending" layer to be our parcels layer which is actually a spatial view to merge table (same SDE GDB) based ownership attributes with the geometry FC. When this layer is deselected, base image returns to normal response time. (Again, this is intermittent & used in the internal instance without issue. So don't believe there's a fundamental issue with this method.)
- The other map services within the viewer will redraw within normal timeframes (while the underlying base image doesn't redraw timely) & affects multiple viewers using the base service.
- AGS Logs indicate a couple types of messages - "Internal Server Error. Wait time of the request to the service 'Public/AdamsCountyBasic.MapServer' has expired." and "Internal Server Error. Error handling service request : Processing request took longer than the usage timeout for service 'Public/AdamsCountyBasic.MapServer'."
- Fiddler does not report errors.
- Restarting the map services does not resolve the problem.
- Restarting AGS Services only provides temporary improvement is response time, then reverts to slow response for the base service image redraw(s).
- We've not been able to determine when and why performance returns to normal (found hours later).
- When the problem is occurring, we notice that the 'Instances in Use' does not
- Increasing or decreasing the AGS Instances/Max Instances config doesn't appear to have an affect.

Common config:
- Both instances are VMs.

Differences:
- The internal instance is AGS V10.0, external is V10.1.
- The internal instance is Windows 32-bit (awaiting upgrade), external is Windows 64-bit.

Note: We're aware of ESRI recommendations for cached map services, map optimization (which we done some), etc. But when the application isn't exhibiting this problem, the response time with our dynamic services is completely acceptable with both the internal and external instances. The fact that it usually performs quite well suggests there isn't an inherent problem with this approach.

So does anyone have suggestions as to next steps for troubleshooting this problem while its occurring?

Many thanks in advance!!!

Cannot Access Map Services - Silverlight

$
0
0
My problem is quite common - I have a Silverlight application on a web server, attempting to access map services on our GIS server.

I have IIS running on the GIS server, tested the app there, no problems of course. I developed the application my PC... when I debug as "localhost:53843", it also has no problem loading the data from GIS server.

When I added the application on the web server, identical to the GIS server (IIS 7, with correct MIME types), it cannot load the services (GUI loads nicely). Now, we do have the clientaccesspolicy.xml and crossdomain.xml setup. We know they work because we already have a Silverlight GIS application accessing services the same way that my new application wants to. But for some reason my application cannot connect through.

I believe the problem is with how I reference the services in xaml, or potentially that my application is not requesting clientaccesspolicy.xaml - it doesn't show up when I look in Fiddler. Is there some configuration I must do to have my custom application check for clientaccesspolicy.xaml?

Here is an example from xaml:
<esri:ArcGISTiledMapServiceLayer x:Name="<omitted>" ID="<omitted>" Visible="True"
Url="http://<gis server name>/arcgis/rest/services/Map_Services/AjaxOnTheMap_Basemap/MapServer">
</esri:ArcGISTiledMapServiceLayer>

Any help is greatly appreciated.
Rob

ArcGIS Server Logs stop working

$
0
0
We have been using ArcGIS Server Logs REST queries to parse logs from previous day. Queries works great for about 50 days in a row, but then is suddenly stops working and each query returns exactly the same result after exactly 10 minutes of execution. The result is: {"hasMore":false,"startTime":0,"endTime":0,"logMessages":[]}
If it's a sever issue, then I would expect REST error or timeout, but not an empty result. Server restart does not help and we can't even browse logs in the manager console (the loading query never ends). However we can see logs for last hour.
How can we restore log queries?

Geoprocessing services fail after 10.2.1 update, UNC path at fault

$
0
0
Hi, I have multiple geoprocessing tools that worked in 10.1 perfectly. I upgraded to 10.2.1 last week and they have broken. (Image/map services work fine.) Also, I skipped 10.2 and upgraded from 10.1 to 10.2.1 on this windows server 2008r2 machine. I traced down the cause of the fails to a spatial join with a feature class referenced by a UNC path (\\ip_adress\folder\data)

Technically, the service doesn't fail, the final output just doesn't include a column it was supposed to have after the join. When the tool first failed, I re-ran it on in ArcGIS for Desktop and re-published it to Server. The tool works perfectly in Desktop and publishes without any errors to Server. Nor are any errors given in any log.

All data locations and oracle connections are properly entered and verified in the data source section of Server. I've ran it on the server itself (in Desktop) and published from the server itself without any luck UNTIL I changed the data path from UNC to a C: location.

So I am in the position of editing and republishing each tool after dropping the UNC path. Has anyone got a work-around for this to avoid several hours of work?

Edit Application - sometimes edits don't save

$
0
0
I wasn't sure if I should post this in the ArcGIS Server or Flexviewer forum, so I chose to start here:
ArcGIS Server 10.1
Flexviewer source code version 3.6 utilizing "out of the box" edit widget
SDE 9.3 - two feature classes with approximately 100,000 features to edit (minor attribute edits, maybe 4 - 5 columns)

We have a couple of versioned (move to base enabled) feature classes that our users are editing on an internal flexviewer application. At first, everything worked perfectly. Then the problems started - users were complaining that the feature classes were getting updated on screen, but when they checked them the next day, they had reverted back to pre-edit. My colleagues and I researched it and found some erratic behavior. We weren't able to R&P at first, so when I finally did I found over a million records in the state lineages table. It took a couple of hours to clean up with the compress and now we R&P and compress every night. I thought this would fix the problems, but users are still complaining.

Could the 9.3 SDE be the problem? Maybe domains are an issue? Too many features? Any suggestions or ideas for the ideal web editing environment would be greatly appreciated.

thanks,
-Adam

Can SQL Server (non-SDE) tables be published to ArcGIS Server?

$
0
0
All,

What is the best way to publish native spatial and non-spatial tables from SQL server to ArcGIS Server (any version)?

I'm really trying to figure out what part of the Spatial Data Server is now in v10.2, and if we can indeed still publish data from our spatial database ie. SQL Server native spatial tables to ArcGIS server for use in a javascript API application.

Are feature services the method we woul duse to publish this data?

Is a map document still the conduit to publishing this data? (was it with the the SDS?)

Thanks!

-m

ArcGIS Server Monitor

$
0
0
We have yet to implement a solution for monitoring Server Apps, Services, Data, etc and I’m looking for some input as to possible options that you’ve come across or use. I’ve attached a crude diagram of some of what we’re optimally looking for in a solution. There are a number of programs out there that do parts of these but I haven’t found anything that will manage everything – not sure if it exists.

Needs
The ability to manage and query relationships between Servers, Data, Services, and Applications
• Notifying proper authorities with changes. If I'm updating a database schema I want to know who I need to contact with related services and applications. Likewise with Service changes I need to know contact information for the apps that are using that service as well as the contact people for the data being used by the service. Or if I'm upgrading ArcGIS server to a new version I need to notify the owners of all apps, services, and data
• Monitor and Summarize Server Loads
• Monitor and Summarize Service/App usage
• The app should be as automated as possible so minimal hand entering of information is required
• Flexible enough to accommodate UofM MapServer apps/mapfiles as well as ArcGIS Server. We run both in our shop.

Thanks!

Chris
Attached Files

Weird Symbols when using Print

$
0
0
I am using ArcGIS Server 10.2.1 with Internet Explorer Browser and the latest version of Adobe Acrobat Reader.

I created a custom Print Geoprocessing Service set to export map to PDF as the default. It works fine.

But, when I view the results after creating a PDF from Flex Viewer 3.6 the Map Point Symbols in the Legend look very strange. Nothing like they show on the map. The Map Line Symbol shows up good in the legend. It is just the Point Symbols that do not look right.

Any ideas why this is happening?
Attached Thumbnails
Click image for larger version

Name:	Weird Legend Symbols.png‎
Views:	N/A
Size:	9.5 KB
ID:	31804  

Publishing Puzzle - Layer's data source is not registered with the server

$
0
0
I'm am completely stuck trying to publish an mxd created from an Oracle data store that my ArcGIS Server has complete access to.

What am I missing here. These two scenario's seem mutually exclusive to me.

Steps
  • Double click MXD
  • Cancel on DB login
  • Verify data connections are broken
  • Select a feature | right click | Data | Repair data source.
  • Select myconnection@gisprod.sde.[layer selected]
  • Verify all other feature's data connections are repaired.
  • File | Share as | Service | Analyze
  • All Layers show "Layer's data source is not registered with the server and data will be copied"
  • Right click on one layer
  • Register Data Source with Server
  • Name it GISPRODTEST | OK => "The database is already registered as ArcGIS Server's Managed Database"
  • Right click on one layer
  • Show Data store registration page
  • Select Validate all => GISPROD is validated (the only entry)
  • Select GISPROD | OK | ReAnalyze => same warnings - Data will be copied
  • Right click on one layer
  • Show data store registration page
  • Register new database
  • Name it GISPRODTEST | Import | Select myconnection@gisprod.sde => Database already registered.

I can't remove GISPROD as the Live services are using it.

Thanks in advance.

Beginner at SQL

$
0
0
I have been using ArcGIS for 12 years and now find myself in the GIS Administrator role. I have almost no background in SQL.
SQL Server 2012 R2 has been installed on a server for me and I am about to install ArcGIS Server 10.2. My question is what is a
good resource for learning how to build and optimize Databases in SQL Server to use with ArcServer. I have just spent hours pouring
over Youtube videos, ESRI videos. There is just so much out there I don't know where to start. So is there a good GIS or SQL or Site with the steps to set up a SQL database that I can load the Local Gov Data model schema into?
Thanks in advance for any advice.

Add Extension - No response

$
0
0
ArcGIS Server: 10.1
Description: Logged on as ArcGIS Server admin and then tried to add (SOE) extensions in ArcGIS Server Manager in the production server's.
Problem: After clicking the 'Add Extension' button and then loading the soe file from C:\...\, Clicked the 'Add' button. Then I got IE warning message (see the image) Attachment 31836. The message shows the blocked site is about:blank, but actually it is http://localhost that is in the list of my IE's Trusted site zones.
Question: What security setting should be done to eliminate the blocking?
Thanks if you can help.
Attached Thumbnails
Click image for larger version

Name:	1.jpg‎
Views:	N/A
Size:	58.3 KB
ID:	31836  

caching performance

$
0
0
I recently recached my basemaps and now I have having a lot of issues with poor performance. I'm using the Flex Viewer and the areas that were within the AOI seem to load more slowly that previously. Really the main thing I changed was to move my data from a file geodatabase to SDE and my AOI was a smaller area but the cache settings were unchanged. I would note that the previous cache was done in 10.1 and the new one was done in 10.2 if that makes any difference.

AGS SOE compatablity between 10.1 and 10.2

$
0
0
Do the Server object Extensions developed against ArcGIS Server 10.1 work with 10.2 ?

What is database connected to my geodataserver

$
0
0
With the version 10.2.1 I can not find what is the BD connected to my Geodataserver.

In previous versions I was able to find the .sde file connected to the service and view the connection property, but now I do not know how.

Thanx

Can we publish a map with query layers to AGS as a feature service?

$
0
0
For my web app i'd like to render vector data on my client via Feature Services. We don't require FS editing.

Can our feature service have query layers, where the query layers join a feature class to multiple non-spatial tables?

Just wondering if anyone has managed to get this to work.

Thanks

AGS 10.1, Export Web Map error "Token-based authentication failure" on Image service

$
0
0
Hi all,
on my AGS 10.1 I have defined the following type of services:
- "Map service" for publish vectorial data
- "Image service" for publish raster data
- "Export Web Map" for generate printable stuff

the environment:
- Window Server 2008 R2 Enterprise
- ArcGIS SERVER 10.1 SP1 + sp1 quality improvement patch


With aforementioned configuration, without security, i have submitted job to "Export Web Map" (by means http://<ags server>:6080/arcgis/rest/services/<my export web map service>/GPServer/Export Web Map/submitJob) obtaining printable pdf of current map that includes vectorial (Map service) and raster (Image service) layer.

Then i've activated the security, with same roles and user for both "Map service" and "Image Service".
Note that also the "Export Web Map" has been secured with same roles and user.

For access to "Map service" and "Image Service" I've generate a short-term token by means:
http://<ags server>:6080/arcgis/tokens?request=gettoken&encrypted=false&username=<user>&password=<password>

Then i've resubmitted the same previous job (again by means http://<ags server>:6080/arcgis/rest/services/<my export web map service>/GPServer/Export Web Map/submitJob) using the short-term token previously generated.

If i put into parameter "Web Map as JSON" only "Map service" layers, of course with token, i gets the printable pdf.
Putting into parameter "Web Map as JSON" both "Map service" and "Image Service", specifying


Then i've resubmitted the same previous job (again by means http://<ags server>:6080/arcgis/rest/services/<my export web map service>/GPServer/Export Web Map/submitJob) using the short-term token previously generated.

If i put into parameter "Web Map as JSON" only "Map service" layers, of course with token, i gets the printable pdf.
Putting into parameter "Web Map as JSON" both "Map service" and "Image Service", specifying always the token, i gets the printable pdf without the "Image Service", and into log of AGS i can read "<name of Image Service>:Token-based authentication failure".
Disabling the security on "Image Service" and re-run the job "Export Web Map", putting the token only for vectorial data, i gets pdf this time with raster and vectorial togheter.

Does anyone have any idea for this behavior?

Thanks.

Francesco

Can 10.2 answer Oracle where clause?

$
0
0
Hi, I am having trouble implementing some functionality we have on our 9.3 and 10.0 servers with version 10.2 (all internal servers so cannot share URLs)

I need to run a query against a feature class stored in Oracle (ArcSDE 9.3) with where clause that reads something like this (is generated from a mouse-click):

Code:

sdo_nn(shape, mdsys.sdo_geometry(2001, 81989, mdsys.sdo_point_type(385878.8,247670.9,null),null,null), 'sdo_num_res=1', 1) = 'TRUE'
AND
sdo_within_distance(shape , mdsys.sdo_geometry(2001, 81989, mdsys.sdo_point_type(385878.8,247670.9, null), null, null),'distance=250 UNIT=M') = 'TRUE'

We use this to get features that are within certain distance from a user defined (clicked) point in our JavaScript app, it has been much faster than using Esri spatial filters.

If I use this where clause in the HTML interface of query tasks in services directories, it works for the services published from ArcGIS Server 9.3 and 10.0, but for the service at 10.2 i get:
code: 400, message: "Unable to complete operation."

I would appreciate any help.
Filip.
Viewing all 1579 articles
Browse latest View live