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

Cache tiles all jumbled up!

$
0
0
Hi,

I'm having problems when I enable caching on my services. When I go and view the service using the JavaScript viewer all the tiles are jumbled up (see screenshot). Any one know what the problem is?

Attachment 22284
Attached Thumbnails
Click image for larger version

Name:	cache-problems.jpg‎
Views:	N/A
Size:	155.0 KB
ID:	22284  

Does ArcGIS Server security slow end-user performance?

$
0
0
Server Setup:
-Windows Server 2008, R2
-IIS 7.5
-ArcGIS for Server 10.1, SP1
-GIS Server Authentication Tier
-Windows Authentication | Active Directory
-ArcGIS Explorer for Desktop (AGX) 1750 and 2500

I have added one map service from our secure ArcGIS for Server into AGX and saved it as a new NMF file. The map service contains 50 data layers from one source - our SDE SQL geodatabase.

With security turned on, it takes five minutes to open the NMF map file using both AGX 1750 and 2500.

If I set the security to "Public, available to everyone" at the map service folder level on ArcGIS for Server, it takes 45 Seconds to open the same NMF file.

Using a secure map service that contains only eight data layers, AGX 1750/2500 maps open in thirty seconds.

It appears that secure map services with many data layers takes forever to open in ArcGIS Explorer Desktop. I am unable to test the performance of secure map services in ArcGIS Online for Organizations, since AGO currently has a bug that does not allow the loading/saving/sharing of secure services.

Is anyone else experiencing this behavior?

database will not register by folder

$
0
0
Hi all,

I'm trying to publish some maps to the server 10.1. When they are "analyzed" they show that the data is not registered with the server. I then go to the folder and register the data. It says the data is registered, however, when it's "re-analyzed" it gives the same error. If I go to each sub folder in the catalog tree and register them, then it's ok. In the documentation it says when you register a folder, all sub folders are registered too. This doesn't seem to be working. Any ideas?

On a similar note:
Also, when I try to register any folders in the data stores which are accessed via a share I keep getting "Invalid folder location. Unable to access this location". I have access to all the data, and all my map documents open properly with all the data.

Help, thanx Eddie

Cannot edit Feature Service using SQL 2012 RDBMS in ArcGIS Desktop

$
0
0
I don't want to sound alarmist, but this has the potential to be a very big problem, and so far things are adding up.

A while back a support tech logged the following bug: #NIM087819 Feature service shows no editable layer error when the feature class was from workgroup sde (sqlexpress) with OS authentication . Looking back on it, that was a 2012 instance (Express).

So now getting SQL Server 2012 Standard up and running (Enterprise) I spent some time with both the SDE/Geodata team and Server Implementation. When editing a feature service with a SQL 2012 RDBMS in you in ArcGIS Desktop receive an error 'no editable workspace'. However, when editing via arcgis online, the feature service edits as expected. All permission/privileges have been verified as correct.

This got one of the techs thinking about this bug: NIM085096 Uploading mobile edits to an SQL 2012 database fails with Mobile 3.0, 3.1, and 10.1.1

The correlation here being that both ArcGIS Desktop and Mobile access the data via SOAP, while the ArcGIS online was using the REST endpoint. I'm starting to think that 2 Bugs are indeed related. If there is indeed a bug preventing SOAP based edits and feature services are not going to work for Desktop...then this is a big issue.

Searching the web this morning I attempted to gain a little more insight into SOAP and SQL 2012. This subject is generally out of my league, but what i found was very unsettling:
http://vikasrajput.wordpress.com/201...http-endpoint/
http://social.msdn.microsoft.com/For...-f4d55dea8b67/
http://msdn.microsoft.com/en-us/library/cc645577.aspx

Again, I'm quite ignorant to the means by which server/sde handles the editing transactions so I can only hope the above isn't implying what I think its implying (no fix). Even then, not being able to edit a feature service is a big deal.


I expect to hear a follow-up on this soon, and will post any additional info I recieve.

Workspace or data source is ready only

$
0
0
We have received the attached and similar errors recently. Sometimes we can remedy this by restarting the computer and ensuring windows indexing is disabled for the C:\Users directory (although this setting does not seem to hold). This time, the "fix" isn't working.

We have an Amazon EC2 with ArcGIS Server 10.1 hosting an enterprise GDB. There is a feature service published from which authorized users connect to over https://, add to an ArcMap project, and create a local copy for editing.

The user that sent me this screen shot is following the workflow, but cannot successfully create a local copy for editing while others in the same and other office locations can.

Any ideas?
Attached Thumbnails
Click image for larger version

Name:	JoeW_WkspReadOnly.jpg‎
Views:	N/A
Size:	39.7 KB
ID:	22314  

