生产中的SSIS包部署

时间:2014-05-30 10:28:46

标签: ssis

我已经创建了SSIS包并在SQL Server 2008中部署,并使用不同的Web服务器ASP.NET调用包,当我加载包时,我收到以下错误消息。

package errMicrosoft.SqlServer.Dts.Runtime.DtsComException:找不到Integration Services类。确保在运行该应用程序的计算机上正确安装了Integration Services。此外,如果您运行的是64位应用程序,请确保已安装64位版本的Integration Services。 ---> System.Runtime.InteropServices.COMException:由于以下错误,检索具有CLSID {BA785E28-3D7B-47AE-A4F9-4784F61B598A}的组件的COM类工厂失败:80040154未注册类(HRESULT异常:0x80040154(REGDB_E_CLASSNOTREG))。    在Microsoft.SqlServer.Dts.Runtime.Application..ctor()

以下是用于执行SSIS包的代码。

    Dim pkg As Package
    Dim app As Application
    Dim pkgResult As DTSExecResult


        app = New Application()
        pkg = app.LoadFromSqlServer("\\" & SSISPackageName, DB_ServerAddress, Nothing, Nothing, Nothing)
        pkgResult = pkg.Execute()

        If (pkgResult = DTSExecResult.Failure) Then

            For Each local_DtsError As Microsoft.SqlServer.Dts.Runtime.DtsError In pkg.Errors
                '' Logging Errors
            Next
        End If

在Web Server中我已经安装了“Integration Service”,但仍然出现错误,如果缺少要在Web服务器中安装的任何设置或运行时服务,请帮忙。

0 个答案:

没有答案
相关问题