Consultor Eletrônico



Kbase P2232: Error 43 with procopy on Windows, errno = 3
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

Windows 32 Intel
Windows NT 32 Intel/Windows 2000

SYMPTOM(s):

Errors during procopy.

** Cannot find or open file <file-name>, errno = <number>. (43)

** Cannot find or open file <file-name>, errno = 3. (43)

bkOpenControlArea error. (7104)

Target database is on a network drive.

Structure file for the target database already exists.

CAUSE:

The path for the database extents in the structure file is relative to the target machine. For example:

d D:\myDir\myDb.d1
b D:\myDir\myDb.b1

The machine where the source database sits sees the target directory with another name, due to the network mapping. For example, directory D:\myDir on the target machine may be mapped as I:\ on the source machine.

When procopy is run, Progress has no way of knowing that the D:\myDir in the structure file should map to I:\, therefore procopy tries to create the extents in D:\myDir on the local machine, and it fails.

FIX:

Take a backup with probkup on the source machine and restore it with prorest on the target machine.