We have an ASP.NET website that uses a database in which we want to use a connection string to reach it. We have successfully created a DSN to connect to this database, but I can’t find the correct magic to go with the connection string.
Is there an easy way to translate values from a DSN to a connection string? I know that from the user interface there is no obvious answer to this question ... each db provider provides a different interface for creating a DSN based on what they need. However, I was hoping that under the user interface, this could just do something like creating a connection string backstage, and I could look at that to see what I'm doing wrong. Any hope of that? If so, what pointers to information do I need?
(I went to connectionstrings.com to make sure my connection string is in the correct format, but nothing works ... that's why I'm trying to make this weird translation from-dsn clock.)
EDIT: Something I shouldn't have talked about is that we don’t want to have a DSN record. We have created it and used it for now, but we want to get rid of it and use connectionstring without a dsn.
Beska source
share