writeline permission denied

Ask a Question related to ASP, Design and Development.

  1. #1

    Default writeline permission denied

    I'm trying to append to a file a string such as the following: 127599.0
    127838.5 14.434 87

    first error - 500 internal server error
    refresh
    second error - echoes string...does not append file
    refresh
    third error - permission denied

    Any ideas greatly appreciated!

    <%set
    file=server.createobject("scripting.filesystemobje ct").opentextfile(server.m
    appath("mpg.txt"),8)
    file.writeline(request.querystring("start")&"
    "&request.querystring("finish")&" "&request.querystring("gallons")&"
    "&request.querystring("octane"))
    file.close%>




    Dodo Guest

  2. Similar Questions and Discussions

    1. Permission Denied...
      I'm not sure how many people have run into this problem, but it's one that is extremely annoying. When a user submits a file to me (or anyone else),...
    2. Permission denied
      I'm running a intranet site on a NT 4.0 IIS 4 server. I have a page that uses CDONTS. I recently change this intranet application to run as an...
    3. ocx permission denied
      I've updated an ocx (using VB6) that is currently being used in an asp 3.0 application. I created an internet package(using VB6) containing the...
    4. permission denied WHY?
      Hi! I wrote this script and executed on my server, with php 4.1.2 <?php $fp = fopen('test.txt', 'w'); fwrite($fp, "Bla bla"); fclose($fp); ...
    5. Permission Denied (in FTP)
      Hello, I'm having some slight issues. I have a script which creates a directory and then copies a blank file into it 4 times each with different...
  3. #2

    Default Re: writeline permission denied

    Does IUSR_machineName have NTFS permissions to write to this file?

    Also read here. [url]http://www.aspfaq.com/2109[/url]

    Ray at work

    "Dodo" <dodo@no.fly> wrote in message
    news:evBkoW7lDHA.1244@TK2MSFTNGP11.phx.gbl...
    > I'm trying to append to a file a string such as the following: 127599.0
    > 127838.5 14.434 87
    >
    > first error - 500 internal server error
    > refresh
    > second error - echoes string...does not append file
    > refresh
    > third error - permission denied
    >
    > Any ideas greatly appreciated!
    >
    > <%set
    >
    file=server.createobject("scripting.filesystemobje ct").opentextfile(server.m
    > appath("mpg.txt"),8)
    > file.writeline(request.querystring("start")&"
    > "&request.querystring("finish")&" "&request.querystring("gallons")&"
    > "&request.querystring("octane"))
    > file.close%>
    >
    >
    >
    >

    Ray at Guest

  4. #3

    Default Re: writeline permission denied

    that worked...thanks


    Dodo Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139