List:MySQL on Win32« Previous MessageNext Message »
From:Wade Date:June 15 2004 1:01pm
Subject:Re: System Error: MySql is not a Valid Win32 Application
View as plain text  
06152004 0601 GMT-6

06142004 2204 GMT-6

Ok. I tried downloading a different version - twice - from two different 
locations.
This I went looking again for more answers and I foun this:

/ Event ID 7000 and "%1 Is Not a Valid Win32 Application" Error Message 
When You Start a Service
View products that this article applies to.
SYMPTOMS
One or more of the services that are installed on your computer do not 
start, and one of the following issues occurs:

* You receive the following error message:
Error 193: %1 is not a valid Win32 application.
-and-
* The following event is logged in the System event log for each service 
that does not start:

Event ID: 7000
Source: Service Control Manager
Type: Error
Description:
The ServiceName service failed to start due to the following error: %1 
is not a valid Win32 application.

CAUSE
This issue may occur if the path of the executable file for the service 
contains spaces.

When Windows starts a service, it parses the path of the service from 
left to right. If both of the following conditions are true:

* The path of a service’s executable file contains spaces.
* There is a file or folder on your computer’s hard disk that has the 
same name as a file or folder in the path to the service's executable file.

Windows may locate and try to run the file or folder before it locates 
and runs the executable file for the service.

For example, if the path of the executable file for a service is 
C:\Program Files\MyProgram\MyService.exe, and if a folder that is named 
C:\Program also exists on your hard disk, Windows locates the C:\Program 
folder on your hard disk before the C:\Program Files\MyProgram\My 
Service.exe file, and then tries to run it.
RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious 
problems that may require you to reinstall your operating system. 
Microsoft cannot guarantee that you can solve problems that result from 
using Registry Editor incorrectly. Use Registry Editor at your own risk. 
To resolve this issue, add quotation marks around the following value in 
the Windows registry, where <ServiceName> is the name of the service:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>\ImagePath 

The ImagePath value contains the path of the executable file for the 
service. To add quotation marks around the ImagePath value for a service:

1. Click Start, and then click Run.
2. In the Open box, type regedit, and then click OK.
3. Locate, and then click the following registry entry, where 
<ServiceName> is the name of the service:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>.
For example, if the service is named MyService, locate the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService key.
4. In the right pane, double-click ImagePath.
5. In the Value data box, add quotation marks around the complete path 
of the executable file for the service.

For example, if the path of the MyService service is C:\Program 
Files\MyProgram\MyService.exe, change the entry in the Value data box 
for the MyService service to the following

"C:\Program Files\MyProgram\MyService.exe"
6. Click OK, and then quit Registry Editor./


So, I changed my path. I created a new folder and installed my services. 
BAM! It worked. I have a C:\Web Dev\ folder I was using for testing and 
the space between web and dev was the problem.

Wade
Thread
System Error: MySql is not a Valid Win32 ApplicationWade15 Jun
RE: System Error: MySql is not a Valid Win32 ApplicationPF: MySQL15 Jun
Re: System Error: MySql is not a Valid Win32 ApplicationWade15 Jun
Re: System Error: MySql is not a Valid Win32 ApplicationWade15 Jun