dbTalk Databases Forums  

SSIS and SQL CE

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS and SQL CE in the microsoft.public.sqlserver.dts forum.



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

Default SSIS and SQL CE - 05-06-2009 , 02:16 PM






Hello,
I need to import some tables to SQL Compact Edition file (.sdf). I've
created new SSIS package but when I'm trying to create Connection Manager to
SQL CE, there is error in provider - instead of properties there is only
message "Object reference not set to an instance of an object." displayed in
the dialog.

I have installed SQL CE 3.5 SP1. The SSIS project is created in VS2005 (I
have also VS2008 installed on the same machine). The provider used is:
ADO.NET -> .NetProviders\Microsoft SQL Server Compact Data Provider.

It is registered in machine.config as:
<add name="Microsoft SQL Server Compact Data Provider"
invariant="System.Data.SqlServerCe.3.5" description=".NET Framework Data
Provider for Microsoft SQL Server Compact"
type="System.Data.SqlServerCe.SqlCeProviderFactory , System.Data.SqlServerCe,
Version=3.5.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91"/></DbProviderFactories>
and I check the referenced assembly is also in GAC.

What could be wrong? How could I import the tables (and data) into sdf file?
Thanks
eXavier

Reply With Quote
  #2  
Old   
eXavier
 
Posts: n/a

Default RE: SSIS and SQL CE - 05-22-2009 , 04:21 AM






Hello,
finally I found out why my post was ignored even I have valid MSDN
subscription. After renewal of MSDN Subscription it is required to create new
alias email address - I wonder why I cannot just associate my existing one
and why it is not associated automatically. But it is probably topic for
different forum.

But the question still remains unanwered:

Quote:
Hello,
I need to import some tables to SQL Compact Edition file (.sdf). I've
created new SSIS package but when I'm trying to create Connection Manager to
SQL CE, there is error in provider - instead of properties there is only
message "Object reference not set to an instance of an object." displayed in
the dialog.

I have installed SQL CE 3.5 SP1. The SSIS project is created in VS2005 (I
have also VS2008 installed on the same machine). The provider used is:
ADO.NET -> .NetProviders\Microsoft SQL Server Compact Data Provider.

It is registered in machine.config as:
add name="Microsoft SQL Server Compact Data Provider"
invariant="System.Data.SqlServerCe.3.5" description=".NET Framework Data
Provider for Microsoft SQL Server Compact"
type="System.Data.SqlServerCe.SqlCeProviderFactory , System.Data.SqlServerCe,
Version=3.5.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91"/></DbProviderFactories
and I check the referenced assembly is also in GAC.

What could be wrong? How could I import the tables (and data) into sdf file?
Thanks
eXavier

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.