Viewing 8 posts - 1 through 8 (of 8 total)
My guess as to your error posted is your connection manager is setup to use the 'OleDB' provider instead of .Net provider
when you do the directcast to a SQLConnection...
December 1, 2010 at 4:47 pm
if anyone knows of contract doing (c#, .net, asp.net,biztalk, etc.) in seattle area please let me know.
Sorry for shameless self-promotion 😉
Below is another way to skin the cat for ssis,sftp,...
August 26, 2009 at 5:00 pm
I'm not sure what you are trying to do, but you can execute a stored procedure
in the "Data Flow" tab by using a "OLE DB Source" control and then in...
March 24, 2009 at 12:40 pm
I think the problem is that you are using a "script component" from the "Data Flow" tab and I'm referring to a "script task" from the "Control Flow" tab.
March 24, 2009 at 12:00 pm
"g_DBAgilSourceOleDBWin" should be the name of your connection manager.
Someone else had a question and posted their code. I responded back using whatever name they were using for their...
March 24, 2009 at 10:58 am
It's hard to know without seeing the error that's being thrown.
My guess is that your DTS connection ("SQLDEVGA01.EBIS1") is not configured using '.Net Providers\SqlClient Data Provider'.
February 20, 2009 at 4:41 pm
Try this, I think it should work.
Dim mConn As SqlClient.SqlConnection = DirectCast(Dts.Connections("g_DBAgilSourceOleDBWin").AcquireConnection(Nothing), SqlClient.SqlConnection)
Dim cmd As SqlClient.SqlCommand = New SqlClient.SqlCommand()
cmd.Connection = mConn
cmd.CommandText = "MyDBName.dbo.myStoredProc" 'note: added MyDBName.dbo. to commandtext and...
February 11, 2009 at 2:16 pm
The following will do it. It would be better to use a SSIS configured Data Source instead of storing the connection string in a package variable but I have...
August 21, 2008 at 2:48 pm
Viewing 8 posts - 1 through 8 (of 8 total)