473,387 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

QueryInterface for interface DTS.CustomTask failed.

24
I am getting this in the attempt to execute a DTS Package from Asp.Net (framework 1.1) Code. SQL version is 2008 running in 2005 compatibility mode . I've played with the SQL version (mode 2000,2008) trying to solve it but no luck.

Expand|Select|Wrap|Line Numbers
  1.             oConnection = oPackage.Connections.New("SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True")
  2.             oStep = oPackage.Steps.New
  3.             oTask = oPackage.Tasks.New("DTSBulkInsertTask")
  4.             oCustomTask = oTask.CustomTask
  5.             With oConnection
  6.                 oConnection.Catalog = "DoNotCall"
  7.  
Please help.

Thanks
Oct 5 '10 #1
0 889

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jason | last post by:
I'm writing a small console app in .NET that needs to reference a 3rd party dll. I wrote the app by adding a reference to the 3rd party dll in my project and my code builds and executes...
0
by: Deeps | last post by:
Hi I have created an interface called IGlobal with some properties exposed with a fixed Guid. Created a class inherting this interface. This is my com+ server. I have a client instantiating this...
4
by: Ram | last post by:
I am running a test web site on my own Win2k professional computer. I have a VB6 COM component (running on COM+) on a seperate application runnint as "Server". When running an ASP.NET page calling...
4
by: Jim Bancroft | last post by:
Hi everyone, I've recently ported a COM component into .Net using a runtime callable wrapper. The component in question is SQL Server's DTS package, if that helps. The import worked well...
0
by: henry xie via .NET 247 | last post by:
Hi there... I got some problem on the gina... I downloaded the sample gina on the microsoft website. But there is a problem, it says "The logon user interface DLL failed to load". I have no idea how...
3
by: Von Shean | last post by:
I am trying to user Bulk loader component in asp.net. The code runs perfectly fine in a test harness but gives the following error when used in a strong named dll called from asp.net using c#. The...
1
by: Michael Connerton | last post by:
The company I work for still uses Excel97. In a weaker moment I added the pia for Excel2003 in attempt to get more programatic functionality out of some Excel interfaces I have been writing. The...
1
by: adiel_g | last post by:
Hello, I have created a activeX dll in vb6 that contains some functions I am using in .NET. I created the dll in vb6 with: Instancing = 5-Multiuse MTSTransactionMode = 2-RequiresTransaction...
2
by: Aurelian Georgescu | last post by:
Hello everybody, I have a VB6 component that I must used it in a ASP.Net application. On WindowsXP and Windows 2000 everything is running nice, but on Windows 2000 Server I get the InvalidCast...
1
by: Joseph | last post by:
I have been using "XMLHTTPClass" in an asp.net module. It is properly referenced and was working up until recently. Now it is failing with the error message "QueryInterface for interface...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.