Can anyone think of an environment setting (e.g. SET <something> ON/OFF) which might prevent a Remote View from being created within a Database?
In an application I dynamically create a Remote View using code like:
It is pretty simple.
However when I execute it within the application EXE on a workstation, it repeatedly fails.
Error Message:
Connectivity error: [Noble Systems Corp.][ATOMIX ODBC Driver]Unable to connect
Too 'generic' to know what is actually going wrong!
But when I terminate the EXE, go into VFP and immediately execute the same code within the the very same workstation from the Command Window, it works fine.
I have also tested running the EXE on my development workstation and it runs fine.
I am guessing that there is some subtle environment setting which is not being set as needed in the EXE within the problematic workstation, but I'm not sure where to look.
I am going to try to change the workstation's Domain privilages to see if that makes a difference, but since it works interactively under the same login within VFP, I doubt that is the issue.
Has anyone else run into a similar issue and discovered any parameter(s) might be the cause?
Thanks,
JRB-Bldr
In an application I dynamically create a Remote View using code like:
Code:
OPEN DATABASE ThisDBC
SET DATABASE TO ThisDBC
CREATE SQL VIEW 'ThisView' REMOTE CONNECTION 'ThisConnect' AS SELECT * FROM RemoteData
<Do some stuff>
DELETE VIEW ThisView
It is pretty simple.
However when I execute it within the application EXE on a workstation, it repeatedly fails.
Error Message:
Connectivity error: [Noble Systems Corp.][ATOMIX ODBC Driver]Unable to connect
Too 'generic' to know what is actually going wrong!
But when I terminate the EXE, go into VFP and immediately execute the same code within the the very same workstation from the Command Window, it works fine.
I have also tested running the EXE on my development workstation and it runs fine.
I am guessing that there is some subtle environment setting which is not being set as needed in the EXE within the problematic workstation, but I'm not sure where to look.
I am going to try to change the workstation's Domain privilages to see if that makes a difference, but since it works interactively under the same login within VFP, I doubt that is the issue.
Has anyone else run into a similar issue and discovered any parameter(s) might be the cause?
Thanks,
JRB-Bldr