Solved

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

Posted on 2009-07-03
6
608 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
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…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

919 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

19 Experts available now in Live!

Get 1:1 Help Now