See here: https://github.com/ayende/rhino-etl/issues/1

Use this in your app.config and all your problems are fixed...
 providerName="System.Data.SqlClient.SqlConnection, System.Data, 
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"

On Friday, 13 May 2011 05:05:22 UTC+12, fschwiet wrote:
>
>  I was trying Rhino ETL for the first time and ran into an error 
> using InputCommandOperation to read data, the exception is "Failed to 
> execute operation <mycomponent>: The type name 'System.Data.SqlClient' 
> could not be found for connection string: <myconnection>" 
>
>   I believe the problem is that Rhino.ETL is built for .NET 2.0, and 
> the project is built against .Net 4.0.  Being a .Net 4.0 project, its 
> including the .Net 4.0 version of Sql.Data.  So, to fix this, I could 
> rebuild the project using .Net 3.5 / 2.0.  The problem with this is 
> that I'd like to be writing to RavenDB using its .Net 4.0 libraries. 
>
>   So I will need to break this project into 2, one with the ETL 
> readers that use .Net 2.0.  The second would bet a .Net 4.0 project, 
> referencing the first and implementating the write operations. 
>
>   Does this sound like the right approach, or am I missing something?

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rhino-tools-dev.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to