SSIS 2008 R2 Script Task Error with VSTA
Issue :
I have a package with a Data Flow task that contains a Script Component. I edit it and attempt to edit script and I get the following error:
Registration information for this application needs to be updated. To update, log on as an administrator and run this command:
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VSTA.exe /HostID SSIS_ScriptComponent /setup
About a minute later, another box displays with the following message
Cannot show Visual Studio Tools for Applications editor.
Additional information:
The VSTA designer failed to load. “System.Runtime.InteropServices.COMExeption (0x80004005) Error HRESULT E_FAIL has been returned from a call to a COM component at VSTADTAProvider.Interop.VSTADTEProiderClass.GetDTE(String bysHostID, Uint32 dwTimeout).
Resolution :
Run the following steps in cmd promt
1. cd "C:\program files (x86)\microsoft visual studio 9.0\common7\ide\"
2. vsta.exe /hostid SSIS_ScriptTask
3. vsta.exe /hostid SSIS_ScriptComponent
If the above commands wont work . Please repair the SQL server 2008 R2 . Reinstall the client then it will work .
First of all, thanks for posting. I followed the steps as you listed and the commands ran successfully. However, the problem wasnt solved even though the VSTA seems to be installed fine and working from the CMD. Any thoughts? Cheers.
ReplyDeleteThank you! Worked perfectly
ReplyDelete