locked
Unable to find the requested .Net Framework Data Provider. It may not be installed. RRS feed

  • Question

  • User179837873 posted

    Hi Friends,

     This is rambhopal reddy,I have deploy my webapplication in website..

    i have a dynamic pages..when i try to submit data to database..so then its coming this error..i have used microsoft.pratices.library files..

    this is my connectionstring:

     

    <add name="Connection String" connectionString="Data Source=datasourcename;Network Library=DBMSSOCN;Initial Catalog=databasename;User ID=UserName;Password=Pwd;" providerName="System.Data.SqlClient" />

      </connectionStrings>
      <dataConfiguration defaultDatabase="Connection String" />
     
       let  me know the solution for this problem..
     
       this is the error i got when i sumbit a form.....
    ----------------------------------------------------------------------------
     

    Unable to find the requested .Net Framework Data Provider. It may not be installed.

    at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) at Microsoft.Practices.EnterpriseLibrary.Data.DatabaseConfigurationView.GetDefaultMapping(String name, String dbProviderName) at Microsoft.Practices.EnterpriseLibrary.Data.DatabaseConfigurationView.GetProviderMapping(String name, String dbProviderName) at Microsoft.Practices.EnterpriseLibrary.Data.DatabaseCustomFactory.CreateObject(IBuilderContext context, String name, IConfigurationSource configurationSource, ConfigurationReflectionCache reflectionCache) at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfiguredObjectStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id) at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild) at Microsoft.Practices.ObjectBuilder.SingletonStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild) at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild) at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfigurationNameMappingStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id) at Microsoft.Practices.ObjectBuilder.BuilderBase`1.DoBuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies) at Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies) at Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp[TTypeToBuild](IReadWriteLocator locator, String idToBuild, Object existing, PolicyList[] transientPolicies) at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory.BuildUp[T](IReadWriteLocator locator, IConfigurationSource configurationSource) at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory.BuildUp[T](IConfigurationSource configurationSource) at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.NameTypeFactoryBase`1.CreateDefault() at Microsoft.Practices.EnterpriseLibrary.Data.DatabaseFactory.CreateDatabase() at rj.DataAccess.ContactInformationDAL.AddContactDetails(ContactInformation ContactInformation) in F:\rjDataAccess\ContactInformationDAL.cs:line 22 at ContactUs.btnSubmit_Click(Object sender, EventArgs e) in d:\hosting\member\shankar247\site1\ContactUs.aspx.cs:line 46

    Saturday, May 5, 2007 12:37 AM

Answers

All replies

  • User-1136466523 posted

    Hi,

    The first you should open or show us your machine.config file to check if it's in the right setting. And then you may use the following method to establish the connection to your database.

    http://msdn.microsoft.com/en-us/library/bf7sd233.aspx

    Thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 8, 2007 11:54 PM
  • User540335527 posted

    The link doesn't tell you anything useful.  That definintely is not the answer, I believe.

    Thursday, June 2, 2011 1:15 AM