Silverlight / WPF - Micorsoft Interop dll Problem after hosting the application in remote server

Asked By gopal krish on 02-Nov-12 08:10 AM
hi..

i have used microsoft interop dll in my silverlight web application wcf service.

i hosted the application in my remote server then i click a button i received the below error.

Exception :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)).


how to rectify this issue..
need ur suggestions with examples...

regards
gopal.s
Robbe Morris replied to gopal krish on 02-Nov-12 08:57 AM
The windows account that your WCF service runs under in IIS (application pool) does not have access rights to your COM dll or one of its dependencies.  You are most likely running your site under Network Service or some other lower priviledged windows account.