|
POST
|
Just made a little progress, inside the same firewall, if access the application by the IP, in the code of application, call the map service by IP address. if access by the servername, call map service by IP or server name, both of them are fine.
... View more
06-01-2012
08:10 AM
|
0
|
0
|
558
|
|
POST
|
I have a server , name: testserver, alias name: testgis, IP address: 10.0.1.35 I have arcGIS server on this machine. I have crossdomain, clientaccesspolicy files under wwwroot. all arcgis server directories could be accessed by: http://localhost/, http://testserver/, http://testgis/, http://10.0.1.35/ All ArcGIS services ( rest end point) could be accessed like : http://localhost ( testserver, or testgis, or 10.0.1.35)/arcgis/rest/services/test/mapserver Test http://localhost ( testserver, or testgis, or 10.0.1.35)/arcgis/rest/services/test/mapserver/export?jason, the results are fine. I have Silverlight Application which consumes the map services on this server (actually the application and ArcGIS server on the same machine) When I access the application by : http://localhost( testserver or testgis)/TestApp/testpage.aspx, everything is fine. But when I access the application by : http://10.0.1.35/)/TestApp/testpage.aspx, the application opens, everything not related the map services is fine, everything related to the map services is blank, it seems that security problem blocked the access to the rest end point of the map services. ( bing maps is Ok in the application) I serached the internet, tried to change crossdomain, clientaccesspolicy files. so far, I still didn't solve the problem. Hope somebody could help, many thanks.
... View more
06-01-2012
06:02 AM
|
0
|
3
|
1524
|
|
POST
|
probably you could consider : DBMS backup and restore, or mirroring etc.
... View more
05-15-2012
04:47 AM
|
0
|
0
|
1866
|
|
POST
|
lookt the following and see if you could find something helpful. try { FeatureSet fSet = args.FeatureSet; if (fSet.Features.Count > 0) { foreach (Graphic g in fSet.Features) { string objId = g.Attributes["OBJECTID"].ToString(); for (int i = 0; i < _plumeFLayer.Graphics.Count; i++) { Graphic selectedGraphic = _plumeFLayer.Graphics; if (selectedGraphic.Attributes["OBJECTID"].ToString() == objId) { _plumeFLayer.Graphics.Remove(selectedGraphic); // _plumeFLayer.Update(); } } // end for } // end foreach // depends how you set AutoSave mode, if it it true, you don't need the following if (_plumeFLayer.HasEdits) { _plumeFLayer.SaveEdits(); _plumeFLayer.Update(); } } } //e nd try catch (Exception error) { ... }
... View more
05-04-2012
11:27 AM
|
0
|
0
|
1074
|
|
POST
|
How you add that green point, can you show your code here?
... View more
04-27-2012
12:40 PM
|
0
|
0
|
660
|
|
POST
|
For an ArcSDE geodatabase , you want to make a spatial connection, probably you need to use ArcObject commands, tools or applications, You can connect to ArcSDE geodatabase with ODBC, JDBC, OLE DB etc. But you will not view as spatial data, you will view them as database tables.
... View more
04-27-2012
12:05 PM
|
0
|
0
|
2896
|
|
POST
|
By default, if you selected SDE schema in the post installation, it would be sde.Default. In your case, I suggest you check the database: Security->users, Security->Schemas. There should be a schema "sde", if not, create a sde schema, by default, set permission: connect, create function, procedure, table view and view database states. In this database, sde user only owns sde schema.
... View more
04-26-2012
12:37 PM
|
0
|
0
|
3205
|
|
POST
|
I might not understand your case well, but I think you could look GeometryService such as relation or intersect.
... View more
04-26-2012
08:04 AM
|
0
|
0
|
3040
|
|
POST
|
Besides Muzzamil mentioned, You can also check your IIS confidurations ( application pool your services are using), and ArcGIS Service and REST configuration files (web.config and rest.config): http://support.esri.com/en/knowledgebase/techarticles/detail/36887 http://support.esri.com/en/knowledgebase/techarticles/detail/39063 If it is not security services, following the steps of these two links, it might improve a lot.
... View more
04-24-2012
07:38 AM
|
0
|
0
|
537
|
|
POST
|
MyMap.ZoomTo ( pt); If you don't want to Zoom too close, you can do something like the following: Envelope env = new Envelope(); env.SpatialReference = MyMap.SpatialReference; env.XMax = pt.X + 500; env.YMax = pt.Y + 500; env.XMin = pt.X - 500; env.YMin = pt.Y - 500; MyMap.ZoomTo(env);
... View more
04-24-2012
07:19 AM
|
0
|
0
|
1292
|
|
POST
|
I agree with Muzammil: Check 2 things : spatial reference and simplifying of the filter geometry
... View more
04-24-2012
07:10 AM
|
0
|
0
|
555
|
|
POST
|
I think if the client select a differnt coordinate system other than your map, probably you should use GeometryService to project , then add the projected env on the map.
... View more
04-23-2012
06:00 AM
|
0
|
0
|
480
|
|
POST
|
Hi, Dominique Thank you so much for the help, it fixed the problem, now all my manager and clients are happy about it. If without your sample, I might went to crazy by being asked on printing, your sample really helped a lot on my work !!
... View more
04-05-2012
05:03 AM
|
0
|
0
|
763
|
|
POST
|
Hi, I have been using dbrous's printing sample and customized it in my applications, it is always great. So here, I want to say I really appreciate his work. Yesterday by an acciden, I found the control had a problem with the GraphicsLayer which has clusterer renderer, for all other graphicslayer are OK, as soon as I removed clusterer renderer, it was OK. The problem caused the application collapsed, when you open the print control, the graphics only show either the app ( main browser ) or printing control ( Cloned map) , after toggles a few times, then the app was collapsed, the error showed as the the attachment. The issue might still related to ArcGIS server Silverlight API ( about clusterer renderer). If somebody had the same problem and fixed, please let me know, because I still want to use the clusterer for the GraphicsLayer and the printing control. Thanks.
... View more
04-04-2012
07:16 AM
|
0
|
4
|
1007
|
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|