본문 바로가기

취미생활/C#

[C#] 'Microsoft.ACE.OLEDB.12.0' 공급자는 로컬 컴퓨터에 등록할 수 없습니다

반응형

안녕하세요

 

코딩연습생입니다

 

C# Winform에서 oledb를 사용하여 엑셀 연동을 구현하실때 다음과 같은 오류가 간혹 나타납니다

 

이럴 경우 조치 할 수 있는 방법에 대해 포스팅 해보도록 하겠습니다

 

해결 방법은 Access 패키지 설치 입니다

 

1. AccessRuntime 설치

   - https://www.microsoft.com/en-us/download/details.aspx?id=39358

 

Microsoft Access 2013 Runtime

The Microsoft Access 2013 Runtime enables you to distribute Access 2013 applications to users who do not have the full version of Access 2013 installed on their computers.

www.microsoft.com

해당 링크에서 다운로 받아 설치 합니다

 

2. Microsoft Access Database Engine 2016 Redistributable 설치

   - https://www.microsoft.com/en-us/download/details.aspx?id=54920

 

Microsoft Access Database Engine 2016 Redistributable

This download will install a set of components that can be used to facilitate transfer of data between Microsoft Office System files and non-Microsoft Office applications.

www.microsoft.com

 

설치에는 별다른게 없이 다음 버튼만 누루면 설치가 완료 됩니다

 

설치 이후 컴퓨터 재부팅 후에 재실행 하시면 해당 오류가 해결 된 걸 보실 수 있습니다

 

반응형