CreateObject word application permission denied

Ros C 1 Reputation point
2021-08-30T05:55:06.57+00:00

Hi, my application recently upgraded Word97 to Word 2016 in my server and when I run my application, it returned me createObject permisssion denied. I have went to check the event log and it prompted "The machine-default permission setting do not grant Local Activation permission for the COM server application with CLSID {000209FF-0000-0000-C000-000000000046} .Thus I went to the registry to check and I was able to find HKEY_CLASSES_ROOT\AppID{00020906-0000-0000-C000-000000000046} only.

Do I need to add another registry name for {000209FF-0000-0000-C000-000000000046}? My source code is coded as followed :
dim WordApp
Set WordApp = CreateObject("word.application")
dim strDocName
strDocName=server.MapPath("DocTemplates") & "\" & "Template_Form43.dot"

Appreciate if anyone can assist. Thank you.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,403 questions
0 comments No comments
{count} votes