반응형
- SQL Server 2008 설치 에러, Visual studio tools for applications 2.0, vsta.exe, SSIS_ScriptTask, SSIS_ScriptComponent
SQL Server 2008을 설치할 때 Visual studio tools for applications 2.0 관련 에러가 발생하는 경우가 있다.
이 때 Detail.txt 로그 파일을 열어서 아래의 내용을 확인할 수 있다면 이 포스트의 내용을 주목해 보시길…
참고로 Detail.txt는 %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\Log\설치년월일_설치일시 아래에 위치한다.
예) C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20100326_144522
2010-03-26 14:48:20 SSIS: Running:
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vsta.exe /hostid SSIS_ScriptTask /setup
2010-03-26 14:48:28 SSIS:
Application failed with error -1:
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vsta.exe /hostid SSIS_ScriptTask /setup
2010-03-26 14:48:28 SSIS:
Running: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vsta.exe /hostid SSIS_ScriptComponent /setup
2010-03-26 14:48:29 SSIS:
Application failed with error -1:
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vsta.exe /hostid SSIS_ScriptComponent /setup
이 에러는 이미 SQL Server 2008이 설치되어 있는 시스템에서 SQL Server 2008을 다시 설치할 경우 발생하곤 하는데, Visual Studio Tools for Applications 2.0 이 깔끔하게 삭제되지 않은 것이 원인이다.
SQL Server 2008을 다시 설치할 경우에는 Microsoft 고객지원 사이트(영문)에도 확인할 수 있듯이 제어판에서 아래의 프로그램을 반드시 삭제해 주어야 한다.
- SQL Server 2008
- Visual Studio 2008 Shell*integrated mode
- Visual Studio Tools for Applications 2.0
그래도 같은 에러가 발생한다면 명령 프롬프트 창에서 아래의 명령어를 실행한 후 SQL Server 2008을 설치해 보자.
이 명령어는 로그에 있는 SSIS_ScriptTask와 SSIS_ScriptComponent 에 관련된 레지스트리 항목과 파일을 삭제한다.
REG DELETE HKEY_CURRENT_USER\Software\Microsoft\VSTAHost\SSIS_ScriptTask /f
REG DELETE HKEY_CURRENT_USER\Software\Microsoft\VSTAHost\SSIS_ScriptComponent /f
REG DELETE HKEY_LOCAL_MACHINE\Software\Microsoft\VSTAHost\SSIS_ScriptTask /f
REG DELETE HKEY_LOCAL_MACHINE\Software\Microsoft\VSTAHost\SSIS_ScriptComponent /f
rd /s /q "%AppData%\Microsoft\VSTAHost\SSIS_ScriptTask"
rd /s /q "%AppData%\Microsoft\VSTAHost\SSIS_ScriptComponent"
rd /s /q "%USERPROFILE%\Local Settings\Application Data\Microsoft\VSTAHost\SSIS_ScriptTask"
rd /s /q "%USERPROFILE%\Local Settings\Application Data\Microsoft\VSTAHost\SSIS_ScriptComponent"
rd /s /q "%ProgramFiles%\Microsoft SQL Server"
rd /s /q "%ProgramFiles%\Microsoft Visual Studio 9.0"
반응형
'연구개발 > SQL2005' 카테고리의 다른 글
COUNT Vs EXISTS (0) | 2011.07.18 |
---|---|
Cross Apply를 이용한 그룹별 Top N 질의 (0) | 2011.07.18 |
SSMS에서의 System.Security.Cryptography.CryptographicException 에러 (0) | 2011.07.18 |
인덱스 정보를 조회하는 뷰 New (0) | 2011.07.18 |
MS SQL Server 2005 설치 후 기본적으로 해야 할 일 (0) | 2011.07.18 |