POST
|
It turns out that the API must be hosted locally. Thanks
... View more
02-19-2012
06:56 PM
|
0
|
0
|
130
|
POST
|
Hi, I want to access a map service in a protected IIS webserver. The protection is using Basic Authentication so that each user that want to access the web server has to supply username and password. I already supplied the correct username and password but i keep getting the errors. And I use the code from "http://serverapps.esri.com/javascript_examples/StateHighlight.html" (i changed the necessary parts such as the map service accessed) I try "http://publicIP/ArcGIS/rest/services/GIS_M/MapServer/13?f=json&pretty=true" and it returns the result. Here is the result (errors) from the web developer tool (Mozilla) : [14:36:45.992] GET http://publicIP/ArcGIS/rest/services/GIS_M/MapServer/13/query?f=json&where=1%3D1&returnGeometry=true&spatialRel=esriSpatialRelIntersects&outFields=country%2Cprovince&callback=dojo.io.script.jsonp_dojoIoScript2._jsonpCallback [HTTP/1.1 401 Unauthorized 229ms] [14:36:48.652] GET http://publicIP/ArcGIS/rest/services/GIS_M/MapServer/13/query?f=json&where=1%3D1&returnGeometry=true&spatialRel=esriSpatialRelIntersects&outFields=country%2Cprovince&callback=dojo.io.script.jsonp_dojoIoScript2._jsonpCallback [undefined 20003ms] Any ideas ? Thanks
... View more
02-14-2012
09:54 PM
|
0
|
1
|
1794
|
POST
|
Hi... Finally I manage to successfully upgrade the SDE. Like Jake said, I remove erroneous FC and do the upgrade with "Perform Pre-requisites" checked... Why does the "Perform Pre-requisites" do topology check ??? Since topology is optional, a FC can contain erroneous objects such as self-intersecting lines. The data do not have to be correct to be inside a database... :confused: Okay then.. This case is solved ! Thanks Jake. Thanks Craig.
... View more
01-25-2012
06:20 PM
|
0
|
0
|
345
|
POST
|
Thanks for the reply, I do not want to repair anything... FYI, "SDE geodatabases automatically check and repair feature geometries when the features are uploaded to the database, so using the Check Geometry and Repair Geometry tools with SDE feature classes is unnecessary" (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000003v000000) If I uncheck the "Perform Pre-requisite check", what will happen ? Anyone has ever tried ? Thanks
... View more
01-19-2012
04:38 PM
|
0
|
0
|
345
|
POST
|
Dear experts, Currently I am in the middle of upgrading process of ArcSDE Oracle geodatabase 9.3.1 to 10. I encounter error : Could not add item to catalog (GISADMIN.SCALE1000). Linestring or poly boundary is self-intersecting The system tables are stored in SDE schema, and the user data is stored in another user schemas. I am starting upgrade from SDE schema first (connect as SDE user and click the Upgrade button). Questions are : 1. How to skip this error ? I will find a lot of errors like this and its just impossible to fix it within days as there are so many objects. I just want to skip this error checking and do the upgrade 2. If I uncheck the "Perform Pre-requisite check" and check "Upgrade geodatabase", what will happen ? Whats the worst that can happen ? I have read from the site that Pre-requisite check DO NOT include topology check.. (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//0017000000q7000000) Thanks for any helps
... View more
01-18-2012
10:16 PM
|
0
|
8
|
456
|
POST
|
thanks Kevin, you are right, i have to have '%scratchworkspace%' for my output. Also, i like to add that to display the output of geoprocessing for web application, i need to add "P" (Model Parameter) in the output. It isnt said that I have to add "P" in http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_models_for_geoprocessing_services/002v00000005000000/. Is this correct ? It doesnt work without the "P" in the output. thanks alot Its failing because Server is trying to overwrite the output which exists, but it cant (you know this). The issue here is you should be writing your output to a unique location, not your working directory where you authored your model. Server has ways to write to a unique location (arcgisjobs directory) I'd read this help topic: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_models_for_geoprocessing_services/002v00000005000000/ In particular, you want to look at this section: Intermediate and output data You'll see here that Server can handle the output and put it in a location where no output exists (thus no chance for collision), by using the %scratchworkspace% inline variable. In short, simply changing your output path from the c:\student\test___buffer.shp you have to something like %scratchworkspace%\buffer.shp, republishing or restarting the service, should make it work.
... View more
01-11-2012
11:46 PM
|
0
|
0
|
272
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|