- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to read a file, here is the error I am getting.
forrtl: severe (9): permission to access file denied, unit 25, file C:PROGRAM F
ILESMICROSOFT VISUAL STUDIOMYPROJECTSPANAIRfort.25
Image PC Routine Line Source
PANAIR.exe 0040B5D9 Unknown Unknown Unknown
PANAIR.exe 0040B3D3 Unknown Unknown Unknown
PANAIR.exe 0040A564 Unknown Unknown Unknown
PANAIR.exe 0040A7DE Unknown Unknown Unknown
PANAIR.exe 004041A6 Unknown Unknown Unknown
PANAIR.exe 004011E4 PANAIR 24 PANAIR.f90
PANAIR.exe 00431769 Unknown Unknown Unknown
PANAIR.exe 00428984 Unknown Unknown Unknown
kernel32.dll 7C816D4F Unknown Unknown Unknown
Press any key to continue
ILESMICROSOFT VISUAL STUDIOMYPROJECTSPANAIRfort.25
Image PC Routine Line Source
PANAIR.exe 0040B5D9 Unknown Unknown Unknown
PANAIR.exe 0040B3D3 Unknown Unknown Unknown
PANAIR.exe 0040A564 Unknown Unknown Unknown
PANAIR.exe 0040A7DE Unknown Unknown Unknown
PANAIR.exe 004041A6 Unknown Unknown Unknown
PANAIR.exe 004011E4 PANAIR 24 PANAIR.f90
PANAIR.exe 00431769 Unknown Unknown Unknown
PANAIR.exe 00428984 Unknown Unknown Unknown
kernel32.dll 7C816D4F Unknown Unknown Unknown
Press any key to continue
I have full access to this folder so I don't know why I am getting this error. Please advise.
Thanks
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This often occures the 2nd time you write to the file when the OPEN statment does not specify you are permitted to overwriteand existingfile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to read the file not write anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not that it's any comfort, but sometimes Windows files hang inaccessible or "in use" after access by a Fortran program, sometimes until reboot on 32-bit Windows. If you can't open it or remove it with other tools under Windows, Fortran can't solve this problem.
Sometimes I have wished for a repeatable way to show this problem and find out whether it has any correlation with Fortran run-time library (e.g. Windows falls behind in serving calls from Fortran).
Sometimes I have wished for a repeatable way to show this problem and find out whether it has any correlation with Fortran run-time library (e.g. Windows falls behind in serving calls from Fortran).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has your program exited abnormally before this, leaving it loaded and so still attached to the file? If so, you need to examine processes in Task Manager, find it and delete the errant process, then try again.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page