POST
|
Adam Roberts - not as yet. We are about to upgrade to 10.7.1 in the next couple of months, so we will try again at that version.
... View more
02-13-2020
07:27 PM
|
0
|
1
|
2103
|
POST
|
Hey Adrian Marsden, Could you clarify a few more things here: 1. is your JavaScript application running on IIS and running on the server which has a DNS Alias as 'maps'? 2. this server 'maps', is different to 'esri-gis'? 3. you mentioned that your URL changed from arcgis/rest/services to server/rest/services, does this mean someone has now configured an ArcGIS Web Adaptor called 'server' on the 'esri-gis' server and connected it with your ArcGIS Server on that machine? By default, I think every ArcGIS Server deployment has CORS enabled and the response set to *, so you shouldn't need to be manually changing the underlying ArcGIS Server config.
... View more
11-17-2019
09:49 PM
|
0
|
1
|
2145
|
POST
|
Hey All, We have a federated GeoEvent Server @ 10.6.1 and I'm trying to set the default connection to the Portal, to use the built-in Portal admin account, not one of our Active Directory admin accounts. All our Enterprise authentication uses AD and IWA, however, for this I would like to use the built-in, so as not to store a specific users details in the connection. We just get an invalid credentials error on the connection once we try and use the built-in account. As soon as I switch it to one of our admin AD accounts, it works as expected. Is this possible? Cheers, Jordan
... View more
09-19-2019
10:17 PM
|
0
|
2
|
1241
|
POST
|
Just an update to this, we went into the ArcGIS Server Security settings and changed the short-lived token time value to 120 minutes. We then tested publishing again and it still timed out with the same errors as above, way before 120 minutes too. So I guess this is not the correct token setting...
... View more
08-01-2019
11:07 PM
|
0
|
0
|
2103
|
POST
|
Hey Guys, We're trying to publish a very large MXD (60mb) and associated SD file (10mb) to ArcGIS Server and we keep getting a failed error after around 30 minutes or so. For context, we have a 10.6.1 AGS, which is federated. The service we are trying to publish has a lot of layers in it (over 100) and has an associated pre-built cache, which sits on a mapped network drive. We've tried to publish it through ArcGIS Desktop and also by uploading the SD file to the Server Manager and on both occasions we get this same log results after around 30 minutes of waiting for the publishing to complete: Token Renewal Failed (No credentials available). 10014 Core server call to create service failed (/admin/createService). 23850 Failed to create the service.: Token renewal failed (No credentials available). 23836 Token renewal failed (No credentials available). 100104 Error executing tool: Publish Service Definition – Failed to execute (Publish Service Definition). 20010 Apologies, I am not able to copy the full log. The numbers to the right are the associated error code. I'm guessing the token it grabs before it publishes may have a 30 minute expiry time and for some reason it is unable to get another one? Does anyone have any advice for publishing large services? or know if there are any other workaround to get around what we are experiencing? Cheers, Jordan
... View more
08-01-2019
04:07 AM
|
1
|
4
|
2629
|
POST
|
Hi All, We have a HA Portal site, with a multi-machine Federated ArcGIS Server. The Portal and ArcGIS Server both have two Web Adaptors and Load Balancers in front of the WAs. IWA has been configured in IIS according to this technical article. If we browse to our Portal through the load balancer, e.g. 'https://lb.domain.com/portal/home', IWA works with no issues and we are authenticated. However, if we browse directly to either one of the Portal Web Adaptors, e.g. 'https://wa1.domain.com/portal/home' we are always prompted for login credentials and even if we enter the correct credentials, we never seem to get authenticated. Likewise, when we browse to a single ArcGIS Server, through Web Adaptor, or even directly to the server itself through 'https://server1.domain.com:6443/arcgis/manager', we are always prompted for authentication. However, if we go through the ArcGIS Server load balancer, e.g. 'https://lb2.domain.com/arcgis/manager' IWA works as expected and we get straight in. We can't seem to pinpoint what might be preventing us from doing this. We're wondering if it potentially is the federated server URL and admin URL are both set to 'https://lb2.domain.com/arcgis', therefore if we go to anything other than that Portal doesn't accept it. Typically, these issues aren't really a problem because all of our users are going through the load balancers and as such, are authenticating with IWA as expected. Where we have ran into issues is when we upgrade our ArcGIS Servers and the steps are to: un-install the Web Adaptors, then upgrade Servers, then Continue Server Upgrade using 'https://server1.domain.com:6443/arcgis/manager. Because of this, we can never authenticate with Portal at this step and always receive an Unauthorized Access message at the Server Manager. As previously mentioned, once we re-install both Web Adaptors and access it through the LB it all works again, but we dont believe the Servers have properly upgraded because we never see the Continue Server Upgrade step. Any advice on this would be great, are there settings with how we have federated we should be changing etc? Cheers, Jordan
... View more
06-08-2019
02:56 AM
|
0
|
0
|
628
|
POST
|
Hey Jonathan, Thanks for the quick response. We're performing these changes this weekend, so will see how we go! Thanks, Jordan
... View more
06-05-2019
11:03 PM
|
2
|
2
|
5742
|
POST
|
Hey All, We have a federated server which, when it was initially federated, a single Web Adaptor URL was used as the admin URL for the server, e.g. https://wa1.domain.com/arcgis. We now have a Load Balancer in front of two Web Adaptors which balance between the ArcGIS Server machines within this site. Therefore, we would like to update the federated Admin URL to point to https://lb.domain.com/arcgis. We are no longer in the position to un-federate/re-federate due to usage of the production system. Are we able to use the Portal sharing/rest directory to perform an 'update server' and change the Admin URL? If so, are there any envisaged knock-on effects we should be aware of, or check for? Note: we only want to change the Admin URL, not the ArcGIS Server URL. Thanks in advance, Jordan
... View more
06-05-2019
03:49 AM
|
3
|
4
|
6348
|
POST
|
I had the same issue with this. I managed to get past it by: Setting Portal to HTTPS only. Deleting the WAB folder and re-extracting it, then running startup.bat again. I couldn't get it to work using https://<machine><domain>:3344/webappbuilder, so I just used HTTP only. NOTE: I also set the same <machine><domain> in my Trusted Servers and Allowed Origins within the Portal Security settings. No idea what out of all of this was the solution...
... View more
02-03-2019
08:50 PM
|
0
|
0
|
1484
|
POST
|
Hi All, Just wondering if anyone can shed any light on when new DataStore Connections are made? As an example, we recently hit the 150 default max connections limit, mainly through a public web map with about 5-6 Hosted Feature Layers in it. We're trying to understand a bit more about when these connections are created and what we can do to better tune, either the Web Map, the Hosted Feature Layers or the DataStore itself. As a starter, we have increased the max connections to 300. Any help/advice would be greatly appreciated. Cheers, Jordan
... View more
11-18-2018
08:57 PM
|
1
|
1
|
1060
|
POST
|
Hey Robert, Thanks for taking the time to look at this. In the end, I managed to find my issue, which was actually a issue within my application. The app we're building had a few more intricacies to it, which made the switch between 2D/3D a bit more complicated. Specifically, for some of our data, we use a different renderer in 2D and 3D (or Feature Layer in 3D and Map Image Layer in 2D), so we can support 3D symbols in 3D. This meant that we needed to go through and remove certain layers from the map, before we did anything with the views. What I had done wrong was set the view.container = null, before doing any of the map layer removes. Now, I have it all chained so that the layer removing is completed before I do anything with the view. I'll mark your answer as correct, as the help you provided was good advice. Cheers, Jordan
... View more
09-20-2018
07:00 PM
|
0
|
0
|
1378
|
POST
|
Hey Guys, I'm wondering if the following is a bug? We have an app in which we have a single Map object, which is used to drive two views, one 2D and one 3D. We followed the sample on switching between 2D and 3D (Switch view from 2D to 3D | ArcGIS API for JavaScript 4.8 ), as our app only ever displays one view or the other. The situation I have come across is this; if I add an in-memory Feature Layer, with a custom graphic source, to my Map in the 2D view. Then I switch to the 3D view, but before I do so, I remove that layer from the map before the 3D view becomes the active view. The graphics from the Feature Layer still persist in the map within the 3D view, even though the map.layers.items is zero and there are no view graphics etc. It actually happens if we add the Feature Layer whilst the 3D view is active too, then switch to the 2D view and then back to the 3D view and then remove that layer. I've taken the 2D/3D switch sample and changed it to demonstrate the issue: Switch view from 2D to 3D - 4.8 - Feature Layer Issue? Is there something else we should be doing? or is this likely a bug? We are experiencing it at 4.6, however, the sample above is at 4.8. Cheers, Jordan
... View more
09-17-2018
10:16 PM
|
0
|
2
|
1930
|
POST
|
Hi Matthew, Thanks for the reply. Yes, we have tried restarting IIS application pool and have also restarted the entire Windows Server. When its back up, it goes back to the time it was taking before we restarted. The only way we've been able to get the times back down to < 20 seconds, is to do a complete new server build and re-deploy of everything. Even if we take a snapshot of the Window Server, when say its taking 50 seconds to print, and re-deploy the snapshot, it goes back to taking 50 seconds. Cheers, Jordan
... View more
08-30-2018
08:10 PM
|
0
|
0
|
529
|
POST
|
Hi All, We have a custom print service application written for ArcObjects .NET SDK 10.4.1. The application opens up an MXD, selects a bunch of features using Definition Queries, zooms 4 data frames to a specified extent and then does a IActiveView.Output() to export to a PDF, using IExportPDF. // Prepare for exporting the layout to PDF
IExportPDF exportPDF = new ExportPDFClass();
IExport exporter = (IExport)exportPDF;
exportPDF.EmbedFonts = true;
exportPDF.Compressed = true;
exportPDF.ImageCompression = esriExportImageCompression.esriExportImageCompressionLZW;
((IOutputRasterSettings)exportPDF).ResampleRatio = 1;
// Compute the pixel bounds of the full layout
tagRECT pixelBounds = pageLayoutView.ExportFrame;
IEnvelope pixelBoundsEnvelope = new EnvelopeClass();
pixelBoundsEnvelope.PutCoords(pixelBounds.left * resolution / 96, pixelBounds.top * resolution / 96, pixelBounds.right * resolution / 96, pixelBounds.bottom * resolution / 96);
// Create an export file in the ArcGIS Server's output directory
String exportFileName = String.Format("_ags_{0}.pdf", _instance);
//exporter.ExportFileName = ArcGISServerConfiguration.PhysicalOutputDirectory + "\\" + exportFileName;
exporter.ExportFileName = outputDir+ "\\" + exportFileName;
exporter.Resolution = (short)resolution;
exporter.PixelBounds = pixelBoundsEnvelope;
if (_debug)
DebugMessage(String.Format("ExportPDF('{0}') {{", exportFileName));
// Render the layout to the Exporter's device context
int hDC = exporter.StartExporting();
pageLayoutView.Output(hDC, resolution, ref pixelBounds, null, null);
exporter.FinishExporting();
if (_debug)
{
DebugMessage(String.Format("}} ExportPDF('{0}') finished", exportFileName));
DebugMessage("Cleanup() {");
} What is happening is; we set this up on an IIS server (running as an asmx service) and users hit the service to print a map. When it is first deployed, everything works nicely and maps are taking around 5-10 secs to print to PDF. Over the course of a few months, that print time starts to get slower and slower, until eventually maps are taking well over 2 minutes to print. We've gone through a done a bunch of testing on the MXDs being used as the print templates, they all appear to work fine and the connections to the database are responsive. If I do a manual Export to PDF from the MXD itself, it takes around 5 seconds as expected. In our debug logging, the only part of our application which is slowing down is the IActiveView.Output() method (pageLayoutView.Output() in the code above). The problem is we can't really investigate too much into what is actually happening here under the hood, I understand it is using Windows GDI, but what could be slowing this down over time? There doesn't appear to be memory issues on the server, the memory is stable over this time period. If we destroy the server and re-create it and the service again from scratch, printing goes back to taking 5-10 seconds again. Any ideas what might be slowing us down? Were going to try to update windows graphics drivers, but other than that, are not really sure where to look for answers... Cheers, Jordan
... View more
08-30-2018
07:17 PM
|
0
|
2
|
670
|
Title | Kudos | Posted |
---|---|---|
1 | 07-13-2016 10:57 PM | |
1 | 11-14-2016 10:19 PM | |
1 | 02-28-2017 04:14 PM | |
1 | 07-06-2017 06:58 PM | |
1 | 07-09-2017 05:58 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|