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
After giving necessary permissions in DCOM configurations I also needed to change the identity of my application in the IIS to a custom account