![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I keep getting the error description of "Invalid Number of Paramters" when I try to re-open / execute my save DTS package that contains a custom task which work fine when I first start my dts package. I also get this from an example custom task which I download from Microsoft site (which uses the UI). I come across this problem before when writing customs task VB6 which was I had read only properties but none of my .Net custom tasks do. Has anyone easy come across this problem and be able to solve it ? |
#3
| |||
| |||
|
|
Do you implement CustomTaskUI or not ? If you don't you need to work around the fact that ToString is getting exposed as a COM method, since it is a method on System.Object which is where every object derives from. Workaround for that problem is to override ToString like this: ComVisible(False)> _ Public Overrides Function ToString() As String Return MyBase.ToString() End Function GertD (AT) SQLDev (DOT) Net Please reply only to the newsgroups. This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. Copyright © SQLDev.Net 1991-2003 All rights reserved. "Steve Wright" <Steve.Wright (AT) conchango (DOT) com> wrote in message news:b79fd2cf.0307080839.7274816b (AT) posting (DOT) google.com... Hi I keep getting the error description of "Invalid Number of Paramters" when I try to re-open / execute my save DTS package that contains a custom task which work fine when I first start my dts package. I also get this from an example custom task which I download from Microsoft site (which uses the UI). I come across this problem before when writing customs task VB6 which was I had read only properties but none of my .Net custom tasks do. Has anyone easy come across this problem and be able to solve it ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |