|
|||
|
|||
We have a Powershell script that works fine when run from a client PC against the CommitCRM server, using UNC paths.
But when run directly on the server, either using UNC or local paths, we get "Status 2000: General Error Occurred FAILURE" at the init line. Here's a snippet of the code: ------------------------------ add-type -Path "\\server\share\commitcrm\ThirdParty\API\CommitLib .dll" $CommitConfig = New-Object CommitCRM.Config $CommitConfig.AppName = "My Script" $CommitConfig.CommitDllFolder = "\\server\share\commitcrm\ThirdParty\UserDev" $CommitConfig.CommitDbFolder = "\\server\share\commitcrm\db" [CommitCRM.Application]::Initialize($CommitConfig) ------------------------------ |
|
|||
|
|||
Thank you for sending the log files.
Here is the error that was logged: Error 6080: Error loading the Advantage remote communication layer DLL. axServerConnect This error indicates a communication problem with the Advantage Database Server and it means that the Advantage remote communication layer DLL(s) could not be loaded. The suggested solution for this error is to put axcws32.dll somewhere in your client PC's/server search path (e.g., your \WINDOWS\SYSTEM directory). Please give it a try and let us know whether it works. |