PIC Vietnam

Go Back   PIC Vietnam > Microchip PIC > Các ngôn ngữ lập trình khác (CCS C, HT PIC,...)

Tài trợ cho PIC Vietnam
Trang chủ Đăng Kí Hỏi/Ðáp Thành Viên Lịch Bài Trong Ngày Vi điều khiển

 
 
Ðiều Chỉnh Xếp Bài
Prev Previous Post   Next Post Next
Old 27-01-2010, 03:41 PM   #1
ALU
Nhập môn đệ tử
 
Tham gia ngày: Jan 2010
Bài gửi: 6
:
Thumbs down MPLAB IDE "Project Manager's initialization failed..."

Lỗi: Project Manager's initialization failed: At least the MPASM toolsuite plugin or AMS30 toosuite plugin must be installeed.(MPLAB may be to be reintalled).

Sau khi cài MPLAB và chạy thì báo lỗi như trên và MPLAB không thể khởi động! Rất bực mình vì ngay khi khởi đầu đã gặp lỗi khó chịu. Tìm kiếm trên các diễn đàn (ngay cả trên forum của microchip) cũng chưa thấy hướng dẫn khắc phục nào thoả đáng! Các hướng dẫn đại loại như cài đặt lại Window hay do vấn đề bản quyền Window tôi không hài lòng bỏi vì Win của tôi cũng có bản quyền, việc cài lại các phiên bản cũ hơn cũng không tác dụng...mặc dù đã cố gắng làm sạch registry cũng không ăn thua...Tôi cũng thấy trong diễn đàn một số người hỏi về lỗi trên và không biết các bạn đã khắc phục được chưa nhưng không thấy đưa lên giải pháp!

Sau hai ngày mày mò nay đã chạy được nên post lên lỡ anh em có ai còn vướng có thể thử.

-B1: download tool này về (process monitor):
http://technet.microsoft.com/en-us/s.../bb896645.aspx
-B2: Chạy Procmon, trong phần filter chọn 'Process Name' 'is' "MPLAB" (trong đó, MPLAB do bạn nhập vào).
-B3: chạy MPLAB, báo lỗi, và stop luôn.
-B4: Quay trở lại Procmon sẽ thấy các tiến trình khi bạn chạy MPLAB. Bạn tìm trong đó sẽ thấy có key trong CLSID bị Access Denied! Vào regedit tìm key này bạn sẽ không thể làm gì với nó từ mở cho tới đổi tên hay delete...(cái này theo tôi là do virus hoặc trình chống virus đã Locked cái key đó).
-B5: Bạn bỏ Locked cho key bằng các bước sau: (xin lỗi mấy bước này tiếng Anh, song không quá khó hiểu đâu..hihi)
---------------------------------------------------------------------------------------
How do I remove a "Locked" Registry key?
« on: Apr 3rd, 2009, 11:02pm »
________________________________________
It is a frequent tactic of cybercriminals' malicious software to encode modifications to the permissions of associated registry keys. This can prevent security software from being able to remove the infected registry keys from the system registry. The procedure herein provides a step-by-step procedure for manually removing "locked" registry keys.

Warning: Manually editing the system registry can be dangerous to the proper operation of your computer. An incorrect modification can render the computer non-bootable. Always backup your registry prior to manually editing it.

For the purpose of example, the following registry key is used. It is assumed that this registry key has been maliciously altered such that the infected key cannot be removed by security software such as TrojanHunter.

HKEY_CLASSES_ROOT\CLSID\{6D794CB4-C7CD-4c6f-BFDC-9B77AFBDC02C}

The procedure below will change the permissions for registry key {6D794CB4-C7CD-4c6f-BFDC-9B77AFBDC02C}, changing its permissions to your user account and providing you full control of this specific registry key. You should then be able to delete the key.

- The procedure steps described are for a Windows Vista operating system; however, the steps are very similiar for Windows XP.

- You must be signed on with a user account that has full administrative privileges.

