Solved

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

Posted on 2009-07-03
6
637 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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

705 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