Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

How do I register .net framework assemblies after adding them to the GAC on windows server 2008 r2

$
0
0

I have at aspx .net website with vb as the code behind that I am using to present a button that when operated runs a SSIS dstx package on a windows 2008 r2 server with MS SQL Server 2008.

Originally the operation of the button threw exceptions indicating that the application could not find two assemblies on the 2008 r2 server ...Microsoft.SqlServer.ManagedDTS and Microsoft.SqlServer.DTSRuntimeWrap ...even though I had added references to them in the project VS 2012 .  On the server I noticed that Microsoft.SqlServer.ManagedDTS and Microsoft.SqlServer.DTSRuntimeWrap  were missing from the GAC on the windows 2008 r2 server.

I copied the Microsoft.SqlServer.DTSRuntimeWrap into GAC_32 and  Microsoft.SqlServer.ManagedDTS into GAC_MSIL but the application is still raising an exception indicating that I need to register the asseblies (classes?)...

COMException (0x80040154): Retrieving the COM class factory for component with CLSID {4555B0A5-E8D7-49BD-B299-3140C34D3769} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).]
   Microsoft.SqlServer.Dts.Runtime.Package..ctor() +86

[DtsComException: An Integration Services class cannot be found. Make sure that Integration Services is correctly installed on the computer that is running the application. Also, make sure that the 64-bit version of Integration Services is installed if you are running a 64-bit application.  ]
   Microsoft.SqlServer.Dts.Runtime.Package..ctor() +225
   runvbTestpackage.operaterunpackage(Object sender, EventArgs e) +24
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

How do I register the assemblies so they are usable on the 2008 r2 server? 

If I run the .net site in debug on the development client after changing the location path to the ssis package so it uses the mapped drive on the client that points to the package location the button can be operated successfully running the ssis package.

Thanks in advance for any help...If I'm missing something fundimental please excuse I am a bit new at this yet...Roscoe


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>