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

The VSTA designer failed to load: "System.Runtime.InteropServices.COMException (0x80004005):..."

$
0
0

[I'm reposting here as requested in the SQL Server Setup & Upgrade forum.]

I've just reinstalled the OS and apps on my PC.  When I open a script task and click "edit script..." I get this message:

------------------------------
Cannot show Visual Studio 2008 Tools for Applications editor.
------------------------------
ADDITIONAL INFORMATION:

The VSTA designer failed to load:  "System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at VSTADTEProvider.Interop.VSTADTEProviderClass.GetDTE(String bstrHostID, UInt32 dwTimeout)
   at Microsoft.SqlServer.VSTAHosting.VSTAScriptingEngine.EnsureDTEObject()" (Microsoft.SqlServer.VSTAScriptingLib)
------------------------------

When I run

C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE>vsta.exe /hostid SSIS_ScriptTask
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE>vsta.exe /hostid SSIS_ScriptComponent

VSTA fails to start up and I get:

---------------------------
Microsoft Visual Studio Tools for Applications 2.0
---------------------------
Registration information for this application needs to be updated. To update, log on as an administrator and run this command:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\vsta.exe /HostID SSIS_ScriptComponent /setup
---------------------------

So far to try and fix this I have tried the following:

  • Reinstalling SQL 2008
  • Read through and acted upon a number of similar MSDN posts including this one, this one and this one
  • Removing VSTA (then reinstalling from x86\Setup\trin_aide.msi on the SQL 2008 setup iso)
  • Following the steps in Jason H's blog
  • Doing a repair installation on SQL 2008
  • Running BIDS as administrator
  • Creating a new script task rather than trying to edit an existing one
  • Scouring the registry for "unusual things" relating to VSTA...!
  • Counting to 10

None of which have made any difference.

My setup:

  • Win 7 Enterprise 64bit
  • SQL 2008 standard (client tools) patched up to SP3 (installed from en_sql_server_2008_developer_x86_x64_ia64_dvd_x14-88839.iso)

It might be worth saying that I have seen this problem previously when I installed SQL 2008 the first time on my current pc (same OS and general environment).  I spent about a day on it and did eventually get it working - but (annoyingly) I can't remember what I did.  Either I am now less able, less lucky or less inspired but I'm getting nowhere this time round.  The one thing that rings a bell is HonestDeer's reply to this previous MSDN post (Wednesday, May 11, 2011 3:30 PM).  I seem to remember I changed a reference somewhere to a different version of VSTA and it started working - can't remember the specifics though. 

In case this is relevant: I do have an installation folder for "C:\Program Files (x86)\Microsoft Visual Studio 8" - which contains a version 8.0 of vsta.exe (in the Common7\IDE folder).  This is in addition to the v9.0 version at C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\vsta.exe.  When I initially installed BIDS/SQL, I selected the "Client Tools Backwards Compatibility" option, although deselected this when I came to reinstall it the second time.  NB: all this is following a complete reinstall of Windows 7 - so Visual Studio or SQL client tools 2005 have NOT been installed.

Please help!

Roger.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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