ArcGIS Server 10.1 & SDE Architecture

$
0
0
We are preparing for a 10.1 upgrade.

Right now, we have SDE running standalone on 4 different Linux boxes, for example:

devbox1 – points to SDE schema on our Oracle 11g DEV tier
intbox1 - points to SDE schema on our Oracle 11g INT tier
qabox1 - points to SDE schema on our Oracle 11g QA tier
prodbox1 - points to SDE schema on our Oracle 11g PROD tier

We use Oracle Spatial (SDO_GEOMETRY col) tables and register them with SDE.

We have 2 ArcGIS Servers – DEV & PROD

SDE now comes with ArcGIS Server, however, we have a need to maintain these different tiers. If we only have 1 ArcGIS Server DEV box (with embedded SDE), how would we handle registering of the tables on each of the remaining Pre-Prod tiers (int & qa)?

Right now, I run this command 4 times (only changing the server name), once the table is ready and populated in Oracle.

Code:

sdelayer -o register -l SCHEMA1.TABLE1,GEOM -e na+ -C MAP_ID,USER -u useridx -p pwdx -s devbox1 -i port:5151 -t SDO_GEOMETRY -k SCHEMA1 -R 8
sdelayer -o register -l SCHEMA1.TABLE1,GEOM -e na+ -C MAP_ID,USER -u useridx -p pwdx -s intbox1 -i port:5151 -t SDO_GEOMETRY -k SCHEMA1 -R 8
sdelayer -o register -l SCHEMA1.TABLE1,GEOM -e na+ -C MAP_ID,USER -u useridx -p pwdx -s qabox1 -i port:5151 -t SDO_GEOMETRY -k SCHEMA1 -R 8
sdelayer -o register -l SCHEMA1.TABLE1,GEOM -e na+ -C MAP_ID,USER -u useridx -p pwdx -s prodbox1 -i port:5151 -t SDO_GEOMETRY -k SCHEMA1 -R 8

Token Authentication Help

$
0
0
I am trying to secure a feature service by using Tokens with my Javascript API application. The documentation seems a little lax with the new token setup for 10.1 and I am having problems with connecting to my REST services.

For example in admin to generate the token, it asks for the HTTP referer:.. does it have to be the exact page, the Domain, can it be just the domain or Domain and folder, hoes it HAVE to be HTTPS or can HTTP work? In teh admin you can enter any # of Days but the drop down to create the token only has 1 year max.

Access to test the token without pulling my hair trying to figure it out. You use to be able to include the token in the URL

http://resources.esri.com/help/9.3/a...s_security.htm

for (non working example from the help) : http://premium.arcgisonline.com/Serv...IjEVqYGm3uuQnU

However I can't get this to access using my REST URL and the Token. To test, when I generate the Token, In the HTTP referer: I am using the URL of my ArcGIS server, 1 year and HTML format. but I try going to the URL in a browser. IT automatically redirects to the REST login page.

Can anyone shed some light?

Thanks
Jason

ArcGIS for Server KMZ Network Link and Mobile

$
0
0
Hi,

If I expose a KMZ REST service network link through ArcGIS for Server. Is there any documentation whether Google Earth running on the mobile devices supports that? Will it include the layer inside it automatically as soon as I open the link? What are the supported devices and OS versions?

Thanks,
Jose

Problem moving config-store

$
0
0
Hi all,

Server 10.1 sp1, win2008r2, vmware, site has 3 servers in 2 clusters.

I am trying to move our config-store from one network share to another using Server Manager. It tells me it is 'Copying site configurations to the new configuration store'.

Then, after a while, I get an error saying 'Another administrative operation is currently accessing the store. Please try again later.' Error code in the log is 6540 - Failed to update the config store... mmhm... helpful...

I have tried again later quite a few times... with services started and stopped - always the same error.

Most of the config-store files/folders do seem to get copied ok but can't be 100% sure of that.

Anyone else had this happening? Any ideas how to fix? What am I missing?

Thanks,
Arth.

Geoprocessing Service that sends data to another server

$
0
0
Hi All,

I need to take input from my Flex Viewer application and pass values from user selections and map attributes to a server that is not running ArcGIS Server. These values would be certain user selected options and the foreign key (e.g. MapIDs) for the shapefile. This second server (not running ArcGIS Server) would then do some sophisticated stats on the user options and data residing in a database on that server, and then return the foreign key and new values that will be rendered on the screen as colors.

I can control the non-ArcGIS Server but am severely limited in what I can do on the ArcGIS Server (it is not under my control).

Talking things over with our dev team we thought about running a Geoprocessing Service on the ArcGIS Server that is in essence just a proxy - it would receive the user selected options and then just pass these our non-ArcGIS server.

