Provider keyword in connection string not a valid keyword

  • Thread starter Thread starter J. Muenchbourg
  • Start date Start date
J

J. Muenchbourg

I have a connection string in Web.config that works with my dreamweaver
type asp.net scripts:

<add key="MM_CONNECTION_STRING_datasource"
value="Provider=SQLOLEDB;SERVER=100.00.00.01;UID=sa;PWD=mypassword;DATAB
ASE=mydbase;" />

..but i get an application error when working with indigenous asp.net :

<add key="ConnectionString"
value="Provider=SQLOLEDB;SERVER=100.00.00.01;UID=sa;PWD=mypassword;DATAB
ASE=mydbase;" />


...saying that "Provider" is not a supported keyword
 
J. Muenchbourg said:
I have a connection string in Web.config that works with my dreamweaver
type asp.net scripts:

<add key="MM_CONNECTION_STRING_datasource"
value="Provider=SQLOLEDB;SERVER=100.00.00.01;UID=sa;PWD=mypassword;DATAB
ASE=mydbase;" />

.but i get an application error when working with indigenous asp.net :

<add key="ConnectionString"
value="Provider=SQLOLEDB;SERVER=100.00.00.01;UID=sa;PWD=mypassword;DATAB
ASE=mydbase;" />

What type of Connection are you trying to set this to?
 
Back
Top