Posted on: 5/29/2012 10:43:28 AM | Views : 1171

i am generating Resume building project. so i showing contents in ms word when user click button. i am using microsoft.office.interop.word.dll and microsoft.office.core.so MSword is opening when i run application in local system. but after hosting this project it is not working(ms word is not opening even i have ms office 2010 in my server) error is coming like,
System.UnauthorizedAccessException: 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)).   at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)   at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)   at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(R ...

Go to the complete details ...