Tuesday, January 11, 2011

Failed to access system resource


System.InvalidOperationExceptions: Failed to access system resource., exception has been thrown by the target of an invocation at Ascentn.Workflow.WF8341.LicenseHandler.ReadLicenseFile(StringFileName) at Ascentn.Workflow.WF8341.LicenseValidator.Execute()
Ascentn.Workflow.WF8341.LicenseValidator.Validate()

This error message "Failed to access system resource" is a typical privilege issue for the account that is running the AP Server installer. As can be gleaned from the stack trace, the error is thrown at the point where it is about to read the "xx\Program Files\Common Files\Ascentn\AgilePoint Server.dat"  license file. The solution is, run the AP Server installer as a local administrator account (or "Run as administrator"), to be able to have access to the license file (xx\Program Files\Common Files\Ascentn\AgilePoint Server.dat). This should resolve the issue.

Trace:
------

System.InvalidOperationExceptions: Failed to access system resource., exception has been thrown by the target of an invocation at Ascentn.Workflow.WF8341.LicenseHandler.ReadLicenseFile(StringFileName) at Ascentn.Workflow.WF8341.LicenseValidator.Execute()
Ascentn.Workflow.WF8341.LicenseValidator.Validate()

Turn Off UAC while installing AP Server:
----------------------------------------

http://techontip.wordpress.com/2010/06/02/turn-off-user-account-control-in-windows-2008-r2/

OR

--> Control Panel -> Change User Account Control Settings -> Never Notify

No comments:

Post a Comment