Just upgraded to 10.3 and unable to publish versioned data even though the database is registered with the server. I just get the message "Feature Service requires a registered database". With 10.2 I was able to right click on the analyze error and register the version but now I get an error that the database has already been registered.
Amy,
Create a connection to your database specifically for your transactional version. If you use Direct Connects, use the ArcToolbox tool: "Create Database Connection" (in the Data Management-->Workspace toolbox), otherwise use "Create ArcSDE Connection File" (same location) if using the ArcSDE Service. The important step with either is to specify the version to be used. With "Create Database Connection" you need to expand the Geodatabase Connection Properties section to get at the version drop-down.
Once you have that connection, register it with Server. Connect to your data with the new connection and add your versioned data to your .mxd. If you have other data as part of this same service, add it by using a connection to the default database. For Feature Services with versioned data, I tend to not have extraneous data added alongside the versioned data in the same map service. But that's just the way I do things and I don't know if that's a "best practice" or not.
Hi Brian, thanks for adding the link to that other discussion. You should go back and mark one of the answers as correct since you were the original posted in that thread...and Mark the others as helpful so others can follow/find the answer.
That did it. Thanks!
Here is my original forum post by which I learned what was necessary:
Publishing a feature service using a versioned feature class
I added the default layer using the database connection I am publishing with then created the version directly from the default version.
I don't get that error when I switch to the default version and try and publish
Also make sure that you are connected to the same Transactional Version while publishing, that was used to register the database initially.
Hi Amy,
Check to make sure that you are connected to the database as the same user you used to register the database with ArcGIS Server.
For example, if I registered the database as 'user1', but then I connect as 'user2' to publish the data, I will receive an error that the database is not registered.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.