dbTalk Databases Forums  

Setting DTS Name property

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


Discuss Setting DTS Name property in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bill Parrott
 
Posts: n/a

Default Setting DTS Name property - 06-15-2004 , 10:06 AM






I have created a Custom Task and configured the Name property the
following way:

Private Property Let CustomTask_Name(ByVal sNewName As String)
Name = sNewName
End Property

Private Property Get CustomTask_Name() As String
CustomTask_Name = Name
End Property

I compile the dll and register it successfully in DTS, but when I drop
it on the Designer workspace, I get the following error:

Error Source : Microsoft Data Transofrmation Service (DTS) Package
Error Description : Cannot Load, Save or Execute the Package if some
objects do not have a Name. Please specify Names for these objects.

My question is how is this handled automatically by the system. I've
searched the documentation and this group and found nothing that helps
me out.

Thanks,
Bill Parrott

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Setting DTS Name property - 06-15-2004 , 12:46 PM






Have you looked at this article?

Sample Custom Task Project
(http://www.sqldts.com/default.aspx?284)

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Bill Parrott" <dailyspew (AT) mindless (DOT) com> wrote

Quote:
I have created a Custom Task and configured the Name property the
following way:

Private Property Let CustomTask_Name(ByVal sNewName As String)
Name = sNewName
End Property

Private Property Get CustomTask_Name() As String
CustomTask_Name = Name
End Property

I compile the dll and register it successfully in DTS, but when I drop
it on the Designer workspace, I get the following error:

Error Source : Microsoft Data Transofrmation Service (DTS) Package
Error Description : Cannot Load, Save or Execute the Package if some
objects do not have a Name. Please specify Names for these objects.

My question is how is this handled automatically by the system. I've
searched the documentation and this group and found nothing that helps
me out.

Thanks,
Bill Parrott



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.