Does this sound feasible ? If so I am a little fuzzy on exactly how we would be doing this. Any suggestions ?

Thanks !

Cache tiles all jumbled up!

$
0
0
Hi,

I'm having problems when I enable caching on my services. When I go and view the service using the JavaScript viewer all the tiles are jumbled up (see screenshot). Any one know what the problem is?

Attachment 22284
Attached Thumbnails
Click image for larger version

Name:	cache-problems.jpg‎
Views:	N/A
Size:	155.0 KB
ID:	22284  

Does ArcGIS Server security slow end-user performance?

$
0
0
Server Setup:
-Windows Server 2008, R2
-IIS 7.5
-ArcGIS for Server 10.1, SP1
-GIS Server Authentication Tier
-Windows Authentication | Active Directory
-ArcGIS Explorer for Desktop (AGX) 1750 and 2500

I have added one map service from our secure ArcGIS for Server into AGX and saved it as a new NMF file. The map service contains 50 data layers from one source - our SDE SQL geodatabase.

With security turned on, it takes five minutes to open the NMF map file using both AGX 1750 and 2500.

If I set the security to "Public, available to everyone" at the map service folder level on ArcGIS for Server, it takes 45 Seconds to open the same NMF file.

Using a secure map service that contains only eight data layers, AGX 1750/2500 maps open in thirty seconds.

It appears that secure map services with many data layers takes forever to open in ArcGIS Explorer Desktop. I am unable to test the performance of secure map services in ArcGIS Online for Organizations, since AGO currently has a bug that does not allow the loading/saving/sharing of secure services.

Is anyone else experiencing this behavior?

database will not register by folder

$
0
0
Hi all,

I'm trying to publish some maps to the server 10.1. When they are "analyzed" they show that the data is not registered with the server. I then go to the folder and register the data. It says the data is registered, however, when it's "re-analyzed" it gives the same error. If I go to each sub folder in the catalog tree and register them, then it's ok. In the documentation it says when you register a folder, all sub folders are registered too. This doesn't seem to be working. Any ideas?

On a similar note:
Also, when I try to register any folders in the data stores which are accessed via a share I keep getting "Invalid folder location. Unable to access this location". I have access to all the data, and all my map documents open properly with all the data.

Help, thanx Eddie

Cannot edit Feature Service using SQL 2012 RDBMS in ArcGIS Desktop

$
0
0
I don't want to sound alarmist, but this has the potential to be a very big problem, and so far things are adding up.

A while back a support tech logged the following bug: #NIM087819 Feature service shows no editable layer error when the feature class was from workgroup sde (sqlexpress) with OS authentication . Looking back on it, that was a 2012 instance (Express).

So now getting SQL Server 2012 Standard up and running (Enterprise) I spent some time with both the SDE/Geodata team and Server Implementation. When editing a feature service with a SQL 2012 RDBMS in you in ArcGIS Desktop receive an error 'no editable workspace'. However, when editing via arcgis online, the feature service edits as expected. All permission/privileges have been verified as correct.

This got one of the techs thinking about this bug: NIM085096 Uploading mobile edits to an SQL 2012 database fails with Mobile 3.0, 3.1, and 10.1.1

The correlation here being that both ArcGIS Desktop and Mobile access the data via SOAP, while the ArcGIS online was using the REST endpoint. I'm starting to think that 2 Bugs are indeed related. If there is indeed a bug preventing SOAP based edits and feature services are not going to work for Desktop...then this is a big issue.

Searching the web this morning I attempted to gain a little more insight into SOAP and SQL 2012. This subject is generally out of my league, but what i found was very unsettling:
http://vikasrajput.wordpress.com/201...http-endpoint/
http://social.msdn.microsoft.com/For...-f4d55dea8b67/
http://msdn.microsoft.com/en-us/library/cc645577.aspx

Again, I'm quite ignorant to the means by which server/sde handles the editing transactions so I can only hope the above isn't implying what I think its implying (no fix). Even then, not being able to edit a feature service is a big deal.


I expect to hear a follow-up on this soon, and will post any additional info I recieve.

Workspace or data source is ready only

$
0
0
We have received the attached and similar errors recently. Sometimes we can remedy this by restarting the computer and ensuring windows indexing is disabled for the C:\Users directory (although this setting does not seem to hold). This time, the "fix" isn't working.

We have an Amazon EC2 with ArcGIS Server 10.1 hosting an enterprise GDB. There is a feature service published from which authorized users connect to over https://, add to an ArcMap project, and create a local copy for editing.

The user that sent me this screen shot is following the workflow, but cannot successfully create a local copy for editing while others in the same and other office locations can.

