I am running C# ASP.NET 4.5 web application on Windows 7 64-bit using IIS 7.5. The application pool it uses has the name \'ASP.NET v4.0\' and its identity is ApplicationPool
Test like this.Sometimes, permission problem.
cmd => dcomcnfg
Click
Component services >Computes >My Computer>Dcom config> and select micro soft Excel Application
Right Click on microsoft Excel Application
Properties>Give Asp.net Permissions Select Identity table >Select interactive user >select ok
Properties>Give Asp.net Permissions
Select Identity table >Select interactive user >select ok