Microsoft Office Excel cannot access the file "Xxxxxxxxxxxxx.xls". Possible causes are:

Source: Internet
Author: User

System.Runtime.InteropServices.COMException (0X800A03EC): Microsoft Office Excel cannot access files "D:\Benz\Daimler\Benz.Win\ Lshbizplanfigure.xls ". Possible causes are:

? The file name or path does not exist.
? The file is being used by another program.
? The workbook you are trying to save has the same name as the workbook that is currently open.

I was puzzled by the appearance of the problem.

And the solution is very confusing.

This solution is ...

? Windows 2008 Server x64
Please do this folder.

C:\Windows\SysWOW64\config\systemprofile\Desktop

? Windows 2008 Server x86

Please do this folder.

C:\Windows\System32\config\systemprofile\Desktop

... instead of Dcomcnfg.exe.

This operation took away office automation problems on my system.

A Desktop folder seems to is necessary in the Systemprofile folder to open file by Excel.

It disappears from Windows2008, Windows2003 had the folder,
and I do it cause this error.

That is, creating a directory named Desktop in the C:\Windows\System32\config\systemprofile and C:\Windows\SysWOW64\config\systemprofile directories solves the problem

This method does solve my problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.