T? ch?c s? ki?n ID 7000 v "%1 khng ph?i l m?t ?ng d?ng h?p l? Win32" thng bo l?i khi b?n kh?i ?ng m?t d?ch v?

D?ch tiu ? D?ch tiu ?
ID c?a bi: 812486 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

TRI?U CH?NG

M?t ho?c nhi?u c?a cc d?ch v? ?c ci ?t trn c?a b?n my tnh khng b?t ?u, v m?t trong nh?ng v?n ? sau y x?y ra:
  • Ban nhn c thng bao li sau y:
    L?i 193: %1 khng ph?i l m?t Win32 h?p l? ?ng d?ng.
    - v -
  • Cc s? ki?n sau y ?c ng nh?p s? k? s? h? th?ng ? m?i d?ch v? khng b?t ?u:

    ID s? ki?n: 7000
    Ngu?n: B? i?u khi?n d?ch v?
    Lo?i: l?i
    M t?:
    Cc ServiceName d?ch v? khng kh?i ?ng do l?i sau: %1 khng ph?i l m?t Win32 n h?p l?.

NGUYN NHN

V?n ? ny c th? x?y ra n?u ?ng d?n t?p tin th?c thi cho cc d?ch v? c ch?a d?u cch.

Khi Windows kh?i ?ng m?t d?ch v?, n phn tch ?ng d?n c?a d?ch v? t? tri sang ph?i. N?u c? hai i?u ki?n sau y l c th?t, Windows c th? xc ?nh v? tr v c? g?ng ch?y cc t?p tin ho?c th m?c tr?c khi n ?t v ch?y t?p tin th?c thi ?i v?i d?ch v?:
  • ?ng d?n c?a m?t d?ch v? t?p tin th?c thi c ch?a d?u cch.
  • C m?t t?p tin ho?c th m?c trn my tnh c?a b?n kh khn c?a ?a m c cng tn nh t?p ho?c th m?c trong ?ng d?n ?n cc d?ch v? c?a th?c thi t?p tin.
V d?, n?u ?ng d?n t?p tin th?c thi cho m?t d?ch v? l c: Program Files Files\MyProgram\MyService.exe, v n?u m?t th m?c c tn c: Program Files c?ng t?n t?i trn ?a c?ng c?a b?n, Windows ?t th m?c c: Program Files ngy kh khn c?a b?n ?a tr?c khi t?p tin c: Program Files Files\MyProgram\My Service.exe, v sau c? g?ng ? ch?y n.

GI?I PHP

Quan tr?ng Ph?n, phng php ho?c nhi?m v? ny ch?a cc b?c cho b?n bi?t lm th? no ? s?a ?i registry. Tuy nhin, v?n ? nghim tr?ng c th? x?y ra n?u b?n s?a ?i registry khng chnh xc. V? v?y, h?y ch?c ch?n r?ng b?n lm theo cc b?c sau m?t cch c?n th?n. ? b?o v? ?c thm vo, sao lu s? ng k? tr?c khi b?n s?a ?i n. Sau , b?n c th? khi ph?c s? ng k? n?u m?t v?n ? x?y ra. ? bi?t thm chi ti?t v? lm th? no ? sao lu v khi ph?c s? ng k?, h?y nh?p vo s? bi vi?t sau y ? xem bi vi?t trong c s? ki?n th?c Microsoft:
322756 Cch sao lu v lu tr? s? ng k trong Windows


? gi?i quy?t v?n ? ny, thm d?u ngo?c kp quanh cc m?c sau y trong Windows registry, ni <servicename>l tn d?ch v?:</servicename>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<servicename>\ImagePath</servicename>
M?c nh?p ImagePath ch?a cc ?ng d?n t?p tin th?c thi ?i v?i d?ch v?. ? thm d?u ngo?c kp quanh cc m?c nh?p ImagePath cho m?t d?ch v?:
  1. Nh?p vo B?t ?u, sau b?mCh?y.
  2. Trong cc M? h?p, lo?iregedit, sau b?m Ok.
  3. Xc ?nh v? tr, v sau b?m vo cc m?c nh?p registry sau y, ni <servicename>l tn c?a d?ch v?:</servicename>
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<servicename></servicename>
    .
    V d?, n?u cc d?ch v? ?c ?t theo tn MyService, xc ?nh v? tr cc
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService
    bam gi? phm.
  4. Trong ngn bn ph?i, b?m p vo
    ImagePath
    .
  5. Trong cc D liu gia tri h?p, thm d?u ngo?c kp xung quanh ?ng d?n ?y ? c?a t?p tin th?c thi ?i v?i d?ch v?.

    Cho V d?, n?u ?ng d?n c?a d?ch v? MyService l c: Program Files Files\MyProgram\MyService.exe, thay ?i m?c nh?p trong cc D liu gia tri h?p cho d?ch v? MyService ? sau y
    "C: Program Files Files\MyProgram\MyService.exe"
  6. Nh?p vo Ok, v sau b? ng k? Bin t?p vin.

Thu?c tnh

ID c?a bi: 812486 - L?n xem xt sau cng: 28 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Microsoft Windows Small Business Server 2003 Standard Edition
  • Microsoft Windows Small Business Server 2003 Premium Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
T? kha:
kbprb kbmt KB812486 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:812486

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com