Hello I would like to ask if anyone encountered this problem. I am trying to publish this form but unfortunately this show-up and I don't know how to proceed.
@ekangeles Can you please confirm if you are publishing service to ArcGIS Enterprise or ArcGIS Online. From the screenshot it looks like you are publishing to enterprise however, just wanted to confirm.
Additionally, can you you create a test hosted feature service in ArcGIS Online/ArcGIS Enterprise you by navigating to Content > New item. Is this successful?
These steps are a good starting point to narrow down the issue.
Hello @ekangeles ! Like @wizgis said, try to create a Hosted Service from Content > New Item (Image 1) if you get the same or a similar error, probably the next steps can help you. (at least was the only solution that Work for me)
I will supose that you have an Enterprise deployment. (In my case it was 10.9.1) and your Publishing tool Services is started (Image 2)
Warning: This solution require stop your services.
I think that if Portal doesn't start completly (that is the reason because you have to wait) Arcgis DataStore doesnt' work for new Hosted Items and that is why you are getting this error.
An other alternative, you can created a Survey from an existent Geodatabase FeatureLayer insted of using an Hosted Layer. But is not a solution
Regards! Esteban Marcelloni
Image 1
Create a Hosted Service
Image 2
Check PublishingTools
Technically, I don't believe Esri has a prescribed order to stop/start Enterprise services. Personally, I always start: Portal > Server > Datastore (and use the Task Monitor to ensure each is fully turned on prior to starting the next), and stop: Datastore > Server > Portal. The only thing you really need to worry about is the server resources. Generally speaking, you want each service to have ample time/resources to turn on fully. This is why they do recommend you set the start-up type to Manual in Services.
When I do regular server maintenance, the last step that I do is I go to the Surveys website (survey123.arcgis.com) and ensure that the database connection is working. I.e., if that little box in the bottom left of the tiles appears with a number, you are good (see example below). I used to get instances where the services didn't restart fully and surveys had very odd behaviour. The only solution was to restart the services. I also found that this behaviour coincided with these images not displaying properly, making this a very easy and visual step to ensure services were running properly.
Also, there can be many reasons for the attached error. @ekangeles is this the first time you pressed publish? If you have previously pressed "Publish" and ran into an issue, that issue may be a transient issue that isn't worth worrying about. Sometimes publishing is interrupted. HOWEVER, as soon as you run into one error, you will thereafter encounter non-stop errors until you either:
To delete corrupt files from incomplete publishing attempts:
Hello @wizgis and @emarcelloni,
I tried your suggestions but unfortunately, I am encountering the similar issue with Survey123 connect with our company's enterprise.
It seems that there is some issue with the ArcGIS DataStore if you are unable to create a hosted feature service. Couple of things to check here would be :
Check if ArcGIS DataStore windows service by logging into the machine where ArcGIS Datastore is installed. After logging into the machine, search for services and in services window check if the service against ArcGIS Datastore is showing running.
@ekangeles you can also check your DataStore status using this tool, run it in a console with administrator privileges. This tool is in your Arcgis DataStore server
C:\Program Files\ArcGIS\DataStore\tools\describedatastore.bat (image 1)
Be careful with the others tools!
You have to get something like image 2.
Image 1: DataStore tools path
Image 2: Result after run describedatastore.bat