CreatTextFile Error

Results 1 to 2 of 2

Thread: CreatTextFile Error

  1. #1
    Join Date
    Dec 1969

    Default CreatTextFile Error

    Hello all,<BR><BR>I am getting an error returned by the code of a chatroom I am making<BR> <BR>The error is<BR> <BR>Microsoft VBScript runtime error &#039 800a0046&#039 <BR><BR>Permission denied <BR><BR>/MyChat/chat.asp, line 57 <BR><BR>and it refers to the line of code:<BR><BR>Set outStream = fileObject.CreateTextFile(textFile,True)<BR><BR>Do es anyone know why this error may be returning.<BR><BR>Is it because the server wont let me create a file on it?<BR><BR>It runs fine on PWS just not when I put it on an external server<BR><BR> <BR><BR>Thanks in advance<BR><BR>Ross<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: CreatTextFile Error

    make sure u have the permissions set on the server to allow write privelages for IUSR_&#039server machinename goes here&#039 for the directory u want to create your file in.<BR>

Posting Permissions

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