Quantcast
Channel: Scotia Systems Blog » IIS
Viewing all articles
Browse latest Browse all 2

Error 500, Installing PSPELL Spell Checker on IIS – Solved!

0
0

 

At first this seemed like a simple task, download and install PSPELL, the PHP version of the ASPELL spell checking library.

I followed the instructions, however when I tried a simple php script, I received a 500 error.   Checking the event logs showed:

 

Faulting application php-cgi.exe, version 5.2.6.6, time stamp 0x481b8f5f, faulting module aspell-15.dll, version 0.0.0.0, time stamp 0x3e03aab7, exception code 0x40000015, fault offset 0x00039f3d, process id 0x508, application start time 0x01cba287ec1ee8cf.

 

Not very helpful!    After hours of searching and head scratching, I wondered what would happen if I ran it from the command line?    Here’s the resulting error:

 

Unhandled Error: C:\aspell\dict/en-only.rws: The file "C:\aspell\data/iso8859-1.dat" is not in the proper format.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application’s support team for more information
.

 

It turns out that the dictionary files were in DOS format and needed to be in UNIX format!   A quick “dos2unix” on all of the dictionary files fixed the problem.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images