Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Cannot use the Microsoft.SQLServer.ManagedDTS.dll when moving my project ASP.NET

$
0
0

Hi,

I have created ssis package loaded in asp.net application.This package kept with in the application and loaded via microsoft.sql.DTs package method.

Please find the code path :

 Public Sub DtsExePackage()
        Dim oPkg As Microsoft.SqlServer.Dts.Runtime.Package
        Try
            Dim oApp As Microsoft.SqlServer.Dts.Runtime.Application = New  _
                                            Microsoft.SqlServer.Dts.Runtime.Application()
            Dim _status As String = String.Empty
            '//Load from File system 
            oPkg = oApp.LoadPackage(ConfigurationManager.AppSettings("Global_ETL_Pkg_Path"), Nothing)
            oPkg.Execute()
            oPkg.ForceExecutionResult = DTSForcedExecResult.Completion
        Catch PromisEx As Exception
            Throw PromisEx
        End Try
    End Sub

My target machine does not have MS SQL Server 2005 installed. So what do I need at minimum to get this up and running? What components do I've to install or copy over? I tried to copy just the class libraries across. I copied Microsoft.SQLServer.ManagedDTS.dll and Microsoft.SQLServer.DTSRuntimeWrap.dll into my bin directory but I got this error

Error Description:

Could not load file or assembly 'Microsoft.SqlServer.DTSRuntimeWrap, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SqlServer.DTSRuntimeWrap, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.SqlServer.DTSRuntimeWrap, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' could not be loaded. WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Please share solutions Thanks for advance

Thanks




Ranganathan.Palanisamy


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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