Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Getting an error when opening Dexterity

Posted on by

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:
  • mavrick5au Profile Picture
    mavrick5au on at
    RE: Getting an error when opening Dexterity

    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.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,915 Most Valuable Professional on at
    RE: Getting an error when opening Dexterity

    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

  • mavrick5au Profile Picture
    mavrick5au on at
    RE: Getting an error when opening Dexterity

    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.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,915 Most Valuable Professional on at
    RE: Getting an error when opening Dexterity

    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

  • mavrick5au Profile Picture
    mavrick5au on at
    RE: Getting an error when opening Dexterity

    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
    David Musgrave MVP ... 13,915 Most Valuable Professional on at
    RE: Getting an error when opening Dexterity

    Hi Mark

    Is your antivirus getting in the way?

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

    Regards

    David

  • mavrick5au Profile Picture
    mavrick5au on at
    RE: Getting an error when opening Dexterity

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

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,915 Most Valuable Professional on at
    RE: Getting an error when opening Dexterity

    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/.../

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,915 Most Valuable Professional on at
    RE: Getting an error when opening Dexterity

    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

  • mavrick5au Profile Picture
    mavrick5au on at
    RE: Getting an error when opening Dexterity

    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?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans