I have a custom application written in Dex 14, I am in the process of upgrading this to Dex 18.
However, with the new install of Dex 18 I have put on an RDS server, I am getting the following error when Dex starts up:
An open operation on table "WatchExpressions" failed because the path does not exist.
Now, I understand that this is a c-tree table from Dexterity that should be in the %TEMP% folder. I have checked the permissions on the %TEMP% folder and also have plenty of disk space free.
The odd part is I have an old folder with Dex18 installed on the same server and this does not give the same error.
So, I copied the files from the working folder into the new folder, assuming that this would fix the error but it hasn't. I am still getting the same error.
Because I don't know what this table is or contains, I don't know if it will be an issue or not.
Can anyone shed some light on this please?
That part I can't explain.
It is an RDS so maybe there is some sort of group policy that sets the permissions. No idea, but it is all working now.
You would need write permissions to be able to make any changes to the development dictionary.
Why would the write permissions be missing in the first place? someone would have had to remove them.
Regards
David
All good now. I assume one or more of these files needs to be opened in modify mode. Even though I had full permissions on the folder, the "users" user only had read permissions. It was preventing me from doing anything unless I ran it as "Run As Administrator".
Our network admin altered the permissions on the folder and it is all working now.
Thanks for your help David.
Hi Mark
I really don't know what is happening.
Do you have all the dat and idx files alongside your dictioanry?
Dictionary:
Dynamics.dic
Watch Points:
DynamicsDbgWchEx.dat
DynamicsDbgWchEx.idx
Worksets:
DynamicsResExWsH.dat
DynamicsResExWsH.idx
DynamicsResExWsM.dat
DynamicsResExWsM.idx
References:
Dynamics_ref.dat
Dynamics_ref.idx
You could try deleting the watch point files if they exist so they can be recreated. Maybe they are there but are corrupted.
Regards
David
Hi David,
No luck with that either. We temporarily turned off the AV, I did the test again but it didn't work then we turned it back on again.
I don't understand why the other folders are working an only the new folder I set up is failing.
The folders are on the same server set up the same way.
Hi Mark
Is your antivirus getting in the way?
exclude the extensions .dat, .idx, .tmp & .ini
Regards
David
Hi David, no my development folder is it's own folder on c:\
PS: I am running Dexterity Training next week 3-7th Oct in Orlando and GP Power Tools training on the 10th Oct
Hi Mark
Is your Dexterity Development folder under C:\Program Files (x86)\?
That is the problem. UAC is blocking access being able to write in that folder.
Please follow the Article below to set up your development environment, or at least move the development folder out of program files.
https://winthropdc.wordpress.com/2017/07/12/dexterity-development-environments-series/
Regards
David
Thanks David. However, that hasn't fixed my issue. I never open the dictionary from the Program Files folder. I have a separate development/test folder that contains the dexterity environment plus all of my custom files. The issue is when I open dex.exe without "Run As Administrator", I get the Watch Expressions error. When I run it with the Run As Administrator, it works fine. The other issue is that this is a new installation folder I am testing. The old folders all work correctly without Run As Administrator.
Should I delete the DbgWchEx.dat and idx files so Dex can recreate them?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156