I developed an application on my pc that does the following: from an upload of a word document, it generates a new document with some basic information. To generate this information, it opens the template document, finds a tag that exists in that template, and replaces the content for each tag (3 in total). On my pc it worked perfectly, however, when I went to the server, it gets with the following image error.
Detail:belowStackTracethereisalinethatshowstheprojectpathofmypceventhoughtheapplicationisonanothercomputer.
ErrorText:
FailedtorecoverfactoryCOMClassesfromthecomponentwithCLSID{000209FF-0000-0000-C000-000000000046}duetothefollowingerror:80070005Accessisdenied.(ExceptionfromHRESULT:0x80070005(E_ACCESSDENIED)).
FailedtorecoverfactoryCOMclassesofthecomponentwithCLSID{000209FF-0000-0000-C000-000000000046}duetothefollowingerror:80070005Accessisdenied.(ExceptionfromHRESULT:0x80070005(E_ACCESSDENIED)).
Description:AnunhandledexceptionoccurredduringtheexecutionofthecurrentWebrequest.Examinethestacktraceformoreinformationabouttheerrorandwhereitoriginatedinthecode.
ExceptionDetails:System.UnauthorizedAccessException:COMfactoryrecoveryofCOMcomponentswithCLSIDfailed