error: 13, The data is invalid.

Topics: Developer Forum, User Forum
Apr 16, 2012 at 3:28 PM

We use a classic asp script to add new rules to our iirf.ini file when users register with us (pretty urls) however lately we seem to be getting the following errors which require a recycle of the application pool to fix:


The description for Event ID 3 from source Ionic Isapi Rewriting Filter cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

IIRF: event ID 3
IIRF: Could not open ini file 'd:\TicketSource\wwwroot\Iirf.ini' (error: 13, The data is invalid.)


This doesn't happen every time but its becoming more frequent, we are wondering if it is to do with the size of the iirf.ini (currently over 5000 lines and over 400 KB)

We've read that isapi checks the file's timestamp against the last entry in the file when loading it. If the asp/vbscript hasn't finished writting to the file when it gets loaded, could the above error result?

Apr 17, 2012 at 10:02 PM

I'm having the same problem.

We need to write additional rules to our iirf.ini file in a live environment but upon saving the updated iirf.ini file we intermittently get the event ID 3 error.

IIRF seemingly crashes / stops processing requests and there are no entries in the log file showing any attempt at reloading the iirf.ini file (RewriteLogLevel 1)

Any ideas?

Apr 17, 2012 at 10:22 PM

Just a thought... We have a web server the processes a lot of requests. Is it possible that IIRF is trying to process a request while dealing with an updated iirf.ini file at the same time?

Could this be the cause of the IIRF: Could not open ini file 'd:\TicketSource\wwwroot\Iirf.ini' (error: 13, The data is invalid.) error?

Jul 1, 2013 at 9:11 PM
Hi! I am having the same problem... just wanted to know if you finally found a solution,,,, Thanks a lot!