Solved

Can't put  .Net assembly for SSIS package on SQL Server?

Posted on 2009-07-03
6
631 Views
Last Modified: 2013-11-10
My SSIS package has been customised using .NET.  A new .Net assembly which introduces the new .NET classes for datasource interaction is referenced by the SSIS package.
The DBAs are strict on a policy that SQL Server 2005 servers are dedicated database servers and will not allow me to add the custom dll to the server.  Is there a way around this?
0
Comment
Question by:Lucret09
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 7

Expert Comment

by:Mohed Sharfi
ID: 24771465
Hi Lucret09,
How are you
Assembly can be added to the Global Assembly Cache (GAC) by using .NET framework 2.0 Configuration. This is listed under Control Panel-> Administrative tools. Open it and expand .NET Framework 2.0 Configuration- expand My Computer. Select Assembly Cache. Click on the second link Add an assembly to the assembly cache link in right pane.  Browse the assembly and add
thanks
0
 
LVL 7

Expert Comment

by:Mohed Sharfi
ID: 24771494
you can also put assemblies into C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies and that they have to be strongly named to appear in the list. It is possible to use private assemblies in code but to do that you have to use late binding and something along the lines of Activator.CreateInstanceFrom

0
 
LVL 7

Expert Comment

by:Mohed Sharfi
ID: 24771508
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

Author Comment

by:Lucret09
ID: 24771699
Please can you expand on "It is possible to use private assemblies in code but to do that you have to use late binding and something along the lines of Activator.CreateInstanceFrom".

I am not allowed add the dll to the GAC.
0
 
LVL 7

Accepted Solution

by:
Mohed Sharfi earned 500 total points
ID: 24771787
Ok, you can see Activator.CreateInstanceFrom Method here:
http://msdn.microsoft.com/en-us/library/system.activator.createinstancefrom(VS.71).aspx
thanks
0
 

Author Comment

by:Lucret09
ID: 24772024
How does it get around having a non standard dll on the SQL server?
0

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question