mardi 5 juillet 2011 16:13
I am getting below Error when I request an report from .net application. In IIS i am using the anonymous user as one of our domain accounts.
Microsoft Office Excel cannot access the file '***********.xlsx'. There are several possible reasons:
• 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 a currently open workbook.
When I use the local system user in IIS the report works. Not sure what accces has to be given to the Domian user in IIS.
Just to add a Point. I have checked the three points mentioned in the error message.
File and path exists.
no other application is running
and it is a different name from any other..
--> I have given the application pool account full control on the folder as well.
Any help or suggestions would be greatly appreciated
Toutes les réponses
mardi 5 juillet 2011 21:09
Got it resolved by following the below steps.
Go to microsoft excel application in Dcom Congigaration and in properties use Interity user as the Domiain account used for Application pool
- Marqué comme réponse SQL_Help mardi 5 juillet 2011 21:09
mercredi 18 avril 2012 05:06
I am also getting the same error
and i tried solution suggested by you but now I am getting new error
"Access is denied"
suggest me how to deal with it....
jeudi 16 août 2012 11:20
The following link helped to me and hopefully it will be also useful for you.