|
POST
|
No error in publish Error: Invalid return value: %scratchworkspace%\outFCPersistent with running. Each run should create its own results (no connection to other results) but I do not like the user to give it a name - it should just returned. Thanks
... View more
11-19-2015
12:45 AM
|
0
|
3
|
1512
|
|
POST
|
Hi all I would like to make a gp tool that return a layer that is a join between a layer and a table Below is a sample of one of my tries in python. The output parameter is define as derived The tool run in desktop and published but give error in server. I do not want the user to give output name so I must define the output as derived. Should I write my output to %scratchworkspace%? Do I have to create a real feature class? What is the right way to do it? Thanks Mody import arcpy tableName = arcpy.GetParameterAsText(0) layerName = arcpy.GetParameterAsText(1) # Local variables: dbPath = r"C:\tmp\Mody.gdb" local_table = os.path.join(dbPath ,tableName) local_layer = os.path.join(dbPath ,layerName) featureClassSelect = "Year = 2004" arcpy.MakeFeatureLayer_management(local_layer,"t1",featureClassSelect) arcpy.AddJoin_management("t1", "ID", local_table, "ID") arcpy.CopyFeatures_management("t1",r"outFCPersistent") arcpy.Delete_management("t1") arcpy.SetParameterAsText(2,r"outFCPersistent")
... View more
11-18-2015
11:21 PM
|
0
|
5
|
4327
|
|
POST
|
Hi all This thread is very interesting for me too since I have similar issues. I have one question and one answer. Question: How do you use Manage Tile Cache to create Tile package (tpk), the tool creates cache not tpk. Do you just zip it and name it tpk? Answer: Creating cache for server using desktop tools works (just like the other people said). The way I use it is to put the cache in the C:\arcgisserver\directories\arcgiscache before I publish with the name I am going to give the map/image service. Then when I mark the using cache radio button before publishing, the server should find the cache and give you the levels in the analyze form, this shows that the cache is connected. Then after publish it is just using it. Thanks Mody
... View more
11-18-2015
09:46 PM
|
1
|
1
|
3484
|
|
POST
|
Is there any reason not to put all of them in one file and make one script out of them?
... View more
11-17-2015
09:44 PM
|
0
|
0
|
1782
|
|
POST
|
I am running a GP service that creates some result layer. I would like to save the result to my local disk or to My Content on AGOL. The results return as in memory workspace. In ArcMap I can just export it. If I use WAB or JavaScript application is there any way to save it or load it to AGOL directly? Thanks
... View more
11-05-2015
02:08 AM
|
0
|
0
|
2561
|
|
POST
|
Hi ESRI lately started to give permanent license for portal (in some cases). We get similar error when we get a line with "none" as expiration time. We get no error on the same portal when we put a license with real expiration time. The console of the explorer say that it does not recognize the string "none" A new bug?
... View more
11-02-2015
12:17 AM
|
1
|
1
|
2012
|
|
POST
|
Hi When you run as GP service you use the a different user (the ArcSOC owner). This user might have a different setting. Have Fun
... View more
10-26-2015
10:53 PM
|
0
|
1
|
710
|
|
POST
|
Hi The black and white shows that you overviews does not exists. If you zoom in you should see the real data. Try to build your overviews. Mody
... View more
10-24-2015
10:37 PM
|
1
|
0
|
1652
|
|
POST
|
My screen looks just like yours (my arcgisserver directory is on C:)
... View more
10-22-2015
12:10 AM
|
0
|
0
|
766
|
|
POST
|
I upgrade my server from 10.2.1 to 10.3.1 and now I cannot run any of my GP services and cannot use new ones too. In the simplest example I created a model with buffer tool with the result defined as an output parameter. I run the tool in ArcMap and publish it to the server. When I run it as GP service (both from ArcMap and WAB) I get error message. After I checked the server log and checked the server directories I found that a scratch gdb was created in C:\arcgisserver\directories\arcgisjobs\buffer_gpserver\<SomeGUID>\scratch This gdb cannot be accessed by ArcMap (get error) and when I use windows explorer I found the result as shape file within the scratch.gdb directory. It looks like it creates a gdb and then use it as a simple directory and create shape file in it. The server is sending this parameter automaticaly and it is wrong. Is there any way around or I have to reinstall my server (and lose all my services). Thanks Mody
... View more
10-21-2015
11:48 PM
|
0
|
2
|
2812
|
|
POST
|
Hi Raj You can start from here: Walkthrough: Building custom UI elements using add-ins (ArcObjects .NET 10 SDK)
... View more
10-21-2015
10:02 PM
|
1
|
0
|
818
|
|
POST
|
Hi When you create a domain it has a split policy that can be set to "geometry ratio". You can create a range domain with values 0 - 99999999 and set it to your miles field just to get the split policy. Have fun
... View more
10-20-2015
10:19 PM
|
0
|
1
|
3494
|
|
POST
|
Hi If you are using windows authontication in your connection files you should check that the ArcGIS Server user (the owner of SOC.exe) is defined as a user in your database.
... View more
10-17-2015
10:02 PM
|
0
|
0
|
4064
|
|
POST
|
Hi I did not tried it but you can start edit in ArcMap and run your script in the python window. Maybe it will work... Have Fun
... View more
10-13-2015
09:51 PM
|
0
|
1
|
2864
|
|
POST
|
Hi You have to remember it is a server that gets many requests. Say the server got 5 requests, two of them fail. If you send request for the second part again, is there any way for the server to know what data to use? From the server point of view each request is separated. The only way is to handle it yourself (not simple), maybe send a time stamp for each request and remember it for the second tool. If the second tool fails on the first time you can call it again with the old time stamp.
... View more
10-12-2015
10:32 PM
|
0
|
0
|
1638
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-06-2026 09:35 PM | |
| 1 | 05-06-2026 09:43 PM | |
| 1 | 11-25-2024 06:09 AM | |
| 1 | 01-21-2026 09:53 PM | |
| 1 | 12-15-2025 10:07 PM |
| Online Status |
Online
|
| Date Last Visited |
an hour ago
|