Consultor Eletrônico



Kbase 21138: Finding Out the File Name Using Its File Number -- Win32
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/2/2004
Solution ID: 21138

FACT(s) (Environment):

Windows 32 Intel
Windows NT 32 Intel/Windows 2000

SYMPTOM(s):

Finding Out the File Name Using Its File Number -- Win32

SYSTEM ERROR: Seek error <value>, file <value>, addr <value>. (163)

SYSTEM ERROR: I/O error <n> in <program>, ret <n>, file <n>, addr <n>. (290)

CAUSE:

Progress errors sometimes refer to a file number without providing the corresponding file name.

FIX:

Using a 3rd party utility from www.sysinternals.com, called Handle.exe, the file handles that Progress is using can be identified. Handle.exe is a command line tool that will show you all of the processes that are running at the current time. It displays all of the main files used by the process, in the order of access.

Use handle.exe as follows:

c:\handle.exe -p prowin32.exe | more

This gives you results much like this:

prowin32.exe pid: 1480 PROGRESS\rcervant
18: File C:\RCERVANT\vers91b
74: Section \BaseNamedObjects\geometrysharedmap
78: Section \BaseNamedObjects\InternatSHData
80: File C:\dlc91b\promsgs
a0: File C:\RCERVANT\vers91b\lbi00660
a4: File C:\dlc91b\convmap.cp
ac: File C:\RCERVANT\vers91b\proedit\vslick.sta
b0: File C:\RCERVANT\vers91b\srt00660
b4: File C:\dlc91b\gui\adecomm.pl
b8: File C:\dlc91b\gui\adecomp.pl
bc: File C:\dlc91b\gui\adedesk.pl
c0: File C:\dlc91b\gui\adedict.pl
c4: File C:\dlc91b\gui\adeedit.pl
c8: File C:\RCERVANT\vers91b\DBI00660
cc: File C:\dlc91b\gui\adeicon.pl
d0: File C:\dlc91b\gui\aderes.pl
d4: File C:\dlc91b\gui\adeshar.pl
d4: File C:\dlc91b\gui\adeshar.pl
d8: File C:\dlc91b\gui\adetran.pl
dc: File C:\dlc91b\gui\adeuib.pl
e0: File C:\dlc91b\gui\adeweb.pl
e4: File C:\dlc91b\gui\adexml.pl
e8: File C:\dlc91b\gui\as4dict.pl
ec: File C:\dlc91b\gui\prodict.pl
f0: File C:\dlc91b\gui\protools.pl
f4: File C:\dlc91b\probuild\eucapp\euc.pl
118: Section \BaseNamedObjects\sharemem.c.rcervant.vers91b.sports.0
18c: File C:\RCERVANT\vers91b\sports.lg
190: File C:\RCERVANT\vers91b\sports.db
194: File C:\RCERVANT\vers91b\sports.db
198: File C:\RCERVANT\vers91b\sports.b1
19c: File C:\RCERVANT\vers91b\sports.d1
1a0: File C:\RCERVANT\vers91b\sports.d1
1a4: File C:\RCERVANT\vers91b\sports_7.d1
1a8: File C:\RCERVANT\vers91b\sports_7.d2
1ac: File C:\RCERVANT\vers91b\sports_7.d2
1b0: File C:\RCERVANT\vers91b\sports_8.d1
1b4: File C:\RCERVANT\vers91b\sports_8.d2
1b8: File C:\RCERVANT\vers91b\sports_8.d2
1bc: File C:\RCERVANT\vers91b\sports_9.d1
1c0: File C:\RCERVANT\vers91b\sports_9.d2
1c4: File C:\RCERVANT\vers91b\sports_9.d2
1c8: File C:\RCERVANT\vers91b\sports_10.d1
1cc: File C:\RCERVANT\vers91b\sports_10.d2
1d0: File C:\RCERVANT\vers91b\sports_10.d2
1d4: File C:\RCERVANT\vers91b\sports_11.d1
1d8: File C:\RCERVANT\vers91b\sports_11.d2
1dc: File C:\RCERVANT\vers91b\sports_11.d2
1e0: File C:\RCERVANT\vers91b\sports_12.d1
1e4: File C:\RCERVANT\vers91b\sports_12.d2
1e8: File C:\RCERVANT\vers91b\sports_12.d2