dbTalk Databases Forums  

Custom VB tasks do not work on Windows 2003

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


Discuss Custom VB tasks do not work on Windows 2003 in the microsoft.public.sqlserver.dts forum.



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

Default Custom VB tasks do not work on Windows 2003 - 08-27-2004 , 02:54 AM






Hello All

I have built a few custom DTS tasks in VB 6.0 and they all
work well on Windows NT/Windows 2000 running SQL 2K. Now
I have a SQL 2K system on a Windows 2003 with the .Net Framework. I
did a regsvr32 on the same custom tasks and registered them within the
register task and I drag and drop the task in DTS designer I get all
sorts of type mismatch error the same tasks work fine in Win 2000
without any issues.

I am puzzled just changing from Windows 2000 to Windows 2003 the
custom tasks do not work. Is there a solution to this problem

Thanks
Simon

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Custom VB tasks do not work on Windows 2003 - 08-27-2004 , 04:21 AM






This is not a core Windows issue, I have several VB 6 tasks that I just copy
and register on 2003 machines without problems.
I would start looking at dependencies to see what else may be required, and
also validate your code, perhaps adding some error handling to give yourself
some more info.

If it happens on drag and drop sounds like it is your CustomTaskUI New or
Initialize methods.

Darren Green
http://www.sqldts.com

"Simon Lenn" <simonlenn (AT) yahoo (DOT) com> wrote

Quote:
Hello All

I have built a few custom DTS tasks in VB 6.0 and they all
work well on Windows NT/Windows 2000 running SQL 2K. Now
I have a SQL 2K system on a Windows 2003 with the .Net Framework. I
did a regsvr32 on the same custom tasks and registered them within the
register task and I drag and drop the task in DTS designer I get all
sorts of type mismatch error the same tasks work fine in Win 2000
without any issues.

I am puzzled just changing from Windows 2000 to Windows 2003 the
custom tasks do not work. Is there a solution to this problem

Thanks
Simon



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.