Solved

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

Posted on 2009-07-03
6
622 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

821 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