The Movable Type Knowledge Base

%1 Is Not A Valid Win32 Application

Question

When trying to load the script in my browser, I get an error that says %1 is not a valid Win32 application.

Answer

Your server may only be configured to recognize files with .pl extensions as valid Perl scripts. Try changing the file extension on the script file from .cgi to .pl to see if the script will execute with this change.

If changing the file extension resolves the error, then this could indicate that .cgi is not mapped to the PERL executable; and you'll need to contact your host or server administrator to update the configuration for you. See also Configure Windows to use .cgi for Perl scripts for more information.

If your host is unwilling or unable to configure the server to use .cgi extensions, please see Using .pl instead of .cgi for script files for information on how to configure Movable Type to use .pl instead.

If changing the file extension does not resolve the error, then this could indicate other problems on the server, and further diagnositcs may be required.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.