Server.CreateObject Failed

Results 1 to 5 of 5

Thread: Server.CreateObject Failed

  1. #1
    Bee Kiat Guest

    Default Server.CreateObject Failed

    Server object error &#039ASP 0177 : 800a0046&#039 <BR><BR>Server.CreateObject Failed <BR><BR>/mysurvey/write_file.asp, line 17 <BR><BR>The operation completed successfully. <BR>

  2. #2 Guest

    Default RE: Server.CreateObject Failed

    It is not possible to even guess what the problem may be. Please show some code.

  3. #3
    Bee Kiat Guest

    Default RE: This is my code

    &#060;%<BR>whichFN = server.MapPath("results.txt")<BR>dim objFile<BR>Set objFS = Server.CreateObject("Scripting.FileSystemObject")< BR><BR>Const ForAppending = 8, ForWriting = 2, ForReading = 1<BR><BR>set objFile = objFS.OpenTextFile(whichFN, ForWriting, True)<BR><BR>objFile.WriteLine "blah"<BR><BR>set objFile = nothing<BR>%&#062;

  4. #4
    Join Date
    Dec 1969

    Default RE: This is my code

    Make sure you have write permissions on the directory that the file is in

  5. #5
    Join Date
    Dec 1969

    Default RE: how

    how do you set permissions? <BR><BR>((I basically have the same problem and I&#039ve gone through almost everything setting stuff to execute and full control and all that, but pretty sure i&#039m missing something, somewhere... ))

Posting Permissions

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