Michael Kochilla
asked on
Azure connection string for OleDb in Asp.net webconfig
We have an asp.net 4.5 c# project where we are moving the database from a local connection to Azure. Our main connection string with Azure works fine. Is there a change in formatting that needs to be done in order for our OleDb connection string to connect with our Azure database properly?
Currently in the web config we have the following for the OleDb connection:
connectionString="Provider=SQLNCLI11;Server=Our Server Name;Database=Our Database Name; Trusted_Connection=yes;"
Any ideas and suggestions are welcome.
Thanks for your help!
Currently in the web config we have the following for the OleDb connection:
connectionString="Provider=SQLNCLI11;Server=Our Server Name;Database=Our Database Name; Trusted_Connection=yes;"
Any ideas and suggestions are welcome.
Thanks for your help!
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Open in new window
But do note the comment:
https://www.connectionstrings.com/sql-server-native-client-11-0-oledb-provider/
hence, you may consider to use other providers instead.