Class not registered Error

前端 未结 10 1948
伪装坚强ぢ
伪装坚强ぢ 2020-12-05 14:32

Running an application from Visual Studio 2012 on 64-bit computers, displays the following error message:

Retrieving the COM class factory for compon

10条回答
  •  甜味超标
    2020-12-05 15:11

    I had run into the same problem. I added reference of Microsoft.Office.Interop.Excel COM component's dll but Office was not installed on my system it wont give compile time error. I moved my application to another system and ran it..it worked successfully.

    So, I can say in my case it was the system environment which was causing this issue.

提交回复
热议问题