SQLServer 2019를 대상으로 할 때 Visual Studio 2019 SSIS 프로젝트에서 80040153 오류가 발생합니다.

Visual Studio 커뮤니티 2019 16.8.1, SQL Server 2019

VS 2019에서 새 SSIS 프로젝트를 만들었습니다. 그런 다음 Connection Manager데이터베이스에 대한 연결을 만들고 성공적으로 테스트했습니다.

SQL Task간단한 실행시 query다음 오류가 발생합니다.

[Execute SQL Task] Error: Executing the query "" failed with the following error: "Retrieving the COM class factory for component with CLSID {0EB5013B-538B-456B-AF1B-96DD1004026B} failed due to the following error: 80040153 Invalid value for registry (Exception from HRESULT: 0x80040153 (REGDB_E_INVALIDVALUE)).". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

난 비주얼 스튜디오 2017로 작성되어 동일한을 설정 SSIS 프로젝트를 열면 Connection Manager, Execute SQL Task그리고 query성공적으로 실행됩니다.

queryVS 2017 SSIS 프로젝트와 함께 작동 했기 때문에 시스템이 올바르게 구성되었다고 생각합니다.

SQL Server Integration Serives ProjectsVisual Studio 에서 확장을 제거하고 다시 설치 한 다음 SSIS 프로젝트를 삭제하고 다시 만들었습니다.

에서 .dtproj파일 항목이 있습니다.

  <Configurations>
    <Configuration>
      <Name>Development</Name>
      <Options>
        <OutputPath>bin</OutputPath>
        <ConnectionMappings />
        <ConnectionProviderMappings />
        <ConnectionSecurityMappings />
        <DatabaseStorageLocations />
        <TargetServerVersion>SQLServer2017</TargetServerVersion>
        <AzureMode>false</AzureMode>
        <LinkedAzureTenantId />
        <LinkedAzureAccountId />
        <LinkedAzureSSISIR />
        <LinkedAzureStorage />
        <RemoteExecutionFolder />
        <ParameterConfigurationValues>
          <ConfigurationSetting>
            <Id>LastModifiedTime</Id>
            <Name>LastModifiedTime</Name>
            <Value xsi:type="xsd:dateTime">2019-07-04T21:20:58.4351661Z</Value>
          </ConfigurationSetting>
        </ParameterConfigurationValues>
      </Options>
    </Configuration>
  </Configurations>

VS 2017 SSIS 프로젝트에서는 SQLServer2017. VS 2019 SSIS 프로젝트에서 SQLServer2019. 2017VS 2019 SSIS 프로젝트를 대상 으로하면 오류가 해결됩니다.

SSMS에서 쿼리를 실행하고 다음 SELECT @@VERSION과 같이보고합니다.

Microsoft SQL Server 2019 (RTM-GDR) (KB4517790) - 15.0.2070.41 (X64) Oct 28 2019 19:56:59 Copyright (C) 2019 Microsoft Corporation Developer Edition (64-bit) on Windows 10 Pro 10.0 <X64> (Build 18363: ) (Hypervisor)

타겟팅 SQLServer2019에서 오류가 발생하지만 타겟팅 SQLServer2017이 성공적으로 실행되는 이유는 무엇 입니까?

명령 프롬프트 regsvr32 SQLTaskConnections.dll에서 DLL을 등록하려면 실행해야합니다 . 이렇게하면 SQLServer2019.dtproj 파일에서 대상을 지정할 수 있습니다.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

Related 관련 기사

뜨겁다태그

보관