Microsoft Office Excel cannot access the file ‘C:\inetpub\wwwroot\*’.


This problem occurs when user wants to convert excel file to pdf file. And Microsoft Office Excel object wants to access the file at the location “C:\inetpub\wwwroot\*” or any defined location.

To resolve this issue we have to follow the following steps:

  • If the IIS server is 64 bit version then Create a “Desktop” directory at the location “C://Windows\SysWOW64\config\systemprofile\”.
  • If the IIS server is 32 bit version then Create a “Desktop” directory at the location “C://Windows\System32\config\systemprofile\”.

And give the appropriate access rights to this directory. It will resolve this problem.