- To open Regedit on a Vista system:

a. Go to START>RUN and type in Regedit. Regedit.exe will appear in the Start window.

b. Right click on Regedit.exe and select "Run as administrator".

- To open Regedit on a XP system:

a. Go to START>RUN and type in Regedit.exe.

b. Click on OK to open Regedit.

Removal Procedure:

1. Open Regedit.
2. Expand HKEY_CLASSES_ROOT by clicking on the + sign next to HKEY_CLASSES_ROOT.
3. Scroll down the registry keys until you find the registry key named CLSID.
4. Expand registry key CLSID by clicking on the + sign next to CLSID.
5. Scroll down the registry keys under CLSID until you find the registry key named {6D794CB4-C7CD-4c6f-BFDC-9B77AFBDC02C}.

6. Right click on the registry key named {6D794CB4-C7CD-4c6f-BFDC-9B77AFBDC02C} and select Permissions from the menu.
7. Click on Advanced.
8. Select the Owner tab.
9. In the "Change owner to" window, highlight the one that is your personal user account.
10. Checkmark "Replace owner on subcontainers and objects".
11. Click on Apply. Your personal user account should now be in the Current Owner box.
12. Click on OK. You should now be back to the Security tab.
13. Click on OK.

14. Again, right click on the registry key named {6D794CB4-C7CD-4c6f-BFDC-9B77AFBDC02C} and select Permissions from the menu.
15. In the "Group or user names:" window, highlight the one that is your personal user account.
16. In the Permissions for (your user name), the Full Control and Read boxes should be checked under Allow. IF NOT, skip to step 22.
17. Click on OK to close the Permissions window.
18. Right click on the registry key named {6D794CB4-C7CD-4c6f-BFDC-9B77AFBDC02C} and select Delete. Confirm the Delete. The registy key named {6D794CB4-C7CD-4c6f-BFDC-9B77AFBDC02C} should disappear.
19. The registry key should now disappear and you are done with the deletion. Close Regedit.
20. Reboot your computer.
21. Rescan your computer with your security software to ensure the registry key is no longer present.

22. If your user account does not have Full Control, click on Advanced.
23. In the Permissions entries window, highlight the entry with your user account name.
24. Checkmark the box "Include inheritable permissions from this object's parent.".
25. Click on Edit
26. In the Permissions window, check mark all the boxes under Allow.
27. Check mark the box "Apply these permissions to objects and/or containers within this container only.".
28. In the Apply to: window, it should be "This key and subkeys".
29. Click on OK.
30. Click on Apply and OK.
31. Click on Apply and OK.
32. Right click on the registry key named {6D794CB4-C7CD-4c6f-BFDC-9B77AFBDC02C} and select Delete. Confirm the Delete. the registry key named {6D794CB4-C7CD-4c6f-BFDC-9B77AFBDC02C} should disappear.
33. The registry key should now disappear and you are done with the deletion. Close Regedit.
34. Reboot your computer.
35. Rescan your computer with your security software to ensure the registry key is no longer present.

NOTE 1: If the registry key that you are attempting to remove has one or more subkeys under it, you may have to change permissions, obtain full control, and delete each of the subkeys prior to deleting the main registry key.

NOTE 2: A freeware program to back up the system registry is program RegBak. It can be downloaded from the link below
---------------------------------------------------------------------------------------
-B6:Gỡ bỏ MPLAB, khởi động lại PC, cài đặt lại MPLAB (tôi cài bản mới nhất 8.43), khởi động lại PC lần nữa.
-B7: Thử xem kết quả thế nào nhé!
ALU vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
 


Quyền Sử Dụng Ở Diễn Ðàn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Smilies đang Mở
[IMG] đang Mở
HTML đang Tắt

Chuyển đến


Múi giờ GMT. Hiện tại là 11:45 PM.


Được sáng lập bởi Đoàn Hiệp
Powered by vBulletin®
Page copy protected against web site content infringement by Copyscape
Copyright © PIC Vietnam