IsVisualStudio2012ProInstalled() method not found error when running an SSIS package from VS2012

后端 未结 6 1073
野的像风
野的像风 2020-12-23 11:21

I\'m trying to run an SSIS package in Visual Studio 2012. When I click the \"Start\" button I get this very odd error in a popup from Visual Studio:

Method          


        
相关标签:
6条回答
  • 2020-12-23 12:03

    This is probably happening because you have Visual Studio 2013 and the BI tools for it installed also. If you use Visual Studio 2013 for the same package it will probably work. The other answer suggesting the run of gacutil to register the old version may have negative impacts later when you want to use the Visual Studio 2013 tools for SSIS.

    0 讨论(0)
  • 2020-12-23 12:05

    I had the exact same thing just happen and miraculously now my machine has been "fixed". (I actually had it happen on both a Win 8.1 machine and a new Win 7 machine.)

    My colleague and I noticed that the SSIS toolbox was missing from my IDE. After opening an SSIS package, going to the SSIS menu, and adding back in my "SSIS Toolbox", for some strange reason, my packages now run fine.

    I'm guessing a recent update reset the behavior of the IDE.?.?

    If this black magic worked for me, I'm hoping it will work for others.

    EDIT: I had the behavior revert itself.

    I uninstalled SQL Server 2012 SP2 HF 5522, then rebooted I then uninstalled SQL Server 2012 SP2, then rebooted After that, my IDE still gave the error. I then tried to apply SQL Server SP1 CU 9, but my environment said it wasn't needed. I then rebooted one last time.

    My SSIS Packages run again.

    Voodoo...

    0 讨论(0)
  • 2020-12-23 12:07
    1. Open the Developer Command Prompt for VS212 as Administrator

    2. execute the command cd "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies"

    3. execute the command gacutil /if Microsoft.SqlServer.Dts.Design.dll

    4. restart Visual Studio

    Source msdn Fail to start project

    For visual Studio 2013 execute the command cd "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies" in point 2 and then execute point 3 and 4.

    0 讨论(0)
  • 2020-12-23 12:09

    If you're running across this issue somewhat after the fact (as I did), it appears that it has been fixed in a later release of the SSDT-BI tools installer. Either that, or the process of re-installing fixed it for me.

    The file name of the installer on the download page has not changed, but there was a new version released in March of 2015. The new version number is 11.0.5583.0, and the previous version that was causing this error was 11.0.3436.0.

    So a simple update might be sufficient. It worked for me with no changes to the GAC.

    0 讨论(0)
  • 2020-12-23 12:11

    The following is the command we have to use to resolve the issue:

    "C:\Program Files\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\gacutil.exe" /if "C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.SqlServer.Dts.Design.dll"

    Make sure that your dll file and Gacutil.exe file locations are correct. It may be different in other systems.

    Note: You should open your “Command Prompt” as an administrator to run the above command.

    0 讨论(0)
  • 2020-12-23 12:14

    I experienced the same problem.

    Downloaded and installed SQL Server 2012 SP2 and that seemed to have fixed the problem.

    Hope this helps!!

    0 讨论(0)
提交回复
热议问题