use dcomcnfg command from command promt. It will show DCOM configuration window, Select Security tab and edit Default Access Permission, Default launch permission and Default Configuration Permission, Add Machine Account and IIS Machine Account in All them
None
0 Points
1 Post
Access is denied - Excel.Application
Mar 12, 2008 05:24 AM|AnushkaKRajasingha|LINK
When I'm writing Excel repot in my web application by using "Microsoft.Office.Interop.Excel" ,
when I create new Application object Excel.Application exApp = new Excel.Application();
it gives an exception "Access is denied" .
I already tried to add the IUSR_-account to the Administrators group but still same problem. how can I solve this prob....!
Member
670 Points
156 Posts
Re: Access is denied - Excel.Application
Mar 12, 2008 09:53 PM|lnwThai|LINK
try on this >>> http://forums.asp.net/t/1226503.aspx if can help mark its[:#]
Member
70 Points
56 Posts
Re: Access is denied - Excel.Application
Mar 26, 2008 07:55 AM|shashiupc25|LINK
use dcomcnfg command from command promt. It will show DCOM configuration window, Select Security tab and edit Default Access Permission, Default launch permission and Default Configuration Permission, Add Machine Account and IIS Machine Account in All them
Access Denied on creation of Excel Sheet
None
0 Points
2 Posts
Re: Access is denied - Excel.Application
Mar 25, 2013 06:30 PM|perisheroy|LINK
It works!!!!
Thx so much!