dbTalk Databases Forums  

Err:Failed to find or load the registered .Net Framework Data Prov

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Err:Failed to find or load the registered .Net Framework Data Prov in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roger Solano
 
Posts: n/a

Default Err:Failed to find or load the registered .Net Framework Data Prov - 10-19-2007 , 09:06 AM






I'm trying to use SQL Server 2005 Compact Edition (3.1) with the Enterprise
Library data access block (3.1) . I want to be able to use the
DatabaseFactory.CreateDatabase method so it's all handled by the
configuration in app.config.

When I do I get an exception. "Failed to find or load the registered .Net
Framework Data Provider.".

Do you have any suggestions?

Thanks!

My machine config file already have:
<DbProviderFactories>
<add name="SQL Server Compact Edition Data Provider"
invariant="System.Data.SqlServerCe" description=".NET Framework Data Provider
for Microsoft SQL Server Compact Edition"
type="System.Data.SqlServerCe.SqlCeProviderFactory , System.Data.SqlServerCe,
Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
</DbProviderFactories>
</system.data>





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.