|
POST
|
Anyone know what this error is and how to fix it? When I log into Server Manager, the root folder (and sub folders) show up as empty, but if I connect via ArcMap or go to the services REST endpoint I can see my services listed. I get the error in the title when I log into the admin directory and click on the Permissions link on any folder. Fiddler show the same error when I try to click the permisson button for any folder in Manager Terry
... View more
02-12-2013
06:00 AM
|
0
|
1
|
3488
|
|
POST
|
My issue was related to settings in Internet Explorer. Adding the server name to the Trusted Sites list in IE's security settings solved the problem.
... View more
02-08-2013
05:50 AM
|
0
|
0
|
505
|
|
POST
|
I'm 99.99% certain SDE does not support any form of row level security....it may be an option in the underlying RDBMS but not a function of SDE. Re: can a user change the definition query - again, it depends on if they're using a MXD you created with just contains a layer pointing to SDE w/ a def query (then yes they can edit/remove the def query) or if they're copying data from a Feature Service and editing that in ArcMap (then no). You don't need to delete versions, it's just how my work flow was set - we had longer periods of editing and when they were done, they were done. For continual updates, you should look into running reconcile & post on a daily (or more often if needed) basis and do the database analyze, compress, analyze daily to keep the versioning 'state tree' to a minimum... the bigger the tree gets the slower your SDE will perform. I don't use versioning as much as I used to, but am pretty certain reconcile & post have been combined into one geoprocessing tool (with options on how to handle conflicts) so you could run it in python as a scheduled task. To get more info on versions, reconciling, etc... start with the online help topic here - http://resources.arcgis.com/en/help/main/10.1/index.html#//003n00000003000000. There are also some videos, blogs, etc.. on the geodata portion of resources.esri.com. If you have the time and $$ the multi-day 'Managing editing workflows in a multiuser geodatabase' course is really good too. TG
... View more
02-05-2013
01:06 PM
|
0
|
0
|
1177
|
|
POST
|
Brad, Not sure if it matters in your scenario but if you have multiple versions in SDE any one that used in a MXD your publish as a map service needs to be registered with Server's data store. I had registered my default version but recently published a service based on a child version created off of default & server wanted to copy the data over until I registered the database again but with a conneection file pointing to the new version. Another thing to check is if you have joins in the mxd you're trying to publish. It seems with SDE data, if you have joins Server wants to copy the data local too. This doesn't happen when published joined data that resides in a file geodatabase just SDE.
... View more
02-01-2013
12:57 PM
|
0
|
0
|
1433
|
|
POST
|
Row level permissions are not possible with SDE even when using roles to the best of my knowledge. In terms of using different services w/ definition queries & if that def. query can be changed - it depends. If someone has access to the MXD used to create a service then yes, they could edit or remove the def. query in ArcMap and see/edit all data in SDE. But if they only have access to the service then no, they cannot alter it. When you publish a service & enable feature access capabilities you have a couple of ways to edit - you can create a web app and have people edit that way or if they add the feature service to ArcMap & right click on the layer you have the option to copy local (see attached image), make edits, and then push back to the service. Either editing scenario via the the service will honor the definition query. A workflow I've used for similar situations is this - - Create a version in SDE for each work location/office - Add the featureclass(es) of interest to a map and filter with a definition query (office = 123) - publish the map as a service with feature service capabilities - users can now edit either via ArcMap or our web app - when edits are complete the user lets me know & I reconcile & post the data, remove the version, Analyze & Compress the database. Something similar could work for you, but you'll want to test first to make sure it fits your needs. A couple of things to remember if you do go this route - - the connection to the database must be made with a user account that has full edit privileges not just select - if you're using Server 10.1, you will need to register each version in the database as a data store in you server - in ArcMap if you use the 'copy local' function by default it goes to a file geodatabase named after the feature service. You can also pull it to a personal SDE instance but you need to open the Distributed Geodatabase toolbar -> Options to enable this. - the options you enable/disable in the feature service capabilities carry over to web editing for sure - not 100% what happens if a user copies local/edits in ArcMap and violate any constraints on the feature service (e.g. you disable the Create option in the service but the user makes a new feature in ArcMap). My guess is 'bad things' happen, you may want to explicitly test this too. - there are probably other alternatives or workflows that what I've outlined here.
... View more
02-01-2013
12:14 PM
|
0
|
0
|
1177
|
|
POST
|
SDE privileges are at the table/feature class level, not at the row level. What you might try doing is using the new editor tracking functionality and multiple services, one for each user & use a definition query in the map layer(s) to filter by user. Might be a bit of a headache to manage depending on how many users you have though.
... View more
02-01-2013
09:05 AM
|
0
|
0
|
1177
|
|
POST
|
I had the issue where I could not publish directly from ArcMap to my Server too. Turns out it's related to how ArcMap tries to connect to the Server - always through SSL. I did not have my server set up to accept both http & https traffic so publishing would always fail. It also prevented users from adding services to ArcMap Description of error & workaround from tech support in another thread here- http://forums.arcgis.com/threads/75010-cannot-add-Map-Services-to-ArcMap?p=269184#post269184
... View more
02-01-2013
08:59 AM
|
0
|
0
|
3557
|
|
POST
|
Just as a follow up if anyone else has similar issues - it's a bug but there's an easy work around until it's fixed. Info from tech support - Bug NIM088319 ANALYSIS: It appears that ArcGIS for Desktop always attempts an HTTPS connection to the web adaptor regardless of its configuration. If the initial connection over HTTPS is confirmed by IIS, ArcGIS for Desktop will take this to mean that ArcGIS Server is listening on HTTPS and attempt subsequent HTTPS connections. If one of those connections fails, ArcGIS for Desktop will fail-over to a logic pattern of connecting to port 6080 on the same machine. Workaround: Either remove the HTTPS binding on IIS for the site on which the web adaptor is hosted, or configure ArcGIS Server to listen on HTTPS thereby closing the loop. To configure HTTPS on the ArcGIS Server go to the admin console >Security > config > Update and select "HTTP and HTTPS."
... View more
02-01-2013
08:53 AM
|
0
|
0
|
867
|
|
POST
|
Kelly, Thanks for the tip, that's good to know. Do you kow if that property exposed through Pyhton or a ArcObjects Interface? Thanks again, Terry
... View more
01-22-2013
05:02 AM
|
0
|
0
|
1622
|
|
POST
|
I haven't had much time to mess with it, but here's what I've tried and what I think might be happening. Any input from others, esp. Esri would be appreciated. Had Fiddler open while trying to connect to the service via the Admin connection - Connects fine, Fiddler logs 8 different requests going to the server -
http://<server>:6080/arcgis/admin/services/?f=json&token=<big long token string>
http://<server>:6080/arcgis/admin/services/?f=json&detail=true&token=<big long token string>
http://<server>:6080/arcgis/admin/services/<service1>.MapServer/?f=json&token=<big long token string>
http://<server>:6080/arcgis/admin/services/<service1>.MapServer/status/?f=json&token=<big long token string>
http://<server>:6080/arcgis/admin/services/<service3>.MapServer/?f=json&token=<big long token string>
http://<server>:6080/arcgis/admin/services/<service3>.MapServer/status/?f=json&token=<big long token string>
http://<server>:6080/arcgis/admin/services/SampleWorldCities.MapServer/?f=json&token=<big long token string>
http://<server>:6080/arcgis/admin/services/SampleWorldCities.MapServer/status/?f=json&token=<big long token string>
http://<server>:6080/arcgis/admin/services/<service2>.MapServer/?f=json&token=<big long token string>
http://<server>:6080/arcgis/admin/services/<service2>.MapServer/status/?f=json&token=<big long token string>
Looks like this is the initial contact with the server, getting a listing of the services and if they're running or not. Now when I try to add Service1 to the map, Fiddler shows a request to http://<server>:6080/arcgis/services/<service1>/MapServer which returns a 403 error & the response contains the following body [HTML] <h1>HTTP Status 403 - </h1><HR size="1" noshade="noshade"> <p><b>type</b> Status report</p> <p><b>message</b> <u></u></p><p><b>description</b> <u>Access to the specified resource () has been forbidden.</u></p> <HR size="1" noshade="noshade"> <h3>Apache Tomcat/7.0.27</h3> [/HTML] In the Auth tab in Fiddler it says 'Not Authorization Header is present'. What I'm guessing is that since I have Server set up to Authorize at the Web Server (IIS w/ Win Auth) making calls from ArcMap bypasses this and are not passing in any kind of user credentials. But like I said, that's just a guess. If that's the case, do it mean if your Web Server does Authorization users cannot add services to ArcMap?? What am I missing here?? Thanks, Terry
... View more
01-15-2013
07:58 AM
|
0
|
0
|
867
|
|
POST
|
I was just loooking into this last week too. As far as I can tell, you can only get to the path where server creates the msd when you publish the service, which is appears to be <directories folder>\arcgissystem\arcgisinput\<Service Name>.MapServer\extracted\v101\<Service Name>.msd. We've decided to use a standard naming convention - the MXD should be named whatever the service is named & the MXD should be on a shared location where everyone can access it. We're also looking at putting the path to the MXD in the Service's ItemInfo via the Admin API - e.g. http://<server>/arcgis/admin/services/<Service>.MapServer/iteminfo/edit Would be nice if it was just stored for us as it was in 10.0 though...
... View more
01-15-2013
07:31 AM
|
3
|
0
|
1622
|
|
POST
|
Config info - Running Server 10.1 SP1 on Win2008R2; web adaptor via IIS; Security = Win AD users, built in Roles; Security @ web server (IIS) ArcGIS Desktop 10.1 SP1 on Win7 64 bit ... We have Server set up and it has several services running on it which we can see in our web apps. The other day someone tried to add a service to ArcMap, we can't get it to work. If the user, who is in an Admin role on Server, expands the server connection in Catalog, he can see our services at the root and in subfolders; if he tries to drag/drop a service into ArcMap it returns the error in the attached image. If he tries to a connection from a User Role, no services/folders show up what so ever - no error message about failing to connect or anything just. To add to the mystery, we tried adding a service on a PC running 10.0 SP4 and it works just fine.... Anyone have any idea what's going on or where to even begin troubleshooting?? Thanks, Terry
... View more
01-10-2013
12:51 PM
|
0
|
3
|
3146
|
|
POST
|
I am also receiving this error when trying to publish or save a service definition file. I'm not sure what Esri's bug report means by a 'nested join' but I'm only joining a standalone table to a feature class, both of which reside in the same SDE instance, which is registered as a data store with Server. Anyone have a workaround or fix? Thanks, Terry
... View more
01-08-2013
09:37 AM
|
0
|
0
|
398
|
|
POST
|
You should be able to pass all the features returned from the QueryTask to the Buffer. The code below works for me
void QueryTask_ExecuteCompleted(object sender, QueryEventArgs e)
{
FeatureSet fs = e.FeatureSet;
if (fs.Count() == 0)
{
MessageBox.Show("Sorry, no data matches your query. Please try again", "Query Error", MessageBoxButton.OK);
}
else
{
BufferParameters buffParam = new BufferParameters() {
Unit = LinearUnit.Meter,
BufferSpatialReference = _Map.SpatialReference,
OutSpatialReference = _Map.SpatialReference
};
buffParam.Distances.Add(500);
buffParam.Features.AddRange(fs.Features);
GeometryService geoService = new GeometryService("http://<servername>/ArcGIS/rest/services/Geometry/GeometryServer");
geoService.BufferCompleted += (send,args) =>
{
GraphicsLayer gl = (GraphicsLayer)_Map.Layers[_GraphicsLayer];
gl.ClearGraphics();
gl.Renderer = LayoutRoot.Resources["SelectRendererPoly"] as IRenderer; //polygon renderer defined in XAML
foreach (var g in args.Results)
{
gl.Graphics.Add(g);
}
gl.Refresh();
};
geoService.BufferAsync(buffParam);
}
}
... View more
12-28-2012
10:26 AM
|
0
|
0
|
523
|
|
POST
|
Spoke with Esri tech support yesterday and in 10.1 you can no longer access local groups on the server. 😞 Not sure why functionality was taken out at 10.1 but it was. As far as I can tell, this produces an interesting situation - I've configured security using Windows AD for the user store and the Built-In groups. Since the AD user store only shows Users and not Groups, the only way to ensure all users in our agency (100s of them) can see our base/reference layers is to add EACH USER to a 'User' role. Am I understanding that correctly?? To clarify, I'm used my Web Server for authentication, not the GIS Server, so setting the 'Public' or 'Allow access to all users who are logged' options in security settings are not available. Thanks again, TG
... View more
12-28-2012
08:56 AM
|
0
|
0
|
651
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-23-2017 08:59 AM | |
| 1 | 06-15-2016 03:27 PM | |
| 1 | 01-14-2016 09:55 AM | |
| 2 | 12-14-2012 09:38 AM | |
| 2 | 10-23-2017 01:22 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-17-2024
08:14 PM
|