Replies: 3 comments 6 replies
-
If you post here and the forums, reference both posts in both places. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Does SQL Server limit the number of connections for your user or to the whole DB? |
Beta Was this translation helpful? Give feedback.
1 reply
-
It almost sounds like there's connectivity issues between the server and the domain controller. There's some tracing/logging options with the driver that might reveal some more info about the issues but there should also be Windows event logs about NTLM auth errors. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a server setup that hosts Mirth as well as a SQL Server database containing application data that Mirth transforms to HL7 (this isn't the Mirth database).
I have a service account (mirthsql) that has permissions to the database and all of the tables within the database that I use for the database connector. I have several channels setup (both inbound and outbound) that use the same user for the database connections, however I get an error on 2 of the channels and I don't know why. The mirthsql user works on 1 database writer but not the other; works on one database reader but not the other.
Code:
I've tried the URL without integrated security and this is the error:
I also have a transform step on an outbound channel (source is database, destination is HL7). The database connection is setup with the mirthsql user, and it consistently gets connected to the database. However, In the transform step, I'm running a script to format OBX segments
Code:
The above works for my username, but the mirthsql account has this error:
When Integrated security is false:
When I've tried to the set the var username to 'domain\mirthsql' then this is the error:
The driver, the connection URL and the username / password are the same on every channel, just on some channels it works and on others it doesn't. The mirthsql user has the db_owner role on the database so doesn't seem to be a permissions issue and since Mirth and the database are hosted on the same server, I didn't think it was firewall. I'm not sure what else could be the issue and I'm hoping for some guidance on what to check or what to troubleshoot next. I'm trying to pass the support to another person, but I can't do it while my username and password are hardcoded (especially in the transform script) and I need it to be the mirthsql user.
Beta Was this translation helpful? Give feedback.
All reactions