Error when Initializing Net Spell dictionary C#

747 views Asked by At

I am trying to check if a variable (Password) is in the English dictionary. When trying to use NetSpell dictionary check, I keep getting an error when trying to Initialize it. The error is a FileNotFoundException: Could not find file 'C:\Program Files (x86)\IIS Express\en-US.dic'.

**Screenshot of Error message - Could not find file 'C:\Program Files (x86)\IIS Express\en-US.dic'.

1

There are 1 answers

0
Sham On

Solved it. Copied the en-US.dic file from the library to where it was looking for it: C:\Program Files (x86)\IIS Express\en-US.dic.