What does this error mean?

Results 1 to 2 of 2

Thread: What does this error mean?

  1. #1
    ChrisH Guest

    Default What does this error mean?

    I&#039m trying to create a text file using the FileSystemObject, and I get this error:<BR><BR>Server object error &#039ASP 0177 : 800a004c&#039 <BR><BR>Server.CreateObject Failed <BR><BR>/staff/webtraining/chris/visual_exam/item.asp, line 76 <BR><BR>The operation completed successfully. <BR><BR><BR>Can anyone explain what&#039s going wrong? The code I&#039m using is included below:<BR><BR>If (fso.FileExists(pathName & "results.txt")) = False THEN<BR> set resultFile = fso.CreateTextFile(pathName & "results.txt", true)<BR> resultFile.close<BR>END IF<BR><BR>pathname is a variable holding the path to the current directory, and it&#039s the line that actually creates the file that is causing the error.<BR><BR>Thanks,<BR>Chris<BR><BR>

  2. #2
    ChrisH Guest

    Default It's OK

    It&#039s OK, I worked it out. Turned out I just had the wrong path! D&#039oh!

Posting Permissions

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