Any ideas?
Attached Thumbnails
Click image for larger version

Name:	JoeW_WkspReadOnly.jpg‎
Views:	N/A
Size:	39.7 KB
ID:	22314  

ArcGIS Server 10.1 & SDE Architecture

$
0
0
We are preparing for a 10.1 upgrade.

Right now, we have SDE running standalone on 4 different Linux boxes, for example:

devbox1 – points to SDE schema on our Oracle 11g DEV tier
intbox1 - points to SDE schema on our Oracle 11g INT tier
qabox1 - points to SDE schema on our Oracle 11g QA tier
prodbox1 - points to SDE schema on our Oracle 11g PROD tier

We use Oracle Spatial (SDO_GEOMETRY col) tables and register them with SDE.

We have 2 ArcGIS Servers – DEV & PROD

SDE now comes with ArcGIS Server, however, we have a need to maintain these different tiers. If we only have 1 ArcGIS Server DEV box (with embedded SDE), how would we handle registering of the tables on each of the remaining Pre-Prod tiers (int & qa)?

Right now, I run this command 4 times (only changing the server name), once the table is ready and populated in Oracle.

Code:

sdelayer -o register -l SCHEMA1.TABLE1,GEOM -e na+ -C MAP_ID,USER -u useridx -p pwdx -s devbox1 -i port:5151 -t SDO_GEOMETRY -k SCHEMA1 -R 8
sdelayer -o register -l SCHEMA1.TABLE1,GEOM -e na+ -C MAP_ID,USER -u useridx -p pwdx -s intbox1 -i port:5151 -t SDO_GEOMETRY -k SCHEMA1 -R 8
sdelayer -o register -l SCHEMA1.TABLE1,GEOM -e na+ -C MAP_ID,USER -u useridx -p pwdx -s qabox1 -i port:5151 -t SDO_GEOMETRY -k SCHEMA1 -R 8
sdelayer -o register -l SCHEMA1.TABLE1,GEOM -e na+ -C MAP_ID,USER -u useridx -p pwdx -s prodbox1 -i port:5151 -t SDO_GEOMETRY -k SCHEMA1 -R 8

Token Authentication Help

$
0
0
I am trying to secure a feature service by using Tokens with my Javascript API application. The documentation seems a little lax with the new token setup for 10.1 and I am having problems with connecting to my REST services.

For example in admin to generate the token, it asks for the HTTP referer:.. does it have to be the exact page, the Domain, can it be just the domain or Domain and folder, hoes it HAVE to be HTTPS or can HTTP work? In teh admin you can enter any # of Days but the drop down to create the token only has 1 year max.

Access to test the token without pulling my hair trying to figure it out. You use to be able to include the token in the URL

http://resources.esri.com/help/9.3/a...s_security.htm

for (non working example from the help) : http://premium.arcgisonline.com/Serv...IjEVqYGm3uuQnU

However I can't get this to access using my REST URL and the Token. To test, when I generate the Token, In the HTTP referer: I am using the URL of my ArcGIS server, 1 year and HTML format. but I try going to the URL in a browser. IT automatically redirects to the REST login page.

Can anyone shed some light?

Thanks
Jason

ArcGIS for Server KMZ Network Link and Mobile

$
0
0
Hi,

If I expose a KMZ REST service network link through ArcGIS for Server. Is there any documentation whether Google Earth running on the mobile devices supports that? Will it include the layer inside it automatically as soon as I open the link? What are the supported devices and OS versions?

Thanks,
Jose

Export tiled service error 500

$
0
0
Hi!

I'm trying export image of tiled service like this:
.../MapServer/export?f=image&format=png24&transparent=true&bbox=4304928.38,5658829.73,4308727.81,5660872.31&mapScale=25000&size=358,216
Server reports: Error: bytes Code: 500.
Service log has error: code:103800, methodName: DrawCache.DrawImageLayer_Data, There is the error during the draw (1.) Unrecognized error.

Can anybody help?

ServerLogger - Multi-threading

$
0
0
I have a Server Object Extension which uses threads from the thread pool. Threads from the thread pool are, by definition, COM MTA. When I try to log messages from an MTA thread then I find that I get various exceptions related to the RCW. I know that ArcObjects are COM STA and that they do not deal well with MTA threads.

Just wondering if anyone has an suggestions, other than not using the thread pool, here? What I've done is to wrap the ServerLogger in a class which simply does not log messages unless the request comes from thread that created the class, i.e. the main thread. This stop the crashes but also causes me to lose valuable messages.

What I really wish is that the ServerLogger was able to support MTA threads. I am not asking for all ArcObjects (that is not going to happen) but rather just the logging system.
Viewing all 1579 articles
Browse latest View live