Hi, Guys does anyone have an idea how to fix this error "Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
App_Code.v_4ey7uw" I have tried almost everything to get it going I even installed MS-OFFICE 2007 Enterprise Edition on the Windows 2008 Server and still does not work.
This is my Hosting Environment
Windows 2008 R2
IIS 7
ASP.NET C# using Framework 4.0
all required Microsoft.Office.Interop assamblies located in the bin folder of the website
Read/Write Permission granted to Network Services and IIS User on the website in IIS
Via the IE Browser (www.domainame.com)
I does not create neither one format {.doc or .pdf} while running it via the IE Browser (www.domainname.com)
Via the Visual Studio IDE Installed on the Server where IIS is running
When I load the project and run it within the Installed Visual Studio 2010 IDE on the server it only create the word document {.doc} and it fails when saving as .pdf format throwing an error message "Word command failure"
Via the Visual Studio IDE on development Computer running Win 7 Pro
ASP.NET Project developed in Visual Studio 2010 using Framework 4.0
Within the Visual Studio IDE Development Computer it works 100% with no error.
Any Idea what am I missing or doing wrong?
TIA
Al

Khan Abrar AhmedRank #778 · 3K reputationPosted Jun 28, 2015, 1:36 AM EDT
Jose SaizRank #5,346 · 302 reputationPosted Jun 29, 2015, 2:47 AM EDT
Thank you for your reply I've tried that too and still get the same error, I created the Desktop folder in both 64 and 32 bits location.
Munesh SharmaRank #174 · 13.9K reputationPosted Jun 29, 2015, 2:54 AM EDT
Jose SaizRank #5,346 · 302 reputationPosted Jun 29, 2015, 2:39 PM EDT