I'm running mysqldump.exe with needed parameters from cmd and this all works fine.
Then, all of the sudden, it started to give me a popup "Not a valid win32 application" and in the console it's saying 'Access is denied...'
What's causing this?
Thanks in advance.
The message "winzipxxx.exe is not a valid win32 application" indicates that the EXE file did not download completely. When Windows then tries to run what appears to be an executable file, it finds that it is not a valid Windows 32-bit application file due to the incomplete download.
What's a Win32 Application? Win32 is Microsoft's name for the programming interface for the 32-bit versions of Windows, meaning programs access data in blocks of 32 binary digits and can use the same amount of space to refer to sections of memory.
A Win32 error is a standard computer error that occurs mainly on computers using Windows versions 95, 98 and 2000 and often during Internet usage. When your computer gets a Win32 error, the application that the error occurred in ceases to work and you are unable to use the function on your computer.
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:
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 is the name of the service:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>\ImagePath
The ImagePath value contains the other serviceable file for the service. To add quotation marks around the ImagePath value for a service:
<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
.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, create a new folder and installed 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With