TMAFE Help:Dealing with System.IO.DirectoryNotFoundException
If you install a Microsoft Agent program and encounter the System.IO.DirectoryNotFoundException upon launch, this usually indicates that Microsoft Agent (and the CHARS directory) were not properly installed. Completing the below steps will address this specific issue.
Re-installing Microsoft Agent Components
Steps
- Download the MASH full setup which contains Microsoft Agent 2.0, Lernout & Hauspie TTS Engines, and the Visual Basic 6.0 runtime from here: https://tmafe.com/downloads/MASH_Setup.exe
- Launch the full setup as administrator, and make sure that all available options are checked.
- Once the setup is completed, test out the Microsoft Agent application you are trying to open to see if it works.
- It should launch properly now that the CHARS folder is recreated. If the program you are using comes with an ACS file, please move it to this folder: C:\WINDOWS\MSAGENT\CHARS or C:\WINNT\MSAGENT\CHARS if you are on Windows NT 4.0 / 2000.
Remarks
If you are still encountering this issue, it is likely that the application you are running is a "portable application" and is relying on folders in the same directory. If that is the case, do not drag the EXE of the program to your desktop. Instead, place the EXE back wherever you unzipped it from, and right-click then create a shortcut. You can then drag the shortcut to your desktop. For example, Actor Toolkit 3.0's .EXE file checks if an "ACTORS" folder is present right beside it, otherwise, you'll also encounter this error.