(70) Permission Denied when writing new file from VB 6.0

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • letkok

    (70) Permission Denied when writing new file from VB 6.0

    Help! When I run the VB program in test mode while looking at the
    code, it functions correctly and creates the desired file. When I
    compile it on the server and try to have it run from the scheduler, I
    get the error 70 - Permission Denied. I have a report which comes
    down thru our system. The VB code reads the first few lines of the
    report to determine which file to write out. Then it tries to write a
    copy of the original file back to the network. This is when I get the
    error. Thanks for your help!
  • the Wiz

    #2
    Re: (70) Permission Denied when writing new file from VB 6.0

    letkok@mail.amc .edu (letkok) wrote:
    [color=blue]
    >Help! When I run the VB program in test mode while looking at the
    >code, it functions correctly and creates the desired file. When I
    >compile it on the server and try to have it run from the scheduler, I
    >get the error 70 - Permission Denied. I have a report which comes
    >down thru our system. The VB code reads the first few lines of the
    >report to determine which file to write out. Then it tries to write a
    >copy of the original file back to the network. This is when I get the
    >error. Thanks for your help![/color]

    The ID the program is running under doesn't have permission to write in the
    desired place on the server. Check with your server admin.

    More about me: http://www.jecarter.com/
    VB3/VB6/C/PowerBasic source code: http://www.jecarter.com/programs.html
    Freeware for the Palm with NS Basic source code: http://nsb.jecarter.com
    Drivers for Pablo graphics tablet and JamCam cameras: http://home.earthlink.net/~mwbt/
    johnecarter at@at mindspring dot.dot com. Fix the obvious to reply by email.

    Comment

    Working...