invalid provider factory name.

Posts   
 
    
shekar
User
Posts: 327
Joined: 26-Mar-2010
# Posted on: 08-Nov-2013 08:57:47   

LLBLGen 4.0 MY SQL Server C# Windows Application LLBLGen Runtime framework

Hello, Any idea why I am getting the following error ?



Log Entry : 
11/08/2013 13:23:04
Error Message:DbProviderFactoryInvariantName is set to an invalid provider factory name.   at SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.get_FactoryToUse() in c:\Myprojects\VS.NET Projects\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\Persistence\DbProviderFactoryInfo.cs:line 212
   at SD.LLBLGen.Pro.DQE.MySql.MySqlSpecificCreator.get_FactoryToUse() in c:\Myprojects\VS.NET Projects\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\MySqlDQE\MySqlSpecificCreator.cs:line 272
   at SD.LLBLGen.Pro.ORMSupportClasses.DynamicQueryEngineBase.get_FactoryToUse() in c:\Myprojects\VS.NET Projects\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\Persistence\DynamicQueryEngineBase.cs:line 2258
   at SD.LLBLGen.Pro.ORMSupportClasses.DaoBase.CreateConnection(String connectionString) in c:\Myprojects\VS.NET Projects\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\SelfServicingSpecific\DaoBase.cs:line 1981
   at SD.LLBLGen.Pro.ORMSupportClasses.DaoBase.CreateConnection() in c:\Myprojects\VS.NET Projects\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\SelfServicingSpecific\DaoBase.cs:line 1972
   at SD.LLBLGen.Pro.ORMSupportClasses.DaoBase.DetermineConnectionToUse(ITransaction containingTransaction) in c:\Myprojects\VS.NET Projects\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\SelfServicingSpecific\DaoBase.cs:line 1996
   at SD.LLBLGen.Pro.ORMSupportClasses.DaoBase.CreateQueryFromElements(ITransaction transactionToUse, QueryParameters parameters) in c:\Myprojects\VS.NET Projects\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\SelfServicingSpecific\DaoBase.cs:line 2634
   at SD.LLBLGen.Pro.ORMSupportClasses.DaoBase.PerformGetMultiAsDataTableAction(DataTable tableToFill, ITransaction transactionToUse, QueryParameters parameters) in c:\Myprojects\VS.NET Projects\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\SelfServicingSpecific\DaoBase.cs:line 1264
   at SD.LLBLGen.Pro.ORMSupportClasses.DaoBase.GetMultiAsDataTable(IEntityFields fieldsToReturn, DataTable tableToFill, Int64 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPredicate selectFilter, IRelationCollection relations, Boolean allowDuplicates, IGroupByCollection groupByClause, ITransaction transactionToUse, Int32 pageNumber, Int32 pageSize) in c:\Myprojects\VS.NET Projects\LLBLGen Pro v4.0\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\SelfServicingSpecific\DaoBase.cs:line 1042
   at DALGeneric.TypedViewClasses.VcurrentdatetimeTypedView.Fill(Int64 maxNumberOfItemsToReturn, ISortExpression sortClauses, Boolean allowDuplicates, IPredicate selectFilter, ITransaction transactionToUse, IGroupByCollection groupByClause, Int32 pageNumber, Int32 pageSize) in E:\Datum\Sekar\SAAS MySQL\SAAS MySQL\DALGeneric\TypedViewClasses\VcurrentdatetimeTypedView.cs:line 146
   at DALGeneric.TypedViewClasses.VcurrentdatetimeTypedView.Fill() in E:\Datum\Sekar\SAAS MySQL\SAAS MySQL\DALGeneric\TypedViewClasses\VcurrentdatetimeTypedView.cs:line 70
   at BLLIntegratedClubManagementSystem.DateTimeClass.Currentdatetime() in E:\Datum\Sekar\SAAS MySQL\SAAS MySQL\BLLIntegratedClubManagementSystem\DateTimeClass.cs:line 20
   at BLLGeneric.TitleClass.Insert(String description) in E:\Datum\Sekar\SAAS MySQL\SAAS MySQL\BLLGeneric\TitleClass.cs:line 78
   at UILGeneric.TitleForm.Insert() in E:\Datum\Sekar\SAAS MySQL\SAAS MySQL\UILGeneric\TitleForm.cs:line 111
____________________________________________________________________

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39912
Joined: 17-Aug-2003
# Posted on: 08-Nov-2013 10:06:51   

For mysql you need the DevArt MySQL connector, the free one (the express version) is enough. Did you install that one? The one from MySQL itself isn't supported.

Frans Bouma | Lead developer LLBLGen Pro
shekar
User
Posts: 327
Joined: 26-Mar-2010
# Posted on: 08-Nov-2013 11:49:05   

Otis wrote:

For mysql you need the DevArt MySQL connector, the free one (the express version) is enough. Did you install that one? The one from MySQL itself isn't supported.

Thank you