How to Fix ‘The Application-Specific Permission Settings do not Grant Local Activation Permission for the COM Server Application’ Error

  • Blog
  • September 22, 2022

When using Microsoft Visual Studio to develop a COM-based application, you may come across the following error: “The Application-Specific Permission Settings do not Grant Local Activation Permission for the COM Server Application”. This error can be caused by a number of factors, but is usually due to an incorrect COM security setting. In this blog post, we’ll show you how to fix this error.

How to Fix ‘The Application-Specific Permission Settings do not Grant Local Activation Permission for the COM Server Application’ Error

What Causes ‘The Application-Specific Permission Settings do not Grant Local Activation Permission for the COM Server Application’ Error?

When you try to launch a COM server application on your computer, you may receive the following error message: “The application-specific permission settings do not grant Local Activation permission for the COM Server application.”

This error can be caused by a number of factors, including incorrect security settings or incompatible software. In order to fix this error, you will need to adjust your security settings and/or uninstall any incompatible software.

Adjusting your security settings can be done by opening the “Security” tab in the COM server application’s properties window and adding the appropriate user or group with “Local Activation” permissions. In some cases, you may also need to adjust the security settings for the DCOM component that the COM server application uses.

If you suspect that incompatible software is causing this error, you will need to uninstall any software that may be causing a conflict. In some cases, you may need to re-install the COM server application after uninstalling the conflicting software.

After making the necessary changes, you should be able to launch the COM server application without receiving the “The application-specific permission settings do not grant Local Activation permission for the COM Server application” error.

How to Fix ‘The Application-Specific Permission Settings do not Grant Local Activation Permission for the COM Server Application’ Error

If you are seeing the error message “The Application-Specific Permission Settings do not Grant Local Activation Permission for the COM Server Application”, it means that the permissions for the COM server application that you are trying to use are not set correctly. This can be caused by a number of things, but the most common cause is that the COM server application is not properly registered.

To fix this error, you will need to register the COM server application. This can be done by running the “regsvr32” command from the command prompt. For example, if the COM server application is “MyCOMServer.exe”, you would run the following command:

regsvr32 “MyCOMServer.exe”

Once the COM server application is registered, you should be able to use it without seeing the error message.

Conclusion

If you receive the “The Application-Specific Permission Settings do not Grant Local Activation Permission for the COM Server Application” error, it means that the security settings on your computer are preventing the COM server from starting up properly. To fix this, you need to edit the security settings for the COM server application.

To do this, open the “Edit COM Security Settings” dialog box by going to Start > Run, and then typing “dcomcnfg” into the Run dialog box. Once the dialog box appears, expand the “Component Services” node, expand the “Computers” node, and then click on the “My Computer” node.

Next, click on the “COM Security” tab, and then click on the “Edit Default” button in the “Launch and Activation Permissions” section. In the “Edit Default” dialog box, click on the “Add..” button.

In the “Select Users, Computers, or Groups” dialog box, type in the name of the user account that you want to give permission to, and then click on the “Check Names” button. Once the name has been resolved, click on the “OK” button.

In the “Permissions for Users” dialog box, select the “Allow” checkbox next to the “Local Activation” permission, and then click on the “OK” button.

You should now be able to start the COM server application without getting the “The Application-Specific Permission Settings do not Grant Local Activation Permission for the COM Server Application” error.

Additional Resources

If you receive the error message “The Application-Specific Permission Settings do not Grant Local Activation Permission for the COM Server Application”, it means that the application you are trying to use does not have the correct permissions set. To fix this, you will need to adjust the permissions for the application.

1. Open the Registry Editor by typing “regedit” into the Start menu.

2. Navigate to the following key: HKEY_CLASSES_ROOT\AppID\{}

3. Double-click on the “LocalService” key and set its value to “LocalService”.

4. Close the Registry Editor and restart your computer.

Now the application should have the correct permissions and you should be able to use it without any issues.

How to Fix ‘The Application-Specific Permission Settings do not Grant Local Activation Permission for the COM Server Application’ Error

    Leave Your Comment Here