cannot show Visual Studio Tools for Application ed

2019-02-09 00:40发布

问题:

When I click on EDIT SCRIPT button for Script Task in SSIS 2012 package,

It does not open the Script editor rather it shows:

"cannot show Visual Studio Tools for Application editor"

Couls not load file or assembly "Microsoft.visualstudio.tools.applications.core version=10.0.0.0 ...." system can not find the file assembly specified.

I tried the solutions provided in the following links:

http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e5337b0c-7f70-4603-859e-fbc7d0cf1c37

SSIS Script Editor throws an exception

回答1:

First of all go to Program and Features and check whether you have "Microsoft Visual Studio Tools for Applications x86 Runtime 3.0" installed. Most probably you will see this below "Microsoft Visual Studio Tools for Applications x64 Runtime 3.0"

If it is not installed then you have the same issue that i have. To resolved this error, I put in my SQL Server installation disk. Then go to redist->VSTA->runtime->x86 and then run VSTA_RT30.msi



回答2:

The workaround mention in this link solved my issue: https://connect.microsoft.com/SQLServer/feedback/details/776248/could-not-load-file-or-assembly-microsoft-visualstudio-tools-applications-core

Both the x86 and x64 runtimes must be installed, currently one or both the runtimes may be missing depending on the order of the SQL Server 2012 installation. As a workaround, check in Control Panel - Programs and determine which of the component is missing (it should be listed as Microsoft Visual Studio Tools for Applications x86 or x64 Runtime 3.0). You can install the component manually from your installation disk or download from the \redist\VSTA\runtime\ folder.



回答3:

By now, SQL Server 2012 Service Pack 1 is out. Try updating your release and after that, you might even consider putting the Cumulative Update 1 on top of it.

More about CU1: http://blogs.msdn.com/b/sqlreleaseservices/archive/2012/11/21/cumulative-update-1-for-sql-server-2012-service-pack-1.aspx



回答4:

goto SQL server installer folder and install these msi files

redist/VSTA/designtime/VSTA_DT30msi redist/VSTA/runtime/x64/VSTA_RT30.msi redist/VSTA/runtime/x86/VSTA_RT30.msi