I am trying to publish an SDE database layer to Portal. It is a PostgreSQL database with SDE installed. It is registered as a data source in Enterprise. I've always published by copying the data to Portal, so publishing registered data is new to me.
I have a .sde connection file to my PostgreSQL database. I can connect to it with Pro and I created a test feature class that I'd like to publish to Portal. In Pro, I am signed in to the Portal as an Administrator. I added the feature class to my Pro map. I chose Sharing > Save as Web Layer. In the dialog, here is what I filled in:
When I do an analyze or publish, I get this error 00231 Layer's data source must be registered with the server.
The options to fix it are here:
All the help documentation leads me back to creating a new data store, but it is already registered as a data source! How do I tell it to use that when I publish? Or do I somehow need to start with the feature class from my data store, rather than from the .sde file connection?
The other suggestion from analyze is the Manage Data Stores pane. It lets me see the existing data stores and create/delete, but doesn't seem to do much for my current problem.
What am I missing? Thanks!