connectionStrings

If you don't clear the connection strings, you have to add factories to the connection strings defined in the machine.config. The exception is, if the factory also is defined in the machine.config.
<connectionStrings>
  <clear/>
  <!-- Note, it's recommended that you always use <clear/> unless you have to use the settings from machine.config  -->
  <add name="[A database that requires the OldeDb data provider]" providerName="System.Data.OleDb" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=[Data source];User id=;Password=;"/>
</connectionStrings>

Last edited Jan 13, 2008 at 2:24 AM by dotnetCarpenter, version 3

Comments

No comments yet.