Microsoft Office Excel cannot access the file Microsoft.Office.Interop.Excel

 Nguồn:https://stackoverflow.com/questions/7106381/microsoft-office-excel-cannot-access-the-file-c-inetpub-wwwroot-timesheet-app/7386967#7386967

0

I've been searching around and The following two solutions both worked for me.

  1. Change to interactive user

    Steps: Run dcomcnfg

    Go to Console Root \Component Services\Computers\My Computer\DCOM Config\Microsoft Excel Application

    Right click Microsoft Excel Application

    Select Properties

    Go to Identity tab

    Select The interactive user.

    In step 2, if you can't locate that path then try running mmc comexp.msc /32 instead of dcomcnfg.

  2. Create the directory C:\Windows\SysWOW64\config\systemprofile\Desktop

Comments

Popular posts from this blog

Sending Emails in Asp.Net Identity using Dependency Injection, Sendgrid and debugging it with Mailtrap.io

Import JSON data into SQL Server

Hướng dẫn tạo Users, OU và phân quyền quản lý OU trên Windows