web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Getting an error when opening Dexterity

(0) ShareShare
ReportReport
Posted on by 6

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?

Categories:
I have the same question (0)
  • mavrick5au Profile Picture
    6 on at

    I forgot to add that once you accept the error, you then get the following message:

    Scrolling window link table not on form.

    It then opens the window to open the custom dictionary, but then gives me an error saying I don't have permission to open the dictionary.

    I am logged in as a network admin with full permissions on the folder.

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    Hi Mark

    The WatchExpressions table <Dict>DbgWchEx.dat and <Dict>DbgWchEx.idx are stored along with the References and the Workset tables along side the Dictionary you are opening.

    I would say that you are opening the dictionary in Program Files folder and that you need to launch Dexterity with Run as Administrator to allow the table to be created.

    However, you should not be opening dictionaries in the Program Files folders, they should be copied into a development folder than is not in Program Files.

    Please see my series on setting up Dexterity development environments.

    winthropdc.wordpress.com/.../

    Regards

    David

  • mavrick5au Profile Picture
    6 on at

    Thanks David.  I will give that a try.

  • mavrick5au Profile Picture
    6 on at

    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?

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    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

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    PS: I am running Dexterity Training next week 3-7th Oct in Orlando and GP Power Tools training on the 10th Oct

    winthropdc.wordpress.com/.../

  • mavrick5au Profile Picture
    6 on at

    Hi David, no my development folder is it's own folder on c:\

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    Hi Mark

    Is your antivirus getting in the way?

    exclude the extensions .dat, .idx, .tmp & .ini

    Regards

    David

  • mavrick5au Profile Picture
    6 on at

    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.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans