Problem:
The customer tried to open a Mainframe Express project and received the following error:
Unable to reload SYSDEF.DAT file
On a second try, they got the following message:
Unable to open ProjectName.mvp. The project file may be corrupted
Solution:
The first problem with sysdef.dat is most likely caused by the person who installed the software using Admin rights and the second user using standard user rights. If the Admin user has run the product it will have created sysdef.dat and projdef.dat in the .\\mfuser\\config folder; however when the user with standard rights used the product it would have tried to recreate the sysdef.dat and projdef.dat files in .\\mfuser\\config but would not be able to overwrite the files created by the person with Admin rights.
As MFE is a single user product all users need to have the same rights to avoid this problem.
On Citrix/Terminal Server, a multi-user environment, each user would have their own copy of .\\mfuser\\...
Once the users HKCU registry keys have been set MFE will not need to recreate the sysdef.dat and projdef.dat files. These will get recreated if the MFE installed options change or an Update is applied.
It looks like the sysdef.dat and/or projdef.dat files in .\\mfuser\\config have not been created correctly as the project cannot be loaded using those definitions.
To resolve the problem, delete the files sysdef.dat and projdef.dat files from .\\mfuser\\config, you may need Admin rights to do this if that was the original problem. Don’t run MFE if you needed to use Admin rights to delete them. Using the standard rights for the user that is going to be using MFE you can then execute MFE and it will recreate the two files.
Try to open the project.
#EnterpriseDeveloper
#sysdef.datprojdef.datcorruptedmvp
#MFDS
