Whilst setting up an application to run on my local machine (running Vista 64bit) I encountered this error:

Could not load file or assembly ‘ChilkatDotNet2’ or one of its dependencies. An attempt was made to load a program with an incorrect format.


Obviously, the application uses ChilKat components, but it would seem that the version we are using, is only the 32bit version.

To resolve this error, I set my app pool in IIS to allow 32bit applications.
Open up IIS Manager, right click on the app pool, and select Advanced Settings (See below)


Set IIS AppPool Advanced Settings

Then set “Enable 32-bit Applications” to True.

Enable 32-Bit Applications

All done!

Disallowed Parent Path Fix

If you ever get this error:

Active Server Pages error ‘ASP 0131’

Disallowed Parent Path

The Include file ‘../myFile.asp’ cannot contain ‘..’ to indicate the parent directory.

or something similar, then below is a quick fix for those of you running IIS6, and want to allow parent paths.

Right click on the web application that’s throwing the error. in my case, its called ‘MySite’

Select Properties.


Select the Home Directory tab, as shown above.
Click Configuration


Select the Options tab, and you will see a check box for Enable Parent Paths.
Click that, and you’re good to go.