Excel based application doesn't work after Office 365 auto updates are pushed

Rajaiah 1 Reputation point
2020-10-22T11:20:48.237+00:00

Hi,

We have a .NET application which embeds Excel inside of it. Generally, our application is installed in PCs running in plants and they are in isolated network. So our application needs only desktop version of Excel. Some of our application engineers use corporate laptops to configure our application and then load the projects on to the plant systems. These laptops run Office 365 as mandated by our organization. Because of frequent automatic updates pushed by Office 365, our application is failing to start with the error below. On debugging I found that the registration of few .XLL modules using Microsoft.Office.Interop.Excel.Application.RegisterXLL is failing. We are not sure what is the root cause of this issue and how it is related to Office 365 but issue popped up only after Office 365 updates. Please help us overcome this error.

34312-image.png

Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,705 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Erin Ding-MSFT 4,461 Reputation points
    2020-10-23T05:32:34.447+00:00

    @Rajaiah

    Since your issue may be related to the third-party software, which means we do not have the same test environment.

    From the perspective of Office, you could try to roll back office to the previous version.
    Press Windows + R in the search bar, type the following command, click ‘OK’.
    "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user updatetoversion=#########
    (######### is the previous Office version number like 16.0.12430.20264)

    I would recommend you to post your issue on the Excel for developers forum and Office for developers forum.
    Maybe some experienced people will communicate with you there.

    If you have any updates, you could also share the solution on this thread.

    Thanks for your understanding.

    Regards,
    Erin


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.