%1 Is Not a Valid Win32 Application
来源:互联网 发布:海拉尔二中分尸案 知乎 编辑:程序博客网 时间:2024/05/29 03:21
http://support.microsoft.com/kb/812486
Article ID: 812486 - Last Review: December 3, 2007 - Revision: 2.7
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.
SYMPTOMSOne or more of the services that are installed on your computer do not start, an...
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:-and-Error 193: %1 is not a valid Win32 application.
- 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.
Back to the top
CAUSEThis issue may occur if the path of the executable file for the service contains...
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:
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:
- 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.
Back to the top
RESOLUTIONImportant This section, method, or task contains steps that tell you how to modi...
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
To resolve this issue, add quotation marks around the following entry in the Windows registry, where <ServiceName> is the name of the service:The ImagePath entry contains the path of the executable file for the service. To add quotation marks around the ImagePath entry for a service:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
To resolve this issue, add quotation marks around the following entry in the Windows registry, where <ServiceName> is the name of the service:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>\ImagePath
- Click Start, and then click Run.
- In the Open box, type regedit, and then click OK.
- Locate, and then click the following registry entry, where <ServiceName> is the name of the service:For example, if the service is named MyService, locate theHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyServicekey.
- In the right pane, double-click ImagePath.
- 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 theValue data box for the MyService service to the following"C:\Program Files\MyProgram\MyService.exe" - Click OK, and then quit Registry Editor.
- %1 Is Not a Valid Win32 Application
- %1 is not a valid Win32 application
- .exe is not a valid Win32 application
- wxPython之ImportError: DLL load failed: %1 is not a valid Win32 application.
- windows启动node程序出现ERROR in %1 is not a valid Win32 application
- Py第十六问 ImportError: DLL load failed: %1 is not a valid Win32 application
- 解决安装gulp时 %1 is not a valid Win32 application 的问题
- class 'mongoClient' not found php_mongo.dll is not a valid Win32 application for windows
- 应用程序"is not a valid Pocket PC Application"的解决方法
- VS2005中CSCx.tmp is not a valid Win32 resource file错误的解决办法
- ImportError: 'DLL load failed: %1 is not a valid Win32application.
- is not a valid virtual path.
- 'my_calendar' is not a valid tag library
- aar' is not a valid maven coordinate
- is not a valid wheel filename
- VS2012编译出来的程序,在XP上运行,出现“.exe 不是有效的 win32 应用程序” “not a valid win32 application”
- VS2012编译出来的程序,在XP上运行,出现“.exe 不是有效的 win32 应用程序” “not a valid win32 application”
- VS2012编译出来的程序,在XP上运行,出现“.exe 不是有效的 win32 应用程序” “not a valid win32 application”
- Struts2与DWR在项目中的共存解决方案
- java线程方式实现秒表
- gentoo环境下裁剪、安装内核
- Java中一个有趣的问题 BufferedOutputStream
- 在ubuntu上安装LAMP
- %1 Is Not a Valid Win32 Application
- Tablelayout 属性详解
- 学习HTML5不可错过的12家国外网站
- mfc 绘制 圆形按钮 继承CButton
- How To Install LAMP (Linux, Apache, MySQL, PHP) On Ubuntu 11.04/11.10/12.04
- Ubuntu 12.04的人工小帮手HUD介绍
- .Net 4.5中的HttpClient试用
- 达芬奇数字媒体片上系统的架构和 Linux 启动过程
- Linux Notification chain学习