Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / ADO.NET / March 2007

Tip: Looking for answers? Try searching our database.

My ADO.NET 2.0 Provider doesn't work in SSIS Import Export Wizard?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simon - 30 Mar 2007 05:58 GMT
Hi,
I've written an ADO.NET 2.0 provider for our company's database and a Visual
Studio DDEX design time support proivder. Everything works well and the
documentation supplied on MSDN and samples were excellent.

However I can not figure out how to get the SQL Server Integration Services
to allow me to select the "Use this option to copy all the data from the
existing tables or views in the source database" in the Import/Export Wizard.
This option is greyed out (disabled), only the "Write a query" option is
selectable. This is the same for other 3rd party ADO.NET providers, eg
Firebird, MySQL and SQLite aswell ( not to mention ODBC data sources which I
know don't let you select that option because they lack schema info )

There seems to be some "magic" going on in the
"Microsoft.DataTransformationServices.*" assemblies that is SQLServer
specific. I can't find any documentation on the web, or even a mention of it.

Appreciate any insights you can give me,
Simon.
Kent Tegels - 30 Mar 2007 14:48 GMT
Hello Simon,

For your connection class, did you implement GetSchema()? E.G., does this
work with your provider?

DbProviderFactory f = DbProviderFactories.GetFactory(...);
DbConnection conn = f.CreateConnection();
conn.ConnectionString = "...";
conn.Open();
conn.GetSchema("Tables").WriteXml(Console.Out);

That's where I'd start if I were writing a tool to discover everything I
could about a generic data provider.

Thanks!
Kent Tegels
DevelopMentor
http://staff.develop.com/ktegels

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.