Skip to main content

Error code 3/7 on CGI executable call

  • September 25, 2012
  • 5 replies
  • 0 views

Hello friends,

I'm obtaining the follow error when trying to access a cgi program through IE

"I/O error : file '\\\\SERVER01\\payroll\\FP014.TXT' error code: 3/7 (ANS85), pc=0, call=1, seg=0"

What does this error code means?

I created a group "HR" wich can acess the folder payroll and its contents.

The program called FP014H.exe is trying to read the "FP014.txt" file on \\\\server01\\payroll.

The program is located on C:\\Inetpub\\intranet\\CGI-BIN\\FP014H.exe, i'm acessing on IE:  "server01/.../FP014H.exe"

This problem occurs wheter i call the program on IE, when logged on a HR group user or not.

5 replies

Chris Glazier
Forum|alt.badge.img+2
  • Moderator
  • 3697 replies
  • September 25, 2012

Hello friends,

I'm obtaining the follow error when trying to access a cgi program through IE

"I/O error : file '\\\\SERVER01\\payroll\\FP014.TXT' error code: 3/7 (ANS85), pc=0, call=1, seg=0"

What does this error code means?

I created a group "HR" wich can acess the folder payroll and its contents.

The program called FP014H.exe is trying to read the "FP014.txt" file on \\\\server01\\payroll.

The program is located on C:\\Inetpub\\intranet\\CGI-BIN\\FP014H.exe, i'm acessing on IE:  "server01/.../FP014H.exe"

This problem occurs wheter i call the program on IE, when logged on a HR group user or not.

A file status 37 means that the program is trying to open the file in a mode that is not supported, i.e., open I-O and file is read only or open the file when no permissions exist.

This usually will occur because the account under which IIS is running does not have permissions to access the folder.

What version of IIS are you running and what method of authentication are you using.

Also, what version of Net Express are you using?

I noticed that you are accessing the file using it's UNC name but it appears to be on the same server where IIS is running so it is a local file.

Is that correct?

Thanks.


  • Author
  • Rocketeer
  • 19312 replies
  • September 25, 2012

Hello friends,

I'm obtaining the follow error when trying to access a cgi program through IE

"I/O error : file '\\\\SERVER01\\payroll\\FP014.TXT' error code: 3/7 (ANS85), pc=0, call=1, seg=0"

What does this error code means?

I created a group "HR" wich can acess the folder payroll and its contents.

The program called FP014H.exe is trying to read the "FP014.txt" file on \\\\server01\\payroll.

The program is located on C:\\Inetpub\\intranet\\CGI-BIN\\FP014H.exe, i'm acessing on IE:  "server01/.../FP014H.exe"

This problem occurs wheter i call the program on IE, when logged on a HR group user or not.

IIS 6.0

Net Express 5.1

I have sucessfully executed it when changed to D:\\system\\payroll instead of \\\\server01\\payroll.

However another problem arised... i'm using a .css on my html file and it isn't being used. The page is not being formated according to the css definitions.

I have sucessfully used css on 5.1 an animating through SOLO.

The css file is on COBOL folder along with the html.


  • Author
  • Rocketeer
  • 19312 replies
  • September 25, 2012

Hello friends,

I'm obtaining the follow error when trying to access a cgi program through IE

"I/O error : file '\\\\SERVER01\\payroll\\FP014.TXT' error code: 3/7 (ANS85), pc=0, call=1, seg=0"

What does this error code means?

I created a group "HR" wich can acess the folder payroll and its contents.

The program called FP014H.exe is trying to read the "FP014.txt" file on \\\\server01\\payroll.

The program is located on C:\\Inetpub\\intranet\\CGI-BIN\\FP014H.exe, i'm acessing on IE:  "server01/.../FP014H.exe"

This problem occurs wheter i call the program on IE, when logged on a HR group user or not.

IIS 6.0

Net Express 5.1

I have sucessfully executed it when changed to D:\\system\\payroll instead of \\\\server01\\payroll.

However another problem arised... i'm using a .css on my html file and it isn't being used. The page is not being formated according to the css definitions.

I have sucessfully used css on 5.1 an animating through SOLO.

The css file is on COBOL folder along with the html.


Chris Glazier
Forum|alt.badge.img+2
  • Moderator
  • 3697 replies
  • September 25, 2012

Hello friends,

I'm obtaining the follow error when trying to access a cgi program through IE

"I/O error : file '\\\\SERVER01\\payroll\\FP014.TXT' error code: 3/7 (ANS85), pc=0, call=1, seg=0"

What does this error code means?

I created a group "HR" wich can acess the folder payroll and its contents.

The program called FP014H.exe is trying to read the "FP014.txt" file on \\\\server01\\payroll.

The program is located on C:\\Inetpub\\intranet\\CGI-BIN\\FP014H.exe, i'm acessing on IE:  "server01/.../FP014H.exe"

This problem occurs wheter i call the program on IE, when logged on a HR group user or not.

How is the css file being referenced in your html code?

Sometimes you might have to change these references to a full path name when moving from a Solo environment to an IIS one so it points to the correct location.

Also make sure that the folder containing the .css has read permissions.


  • Author
  • Rocketeer
  • 19312 replies
  • September 25, 2012

Hello friends,

I'm obtaining the follow error when trying to access a cgi program through IE

"I/O error : file '\\\\SERVER01\\payroll\\FP014.TXT' error code: 3/7 (ANS85), pc=0, call=1, seg=0"

What does this error code means?

I created a group "HR" wich can acess the folder payroll and its contents.

The program called FP014H.exe is trying to read the "FP014.txt" file on \\\\server01\\payroll.

The program is located on C:\\Inetpub\\intranet\\CGI-BIN\\FP014H.exe, i'm acessing on IE:  "server01/.../FP014H.exe"

This problem occurs wheter i call the program on IE, when logged on a HR group user or not.

I altered to the full path as suggested. Worked perfectly. Thank you again Chris!