none
SQL code connection error

    Question

  • Hi,

    I am using Entity framework in my ASP web application. but during running the page , I am getting this error:

    An OLE DB Provider was not specified in the ConnectionString.  An example would be, 'Provider=SQLOLEDB;'.

    my myconfig connection is:/

    <

    connectionStrings>

     

        <

    addname="SAMConnection_New"connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\SAM.mdf;Integrated Security=True"providerName="System.Data.SqlClient"  />

      </

    connectionStrings>

    Kindly help me out.. Thanks in advance.

     
    Sunday, August 25, 2013 6:49 PM

Answers

All replies