What does HRESULT 0x8011040D (COMADMIN_E_CANTCOPYFILE) mean?

 
Previous Next
COMADMIN_E_ROLEEXISTS COMADMIN_E_NOUSER

COMADMIN_E_CANTCOPYFILE

COMADMIN_E_CANTCOPYFILE is the failure HRESULT 0x8011040D (signed decimal -2146368499, unsigned decimal 2148598797). Its severity bit is 1, facility is 17 (FACILITY_ITF), and the facility-specific code field is 0x040D.

COM+ application package and file operation: exact meaning of COMADMIN_E_CANTCOPYFILE

A required file could not be copied during COM+ deployment or export. The operation has identified source and destination artifacts but fails in the file-copy phase.

AllStat records this condition as “An error occurred copying the file”.

Where COMADMIN_E_CANTCOPYFILE occurs

The HRESULT belongs to COM+ package/import/export processing; the package path, file bytes, deployment identity, and target catalog must be correlated before changing the system. In the specific case of COMADMIN_E_CANTCOPYFILE, record source and destination paths, hashes, ACLs, free space, sharing violations, and whether antivirus or deployment tooling intercepted the copy.

Evidence to collect before repair

  • For COMADMIN_E_CANTCOPYFILE, preserve exact source/destination paths and the caller identity; it anchors the failure to the real administration object.
  • Evidence for COMADMIN_E_CANTCOPYFILE should include file size, hash, version, signature, and timestamps, captured before a repair changes state.
  • Collect source and target Windows/COM+ versions when diagnosing COMADMIN_E_CANTCOPYFILE; without it the symbolic HRESULT is underdetermined.
  • The COMADMIN_E_CANTCOPYFILE investigation needs underlying file-system or package-validation error from events so the exact failing boundary remains reconstructable.

Diagnostic sequence for COMADMIN_E_CANTCOPYFILE

  • For COMADMIN_E_CANTCOPYFILE, preserve the original package before attempting repair.
  • At the COMADMIN_E_CANTCOPYFILE boundary, validate path access and package integrity under the actual identity.
  • The next COMADMIN_E_CANTCOPYFILE diagnostic action is to compare export options and target-platform support.
  • To isolate COMADMIN_E_CANTCOPYFILE, regenerate the package from a coherent source application when metadata is wrong.
  • For COMADMIN_E_CANTCOPYFILE, repeat the complete supported install/export operation and verify catalog state.

Retry and recovery

Resolve the concrete copy failure and restart the supported COM+ operation; avoid manually copying only one file from a multi-file package.

Difference from nearby COMADMIN results

COMADMIN_E_APP_FILE_WRITEFAIL concerns writing the application file, while this code can involve a component, type library, proxy/stub, or package companion file.

Practical administration scenario

Component installation reads the DLL but cannot copy a dependent type library into the application directory.

Official Microsoft references for COMADMIN_E_CANTCOPYFILE


Looking for a different code? Search another status or error code.