Solved

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

Posted on 2009-07-03
6
601 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

707 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now