I have Layers within a Enterprise Geodatabase.
I was able to successfully create a network dataset. build the Network, Make a Route Analysis Layer but when i add stops and try and Solve a Route, i get an error.
Here is the error i get
I make sure i always rebuild the dataset. I am curious if the Make a route layer needs to be imported into my enterprise Geodatabase as well then the route can be created. If so, how do you Make a Route Analysis Layer that is within the Enterprise Geodatabase.
Your workflow seems fine, and you should be able to create a Route layer using a network in an Enterprise gdb. I suspect something is wrong with the network. When you ran Build Network, did you get a warning about build errors? If so, you should inspect the build errors reported (it's in a text file, and the warning message gives you the filepath for the text file). My guess is something caused awful problems when building the network, resulting in it having no valid edges.
To respond specifically to this question: "I am curious if the Make a route layer needs to be imported into my enterprise Geodatabase as well then the route can be created. If so, how do you Make a Route Analysis Layer that is within the Enterprise Geodatabase."
No, Pro doesn't support creating a route analysis layer whose sublayer data is in an Enterprise geodatabase. The workflow you're using now is the correct workflow, which is why I suspect a problem with the network.