max_eddy
max_eddy

Reputation: 3

Login failed for user 'sa' while trying to create datasource with Railo

So I'm trying to setup Railo and I want to add a datasource. For the database I'm using Microsoft SQL server Management Studio. But now I've run into the classical problem: "Login failed for user 'sa'. ClientConnectionId:afd80ac2-0744-4a7d-a9f7-083d93adee0d"

What I've done so far:

I'm pretty much out of ideas.

Upvotes: 0

Views: 1103

Answers (2)

Regular Jo
Regular Jo

Reputation: 5510

I would also point to Leigh's answer here which explains how to turn Mixed-Mode authentication on, as this can also cause this error. Since the cause of this isn't on Railo/Lucee's end, this issue still arises in 2018.

I just don't want a useful answer to get lost to history, nor plagiarize an answer I barely found.

Upvotes: 0

max_eddy
max_eddy

Reputation: 3

After Leigh mentioned in the comments to look at my logs it had the following message: "Login failed for user 'max'. Reason: Failed to open the explicitly specified database 'test'. [CLIENT: 127.0.0.1]"

I then tried to make a connection without mentioning a database and that worked.

Upvotes: 0

Related Questions