POST
|
I am trying to create a new setup using the Azure Cloud Builder for Enterprise. In addition to the customary initial failure after 90 minutes, the builder keeps failing on subsequent attempts like this: Deployment Error:- The deployment encountered the following errors The resource Portal/DSCConfiguration0 of type Microsoft.Compute/virtualMachines/extensions failed. Error:- The resource operation completed with terminal provisioning state 'Failed'. <b>VMExtensionProvisioningError</b> - VM has reported a failure when processing extension 'DSCConfiguration0'. Error message: "DSC Configuration 'PortalConfiguration' completed with error(s). Following are the first few: The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. You can get more information about that by running the following command: winrm help config. PowerShell DSC resource ArcGIS_Federation failed to execute Test-TargetResource functionality with error message: Unable to retrieve Portal Token for 'admin' from Deployment 'Portal.' The SendConfigurationApply function did not succeed." Since it seems to be during federation, I added the Portal machine and the GIS Server machine to each others TrustedHosts like this: Set-Item WSMan:\localhost\Client\TrustedHosts -Value 'Server' Set-Item WSMan:\localhost\Client\TrustedHosts -Value 'Portal' Did not help. It is a standard setup. Separate machines for JumpBox, Data Store, Portal, Server, FileShare. Is the new builder just broken? It might work with everything on he same machine. Or if we domain-join the VMs, but that is not what I need.
... View more
09-10-2022
07:38 AM
|
0
|
0
|
580
|
POST
|
Please advise on which changes I need to make to the Azure Application Gateway created by the Azure Cloud Builder for 10.9.1 in order to enable support for HTTP. I have successfully deployed a 3-machine ArcGIS Server site, which works fine with HTTPS, but for a while yet I need support for HTTP for some legacy customers, that I am moving from AWS. HTTP works fine in Azure, if I install ArcGIS Server manually in an Azure VM without using the Azure Cloud Builder, but I want to use the builder since it provides some needed features in how it sets things up in the Application Gateway.
... View more
12-28-2021
11:39 AM
|
0
|
0
|
336
|
POST
|
Robert - Where can I find the What's new article for Pro 2.3? I actually have beta 2, but cannot find what's new. I do see a lot of new color schemes, but they do not seem very useful. Most are tones of the same basic color and so not very useful for showing a lot of different colors. I tried displaying the same data I have been having trouble with in beta 2 with the regular "Basic Random". No improvements... Thomas
... View more
01-07-2019
11:21 AM
|
0
|
3
|
969
|
POST
|
I am having this problem as well. None of the workarounds introduced here work for me and I cannot in good conscience recommend Pro over ArcMap to customers with this (pretty basic) need. Sure, exporting a lyr file from ArcMap gives a better color scheme in Pro, but only until we get new values in the feature class to classify by, which is a common and frequent workflow for us. It seem like Pro really goes out of its way to make sure that features that are geographically close together get the same or almost the same colors. I even tried generating random values for the field that I am classifying by to see if that helps. Does not help. It is really stupid. I have contacted support and they referred me to this thread. Wonderful...
... View more
12-06-2018
08:32 AM
|
1
|
5
|
969
|
IDEA
|
Thanks for commenting. I am not actually looking to edit data from SQL - I am aware of the restrictions there. And I am not working with versioned data at all. But thank you for the link. The next article in the TOC is SQL access to enterprise geodatabase data and that actually provides the answer that apparently neither Support nor I could find: Note: Do not use SQL to alter the schema of datasets stored in your enterprise geodatabase. It was not the answer I was hoping to find, but at least it is clear. My own experience is that adding fields outside of ArcGIS works just fine, and indeed they are discovered by ArcGIS and included in the SDE metadata. But I understand that if it is not supported then it is not supported 🙂 I guess my next idea here will be to have Esri support this workflow, since it appears to work. And after that for Esri to properly support the actual floating point data types in SQL Server rather than just the weird accounting ones.
... View more
04-27-2017
01:42 PM
|
0
|
1
|
913
|
IDEA
|
Today it is possible to add a field to a registered table or feature class in a SQL Server Geodatabase outside of ArcGIS, for example through T-SQL or with Management Studio. Such fields appear to be recognized by ArcGIS and they appear magically in sde.SDE_column_registry. But it is not at all clear to me if this is a supported workflow. As far as I can tell, the documentation is silent on whether I can do this or not. I need it clarified explicitly because I have been told by support, that since this workflow is not explicitly described in the docs, they will not provide any assistance, for such databases, should I ever need it. The reason why I want to create fields through another mechanism than ArcGIS is that ArcGIS has a really weird mapping of the ArcGIS floating point field types to SQL Server data types. One that is useless for me. When a user creates an ArcGIS "Double" field type in SQL Server, we do not get a SQL Server "float" field, which I think most would expect. Instead we get the weird, inefficient and inaccurate accounting-style data type "numeric"/"decimal". Same for the ArcGIS field type "Float". This should map to a SQL Server "real" but also results in "numeric"/"decimal".
... View more
04-27-2017
12:04 PM
|
0
|
5
|
1139
|
POST
|
Simple question: How do I display a secured feature layer on a map in an ArcGIS Runtime for WPF app? I do not want to query the user for username/password. I just want to hardcode it. I know that I need to use IdentityManager and I have successfully done precisely the above with ArcGIS Server, but for some reason it is not working for me with ArcGIS Online. This is what I do for ArcGIS Server. I call this function before I use the secured service (it is a GP-service): private async Task GenerateToken(string tokenUrl, string username, string password) { IdentityManager.Current.DefaultReferer = "BlahBlah"; IdentityManager.Current.ChallengeMethodEx += SignInDialog.DoSignInEx; // I don't think that this has any effect. IdentityManager.Credential crd = await IdentityManager.Current.GenerateCredentialTaskAsync(tokenUrl, username, password); if (crd != null) IdentityManager.Current.AddCredential(crd); else throw new Exception("Unknown error"); } I think that at least two things are different with ArcGIS Online: - I do not know what to use for the tokenUrl. - I would prefer to somehowget this taken care of during application startup. I want the layer to display as soon as the application is loaded.
... View more
12-15-2014
10:14 AM
|
0
|
1
|
3395
|
POST
|
I actually got this to work: async Task GenerateToken(string tokenUrl) { IdentityManager.Current.DefaultReferer = "BlahBlah"; IdentityManager.Current.ChallengeMethodEx += SignInDialog.DoSignInEx; var options = new IdentityManager.GenerateTokenOptions(); option.TokenValidity = 120; IdentityManager.Credential crd = await IdentityManager.Current.GenerateCredentialTaskAsync(tokenUrl, _usename, _password, options); if (crd != null) IdentityManager.Current.AddCredential(crd); else throw new Exception("Unknown error"); }
... View more
11-20-2014
11:55 AM
|
0
|
0
|
313
|
POST
|
I have this function, which is called from MainWindow(): private async void GenerateToken() { //Get token to be used for secure access IdentityManager.Current.DefaultReferer = "BlahBlah"; IdentityManager.Current.ChallengeMethodEx += SignInDialog.DoSignInEx; IdentityManager.Credential crd = await IdentityManager.Current.GenerateCredentialTaskAsync("http://GisServer:6080/arcgis/rest/services", "user", "pwd"); if (crd != null) IdentityManager.Current.AddCredential(crd); else throw new Exception("Unknown error"); } The application invokes geoprocessing service tasks (Geoprocessor.SubmitJobAsync()) and some of those tasks can run for a very long time, so I would rather just request a token, which does not time out for like a week or something like that. On the GIS server I have the short lived tokens set to 60 minutes and the long lived tokens set to 1 day. I plan to change the latter to 30 days, but I do not know how to request a token like that. Also: Does this line look sensible: IdentityManager.Current.ChallengeMethodEx += SignInDialog.DoSignInEx; ? It is adapted from this forum post. I do not ever want users to see any sign in dialogs. The credentials will either be hardcoded or in a config file or something like that.
... View more
09-16-2014
08:59 AM
|
0
|
1
|
3278
|
POST
|
Turns out there was an errors in the xaml: Mismatch in layer names. Feature Request for ArcGIS Runtime SDK: Please have the EditorWidget throw useful exceptions when it it provided with obviously invalid inputs, such as asking it to use a non-existant layer.
... View more
02-25-2014
07:51 AM
|
0
|
0
|
245
|
POST
|
OK. I will contact Support. FYI: I tried ArcGIS 10.2.1. Makes no difference, I get the same error in Server Side Post-processing. Thomas
... View more
02-20-2014
08:24 AM
|
0
|
0
|
861
|
POST
|
@Andrew Publishing two times did not help. Both failed. Thomas
... View more
02-20-2014
01:45 AM
|
0
|
0
|
861
|
POST
|
@Andrew 1: I'm using 10.2 and I am publishing from ArcMap while logged in. Not using any scripts. 2 and 3: I am always creating new services, never overwriting. I always use root. 4: I will try twice publishing two times with 10.2 Thomas
... View more
02-18-2014
07:05 AM
|
0
|
0
|
970
|
POST
|
I am trying to get the ArcGIS Runtime SDK for WPF 10.2 sample named "Editor Widget Online" to work with a Feature Service that I am hosying on my own ArcGIS 10.2 for Server. What I have done is simply this: 1. Pasted the xaml for the sample into a new "ArcGIS Runtime SDK 10.2 for WPF Application" created in Visual Studio 2012. 2. Edited the xaml to remove the dynamic map service layer and one of the two Feature Layers from the Map and to change the other Feature Layer to point to the url of my own feature service. When I start the application, there are no errors (and no exception in debug), put the editor widget looks very weird: [ATTACH=CONFIG]31343[/ATTACH] Any thoughts? The feature service works fine with the TemplatePicker and the application works fine if I do not change the xaml form the sample. xaml: <Window x:Class="BarrierEditor2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:esri="http://schemas.esri.com/arcgis/client/2009" Title="MainWindow" Height="350" Width="525"> <Grid x:Name="LayoutRoot"> <Grid.Resources> </Grid.Resources> <esri:Map x:Name="MyMap" WrapAround="True" UseAcceleratedDisplay="True"> <esri:ArcGISTiledMapServiceLayer ID="BaseLayer" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" /> <!--<esri:ArcGISDynamicMapServiceLayer ID="Fire Perimeter" Url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer" VisibleLayers="2"/>--> <esri:FeatureLayer ID="Barrier2" DisableClientCaching="True" AutoSave="False" Url="http://ags102test:6080/arcgis/rest/services/BarrierEdit/FeatureServer/0" OutFields="*" /> <!--<esri:FeatureLayer ID="Points of Interest" DisableClientCaching="True" AutoSave="False" Url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0" OutFields="*" />--> </esri:Map> <StackPanel x:Name="EditorToolStrip" Margin="0,5,5,0" > <Border Background="White" BorderThickness="1" HorizontalAlignment="Right" VerticalAlignment="Top" Padding="5" BorderBrush="Black"> <Border.Effect> <DropShadowEffect Color="Black" Direction="-45" BlurRadius="20" Opacity=".75" /> </Border.Effect> <StackPanel Orientation="Vertical" HorizontalAlignment="Right" Margin="0,5,5,0" VerticalAlignment="Top" > <esri:EditorWidget x:Name="MyEditorWidget" Map="{Binding ElementName=MyMap}" Width="300" LayerIDs="Barriers2" AutoSelect="False" GeometryServiceUrl="http://ags102test:6080/arcgis/rest/services/Utilities/Geometry/GeometryServer" ShowAttributesOnAdd="True" /> </StackPanel> </Border> </StackPanel> <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,10,10,0" > <Rectangle Fill="White" Stroke="Gray" Margin="0,0,0,5"> <Rectangle.Effect> <DropShadowEffect/> </Rectangle.Effect> </Rectangle> <Rectangle Fill="#FFFFFFFF" Stroke="DarkGray" Margin="10,10,10,15" /> <TextBlock x:Name="ResponseTextBlock" Text="Two editable feature layers represent points of interest and fire evacuation areas. Use the symbol templates to add new features. Use the tools to modify or delete existing features. Save your edits when finished to commit any updates to the database." Width="200" TextAlignment="Left" Margin="30,20,20,30" TextWrapping="Wrap" Foreground="Black" /> </Grid> </Grid> </Window> Feature Service: Layer: RlpTest.DBO.SoftBarriers (ID: 0) View In: ArcGIS.com Map Name: RlpTest.DBO.SoftBarriers Display Field: ScaleFactor Type: Feature Layer Geometry Type: esriGeometryPolygon Description: Definition Expression: N/A Copyright Text: Default Visibility: true MaxRecordCount: 1000 Supported Query Formats: JSON, AMF Min Scale: 0 Max Scale: 0 Supports Advanced Queries: true Supports Statistics: true Use Standardized Queries: true Extent: XMin: 335252.9430999998 YMin: 5888684.078400001 XMax: 968397.0930000003 YMax: 6606555.6579 Spatial Reference: 25832 (25832) Drawing Info: Renderer: Unique Value Renderer: Field 1: ScaleType Field 2: null Field 3: null Field Delimiter: , Default Symbol: Style: esriSFSSolid Color: [238, 205, 247, 255] Outline: Style: esriSLSSolid Color: [110, 110, 110, 255] Width: 0 Default Label: UniqueValueInfos: Value: 2 Label: High Description: Symbol: Style: esriSFSSolid Color: [201, 242, 208, 255] Outline: Style: esriSLSSolid Color: [110, 110, 110, 255] Width: 0 Value: 1 Label: Low Description: Symbol: Style: esriSFSSolid Color: [205, 233, 247, 255] Outline: Style: esriSLSSolid Color: [110, 110, 110, 255] Width: 0 Transparency: 0 Labeling Info: HasZ: false HasM: false Has Attachments: false HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText Type ID Field: ScaleType Fields: OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID , editable: false , nullable: false ) ScaleFactor ( type: esriFieldTypeDouble , alias: ScaleFactor , editable: true , nullable: false ) ScaleType ( type: esriFieldTypeSmallInteger , alias: ScaleType , editable: true , nullable: true ) Types: ID: 1 Name: Low Domains: ScaleFactor: Range: [0, 0.5] Templates: Name: Low Description: Prototype: ScaleFactor: 0.25 ScaleType: 1 Drawing Tool: esriFeatureEditToolPolygon -------------------------------------------------------------------------------- ID: 2 Name: High Domains: ScaleFactor: Range: [0.5, 1] Templates: Name: High Description: Prototype: ScaleFactor: 0.75 ScaleType: 2 Drawing Tool: esriFeatureEditToolPolygon -------------------------------------------------------------------------------- Capabilities: Create,Delete,Query,Update,Uploads,Editing Sync Can Return Changes: false Is Data Versioned: false Supports Rollback On Failure: true Supported Operations: Query Apply Edits Add Features Update Features Delete Features Generate Renderer Return Updates
... View more
02-12-2014
05:17 AM
|
0
|
1
|
3683
|
Title | Kudos | Posted |
---|---|---|
1 | 12-06-2018 08:32 AM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|