Log in

View Full Version : Visual Fortran run-time error


Monte
3rd August 2006, 22:12
I have been using AVI2DVD for sometime now without any problems; until now. When using the HCENC encoder, as soon as it starts up, it reports a Visual Fortran run-time error:
forrtl: severe(3: error during write, unit 23, file d:\program files2\avid2dvd\Programs\hcenc\hc.dbs

Here's what I have done to try to solve it(unsuccesfully):

Uninstalled Avi2DVD, completely removed the directory's, rebooted and re-installed. Same problem.
Uninstalled again, completely removed the directory's, rebooted and re-installed to C:\Program files. Same problem
Shut down any running program that I could. Same problem.
Thinking it may have a write problem with my drive, I ran a chkdsk and defrag, and there were no problems with the drive.
I downloaded HCENC 0.18, and renamed the appropriate .exe files. Same problem.
Checked the security on the folder, and there was nothing different from any other program. I also gave users the Full Control right on that diretory, even though according to task manager, it's running under the currently logged on user, which is me, and I have administrative rights. Same problem.
Typed the error into google, and some hits were my error, but they all relate to programming a different way.

The HCENC encoder seems to always create that file, but the file size is always 0 bytes, after I clear the error. I have tried deleting the file, and like I said it always creates it, but 0 bytes.

Can anyone point me to the Visual Runtime files(DLL's or whatever) so I can try deleting them and reinstalling them from somewhere(where I don't know)?

I don't know what else to try, and any help is appreciated.

TIA.

setarip_old
3rd August 2006, 22:34
Have you tried performing a "System Restore" back to the last time things were working properly?

hank315
3rd August 2006, 23:02
I just checked the Fortran manual for that error:
The Compaq Fortran RTL I/O system detected an error condition during execution of a write statement
well, that's very helpful :)

I saw this reported once, the disk was very fragmented but yours is not, so the most probable reason is you don't have the proper rights to write in that directory.
Maybe move the HC installation to another directory solves it.

Now the database file is always written in the same directory where the HC executable resides, think I will will change that to the directory where the output file is written.