Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Unable to view custom task in SSIS Tool Box ..

$
0
0

Hi  All,

I have just installed SQL Server 2012 Deveploer version on my machine windows 7 ultimate version 32 bit. I am trying to resister custom SSIS task dll form .NET VS IDE 2010 with post build event for my project . The DLL is successfuly copied to /110/DTS/Task foder and we obserbed that DLL is found in C:\Windows\assembly\temp\D6F8HLD4LR  in GAC .

We are anable to find my custom DLL in SSIS Box if i am runnig in my system .but works for other system.

Doing this :

  1. C:\Windows\assembly\temp\D6F8HLD4LR
  2. Versions 4.0 – Build version .NET
  3. SSIS Custom Task – SQL Server 2012  Developer version
  4. VS IDE 2010
  5. SSIS Tool Box in 2012 not showing

Is there any reg setting is required ?

My Custom Task Code :

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SqlServer.Dts.Runtime;

namespace SSISTask
{
    [DtsTask(
DisplayName = "SSIS Task",
Description = "ErrorRepoorting :Sends email if job fails or package fails",
RequiredProductLevel = DTSProductLevel.None
)]
    public class SSISTask : Task
    {
        public override DTSExecResult Execute(Connections connections, VariableDispenser variableDispenser, IDTSComponentEvents componentEvents, IDTSLogging log, object transaction)
        {
            myName();
            return DTSExecResult.Success;
        }

        public void myName()
        {
            int i = 10;
            int j = 0;

            i = i / j;
        }
    }
}

Any input on this ?

Thanks

Sanjay


Sanjay


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>