While trying to execute the perl script, I am getting the following error.
use Netegrity::PolicyMgtAPI;print "Success";
Can anyone let me know what may be the reason for this and how to resolve this?
Note : This is not the first time, I am executing the perl script on this box, I have already executed even before a month without any issue.
I tested the above successfully. What might be happening is that you have both the Policy Server and Web Agent on the same server, but they are different versions(12.8PS & 12.52 WA perhaps). While this does work, it can cause errors like this one.
In Windows, the PATH variable will point to both the Policy Server and Web Agent DLLs, some of which are common and share the same names. However if the versions don't match, the run time errors can occur.
You might be able to change the order of references in the PATH, but most likely you will need to separate the components onto different servers.
Hope this helps!
Yes, you are correct. Have both policy server and web agent on the same machine. Tried uninstalling web agent and that resolved the issue.
Thanks for your help.