Chuyện của sys

DevOps Blog

Lỗi : "corflags : error CF001 : Could not open file for writing" when trying to modify a Controller EXE file November 5, 2014

Problem(Abstract)

Customer is trying to use ‘corflags.exe’ to modify a Controller executable (for example to solve problem in separate Technote 1508588). An error appears.

Symptom

corflags : error CF001 : Could not open file for writing

Cause

The operating system cannot modify the EXE file.

There are several possible causes for this:

  • Scenario #1 – Windows user running the command prompt does not have NTFS write access to the file
  • Scenario #2 – EXE file has the “read only” file flag ticked
  • Scenario #3 – Someone has got the EXE file (for example the program is running in Windows)

Resolving the problem

The solution varies depending on the cause:

  • Scenario #1 – Modify NTFS permission, or launch Command Prompt as a different (administrative) user
  • Scenario #2 – Right-click on the file, click “properties” and untick “read only” attribute.
  • Scenario #3 – Close the EXE file (currently running in Windows).

Nguồn : http://www-01.ibm.com/support/docview.wss?uid=swg21589922

No Comments on Lỗi : "corflags : error CF001 : Could not open file for writing" when trying to modify a Controller EXE file
Categories: Uncategorized

Lỗi : Retrieving the COM class factory for component with CLSID {xxxxxxxx} failed due to the following error: 800700c1.

Nói chung là khi tạo mới hoặc copy thư mục lên Server thông qua Veeam thì bị cái lỗi mắc dịch này.
Chi tiết thì nó có ở đây trong KB : http://www.veeam.com/kb1524
Nguyên nhân lỗi: Do Veeam FastSCP không hỗ trợ hệ điều hành 64bit.
Cách giải quyết: mặc dù nó không cung cấp gói hỗ trợ cho Windows 64 bit, tuy nhiên thì có thể giải quyết như sau:

  1. Download the Microsoft .NET Framework 2.0 SDK (64-bit version) from the Microsoft website.
  2. Install the SDK on a 64-bit machine where you want to run Veeam FastSCP.
  3. Open the command prompt (go to Start > Run, type “cmd” and press Enter).
    IMPORTANT: You must run cmd as Administrator.
  4. Change the directory to: C:\Program Files\Microsoft.NET\SDK\v2.0 64bit\Bin.
  5. Run the following command:
    corflags “C:\Program Files (x86)\Veeam\Veeam Backup and FastSCP\VeeamShell.exe” /32BIT+
  6. Run Veeam FastSCP again.
No Comments on Lỗi : Retrieving the COM class factory for component with CLSID {xxxxxxxx} failed due to the following error: 800700c1.
Categories: Uncategorized