Entity Framework Argument Exception :Keyword Provider is not supported



We are using Entity Framework in our Automation and today came across an issue while executing the tests that it is throwing an "Argument Exception" that "provider" keyword is not supported. 

Catalog=QAAutomationDB;Integrated Security=True; providername="System.Data.SqlClient;Connection Timeout=60"



In the Entity framework of 5 and above, need to use Simple SQL connection string instead of Entity Connection string builder so as part of fix, removed "providerName" property

Connection string - 
Catalog=QAAutomationDB;Integrated Security=True;Connection Timeout=60"

Comments

Popular posts from this blog

Why we need to test the website on different browsers ?

Information on Code Analysis tool

Master degree (CS) VS Job