Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 <System.AddIn.AddIn' is not defined ssis script vb

Author  Topic 

masterdineen
Aged Yak Warrior

550 Posts

Posted - 2013-06-04 : 03:26:49
Hello there.

I have a vb 2010 script in ssis package

and I have the following error

<System.AddIn.AddIn' is not defined

please see top part of script

Imports System
Imports System.Data
Imports System.Math
Imports Microsoft.SqlServer.Dts.Runtime
Imports System.Globalization
Imports System.IO
Imports System.Net
Imports WinSCP


<System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="", Description:="")> _
<System.CLSCompliantAttribute(False)> _
Partial Public Class ScriptMain
Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase

masterdineen
Aged Yak Warrior

550 Posts

Posted - 2013-06-04 : 03:56:43
I have just added the .NET System.AddIn reference and the error has gone.

but when I execute I get the following.

DTS script task has encountered an exception in user code,

cannot load script for execution.

but there is not error message


Go to Top of Page
   

- Advertisement -