Home > Database > Mysql Tutorial > \'Rails 2.3.2 on Windows 7: Why Am I Getting '193: %1 is not a Valid Win32 Application” Error?\'

\'Rails 2.3.2 on Windows 7: Why Am I Getting '193: %1 is not a Valid Win32 Application” Error?\'

Susan Sarandon
Release: 2024-11-04 00:03:03
Original
712 people have browsed it

"193: %1 is not a Valid Win32 Application" Error in a New Rails Application on Windows 7

When creating a new Rails application on Windows 7, you may encounter the following error when attempting to access a database-dependent page:

193: %1 is not a valid Win32 application.
Copy after login

This issue often arises in conjunction with a 64-bit operating system and x64 version of MySQL installed, while Rails 2.3.2 is the active version.

Solution:

To resolve this issue, follow the steps outlined by an individual facing a similar challenge:

  1. Download libMySql.dll from the provided URL: http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/
  2. Place the downloaded libMySql.dll in the "rubybin" directory.

After completing these steps, the error should no longer persist, allowing you to access database-related content in your Rails application.

The above is the detailed content of 'Rails 2.3.2 on Windows 7: Why Am I Getting '193: %1 is not a Valid Win32 Application” Error?'. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template