Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/296.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Microsoft Visual Studio-无法打开SSIS包中的脚本任务_C#_Sql Server_Visual Studio_Visual Studio 2012_Ssis - Fatal编程技术网

C# Microsoft Visual Studio-无法打开SSIS包中的脚本任务

C# Microsoft Visual Studio-无法打开SSIS包中的脚本任务,c#,sql-server,visual-studio,visual-studio-2012,ssis,C#,Sql Server,Visual Studio,Visual Studio 2012,Ssis,我在Microsoft visual studio中有一个SSIS软件包(2012)。当我右键单击并编辑它时,我收到以下错误: TITLE: Microsoft Visual Studio ------------------------------ The task with the name "Map Network Drive" and the creation name "Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask, Micr

我在Microsoft visual studio中有一个SSIS软件包(2012)。当我右键单击并编辑它时,我收到以下错误:

TITLE: Microsoft Visual Studio
------------------------------

The task with the name "Map Network Drive" and the creation name "Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask, Microsoft.SqlServer.ScriptTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" is not registered for use on this computer.
Contact Information:
Script Task

------------------------------
BUTTONS:

OK
------------------------------

我无法打开“编辑任何任务”

由于脚本任务安装不正确,可能会出现此问题。请检查以下文件夹中是否存在
Microsoft.SqlServer.ScriptTask.dll
文件(假设它是64位平台):

  • C:\Program Files\Microsoft SQL Server\110\DTS\Tasks
  • C:\ProgramFiles(x86)\Microsoft SQL Server\110\DTS\Tasks
  • C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.ScriptTask\v4.0_11.0.0.0_89845DCD80CC91

  • 如果任何文件夹中缺少
    Microsoft.SqlServer.ScriptTask.dll
    文件,请将其中一个文件(从其他文件夹或其他正在工作的SSIS服务器)复制到该文件夹中。或者,您也可以使用命令行工具
    gacutil.exe
    将任务程序集安装到全局程序集缓存(GAC)中。

    关于如何修复此问题,我已经尝试了10篇不同的文章,我非常确定这篇文章是最重要的。明确地说,我还重新安装了SSDT(2013年和2015年)。