|
POST
|
Do you have any ideas or suspicions to the cause? I've been trying to check every possible angle and when I fix something that I think is the culprit it crashes again. Thanks!
... View more
05-19-2023
03:28 PM
|
0
|
5
|
4088
|
|
POST
|
Hi Michelle I currently have a ticket in process about a similar issue and it's been lingering for the last 2 weeks. I'm posting here to get as much help as I can before finally rolling back to a VM snapshot of 10.9.1. I 'upgraded' my production enterprise to 11.1 on 5/6. Since then ArcGIS server crashes/stops responding about 2-3 times a day. The only thing that seems to 'fix' the issue is rebooting the server. I have scoured ArcGIS server logs, windows server logs, and nothing seems to inidcate that a crash is coming or what causes it. There have been no changes to the server itself since the upgrade and I never had this issue when 10.9.1 was running. Please keep in mind that I have done everything in the documentation for the migration to 11 from 10.9.x. All SOEs have been upgraded, server hardware is at least min spec etc. Oddly, the installation/'upgrade' went without a hitch. Also, Portal and the Datastore all seem to be fine...it's just that Server stops responding altogether. I can't reach server manager or the rest endpoint either internally or externally. I'm basically having to watch my system all day to see if it's still running and reboot if it's dead so I can keep my production services up. Please help. Thanks.
... View more
05-18-2023
07:21 PM
|
0
|
7
|
4107
|
|
POST
|
Thanks. I guess I should have emphasized more than just in the post title that I upgraded the SOE. I have migrated all of our SOE's to the new 11 SDK using VS2022. They all migrated fine except for this one issue I'm having with that particular assembly - Microsoft.Data.SqlClient'. I even updated to the latest release and the error still shows up.
... View more
05-10-2023
06:28 AM
|
0
|
1
|
3626
|
|
POST
|
Hello! I just completed full migration from Enterprise 10.9.1 to 11.1. I have most everything back up and running except 1 custom SOE we have was using SqlConnection and System.Data.SqlClient to call a SQL command. I got a 'System.Data.SqlClient' is not supported on this platform. Thinking it was similar to the recent ArcPro add-in issue I swapped that out for 'Microsoft.Data.SqlClient' with the same results. This was working fine before the upgrade. Does any one have any input on this one? Thanks! Mike
... View more
05-09-2023
12:10 PM
|
0
|
13
|
4586
|
|
POST
|
Here's a great article with a code sample to get you started via ESRI....you can tweak the code as needed. https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/automate-reconcile-and-post-operations-for-sync-enabled-branch-versioned-data.htm
... View more
02-02-2023
07:49 PM
|
0
|
0
|
1257
|
|
POST
|
Hello! I may be missing a simple setting but I can't seem to figure out how show the 'Not a member of this organization? Sign in to your account on ArcGIS Online' option in the login dialog when using OAuth sign in options in a 4.25 web app. I have this setting enabled in our ArcGIS Online security options and it does appear on the ArcGIS Online sign in dialog...just not from an app. Any help would be great! Thanks! Mike
... View more
01-28-2023
04:18 PM
|
0
|
0
|
1290
|
|
POST
|
-->
Hello This does require oAuth and you need to register your app with your Portal/AGO instance. Once you register it you get the app id and add it to your oAuth configuration in your app. var oauthInfo;
//get oauthInfo
oauthInfo = new OAuthInfo({
appId: <app id here>,
portalUrl: <portal url here>,
popup: true
});
esriId.registerOAuthInfos([oauthInfo]); Then, when you load your secure layer you pass in the portal you are accessing it from...if it's a secured layer the login dialog will popup for that portal: Layer.fromPortalItem({
portalItem: {
// autocasts as new PortalItem()
id: <item id here>,
portal: new.Portal({ url: <portal or ago url here> });
}
})
.then(function (layer) {
})
.catch(rejection);
}); Hope that helps!
... View more
01-20-2023
01:59 PM
|
2
|
2
|
2593
|
|
POST
|
Sure... require([
"esri/rest/query",
"dojo/query"
], function (
restQuery,
query
){
//esri restQuery call
restQuery.executeQueryJSON(){
});
}
... View more
01-12-2023
01:10 PM
|
0
|
1
|
2170
|
|
POST
|
Gotcha...I should have read slower...I have both in projects and I have the dojo/Query init function parameter set to 'query', and have the esri/rest/query parameter set to 'restQuery' -- then calling restQuery.executeQueryJSON works fine.
... View more
01-12-2023
12:23 PM
|
0
|
3
|
2194
|
|
POST
|
You can still pull dojo in via the dojoConfig a 4.25+... See here: https://developers.arcgis.com/javascript/latest/release-notes/#removal-of-non-esri-packages-from-cdn packages: [
{
name: "dojo",
location: "../../3.42/dojo"
},
{
name: "dijit",
location: "../../3.42/dijit"
}
]
... View more
01-12-2023
12:05 PM
|
0
|
5
|
2216
|
|
POST
|
This should definitely be marked as the solution to this issue. Truncating/appending is only a work around to the root issue. You saved me a ton of time trying to track this down. Thanks!
... View more
12-06-2022
12:05 PM
|
0
|
1
|
2475
|
|
POST
|
Thanks Joel...this will definitely give me a start on duct-taping the widget! Mike
... View more
11-23-2022
06:55 AM
|
0
|
0
|
2498
|
|
POST
|
Hello Javascripters, I'm having a slight issue with the newest JSAPI (4.25) search widget and wondering if I'm missing something. The 'what's new' documentation says that: In order to make the Search widget faster and more efficient with a layer-based source, we removed the leading wildcard in layer-based source searches... This is causing issues with searching beyond the first word in an attribute column. For example, I have a sentence stored in a column that I'm searching on...'The Elk Horn Lodge...' is how it begins. Can cannot get results for anything but 'The' in the search box. There doesn't seem to be anything obvious to undo this new 'enhancement'. In 4.24, searches for 'Elk', 'Lodge' or anything else that was in the attributes worked fine. Any help would be great. Thanks!
... View more
11-22-2022
12:56 PM
|
7
|
4
|
2569
|
|
POST
|
I finally figured it out...it's not exactly obvious but it was staring me in the face. The owner of the orginal dataset was a different user than the one connecting to AGO in the script. Once I changed ownership to the connecting user it works fine! Now, we use a data-admin user that has similar prvilages to a adminstrator but trimmed down a bit for these data managment task automations. I would assume that this user would be able to find the original datasource (that another user owns) for the feature layer and replace it but it doesn't seem like that's the case. I wonder if there is a setting that would allow this or if that's just how it is? Thanks!
... View more
10-16-2022
03:40 PM
|
1
|
0
|
2700
|
|
POST
|
No, the orginal file GDB is in my content. I uploaded this first as a zip file with the option to publish a hosted feature layer. Beyond that there is no SD. I can successfully update the newly created feature layer with an updated file GDB (zipped) using the AGO tools but it just doesn't work with the script.
... View more
10-14-2022
07:40 AM
|
0
|
0
|
2749
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-14-2011 01:45 PM | |
| 15 | 10-29-2024 10:14 AM | |
| 1 | 05-31-2023 12:34 PM | |
| 1 | 05-30-2024 02:54 PM | |
| 3 | 05-30-2024 01:15 PM |
| Online Status |
Offline
|
| Date Last Visited |
4 weeks ago
|