I cannot publish surveys to portal, always get error "Code: 500 - Service Hosted/service_xxxxxxxx/FeatureServer not found".

2434
4
11-30-2016 09:31 AM
JoseReyes3
New Contributor

I am using Portal 10.4.1 and Survey123Connect 1.9.24.  This happens every time.

I created a new form with three fields, a text, a decimal and a geopoint.  This is the message:

It seems the folder is created in Portal with a single item as the feature layer:

We just upgraded to 10.4.1 and do not have previous surveys running in portal, so I created the basic form mentioned before (attached).

We were never able to published surveys to Portal 10.3.1 but remember this was an issue when publishing; it was resolved by adding the Server URL to the registered info for Survey123.  I do not see the edit option anymore as the app is now registered by default.

Any suggestions?

0 Kudos
4 Replies
DanielUrbach
Occasional Contributor II

Hi Jose,

Are there any relevant log entries in the federated ArcGIS Server?  Can you turn on debug logging in that ArcGIS Server, try to publish again and provide any log entries?

If you check in ArcGIS Server manager > Services > Hosted, is the mentioned feature service listed there?

-Danny

0 Kudos
JoseReyes3
New Contributor

Hi Daniel,

Based on your comments I did the following:

  1. Set log to "debug" mode in ArcGIS for Server
  2. Created a new form as described before
  3. Published the form

These were the results:

  1. Publishing failed with the same error (as expected)
  2. No entries at all in the log files
  3. Feature service is listed under Hosted Services with status "started", however, the only button enabled is the "delete"; "start" and "stop" are disabled.
  4. No entries in Portal log either

José

0 Kudos
JoseReyes3
New Contributor

Danny,

When querying the log files it did not return anything for the last hour, however, when I query for the last 24 hours it returned many entries for the time period I did the last publishing (don't understand why as they were all within the hour!)

I see a lot of messages regarding "invalid token".

I will try other options like removing SAML, which I have enabled in DEV (I read somewhere that this is not supported by Survey123 yet).

I will let you know what I find.

José

0 Kudos
DanielUrbach
Occasional Contributor II

Hi Jose,

Just to confirm, did you also upgrade your Datastore instance?  Does the Datastore validate in ArcGIS Server Manager > Site > Datastores?

Are you able to create an empty hosted feature layer?  See Publish hosted feature layers—Portal for ArcGIS | ArcGIS for Server and access it?

-Danny

0 Kudos