Hi!
I hope someone can help me here. I have this line in my app.config file
where datafeeds is a DSN that is setup and working (tested it when setting it up). When debugging the error I get is that the database is invalid or cannot be found. When I change the code in app.config to be
which accesses the same server and database that the DSN tries to access, it works. Due to security issues, I need to use a DSN and not have user id and password in the connection string.
Any ideas?
Thanks!
I hope someone can help me here. I have this line in my app.config file
HTML:
<add key="GEN_DbDsn" value="Data Source=datafeeds;"/>
HTML:
<add key="GEN_DbDsn" value="Address=server\instance;Trusted_Connection=True;Database=b2b;Connect Timeout=180;"/>
Any ideas?
Thanks!
Last edited by a moderator: