ASP 0177: Server.CreateObject Failed error


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: ASP 0177: Server.CreateObject Failed error

  1. #1
    Becky Guest

    ASP 0177: Server.CreateObject Failed error


    Hi, all,

    I'm facing a problem with my ASP code here and really don't know how to proceed.
    Hope someone outthere can give a help.

    I'm using filesystemobject in my ASP script and createTextfile method of
    filesystemobject. However, I got an error: ASP 0177: Server.CreateObject
    Failed error, at the line calling the createtextfile method.

    The portion of my code as follow:

    Dim fso,File
    set fso=server.createObject("Scripting.FileSystemObject")
    Set file = fso.CreateTExtfile("c:\test.txt",True)

    I wonder this is due to Access permission of the com object or dependent
    DLL. But then I totally have no ideas of how to check & determine if the

    that is the cause!!

    can anyone help?

    Thanks.

    Regards,

    BK






  2. #2
    Harish Kumar Guest

    Re: ASP 0177: Server.CreateObject Failed error


    Seems to be a Permissions related issue. Make sure that you've got read, write
    & execute permissions for your user ID on that particular folder.

    For more info on trouble shooting, please refer this KB article -
    http://support.microsoft.com/support.../Q175/8/04.ASP

    Let us know if it helps.

    Cheers,
    Harish

    "Becky" <boeykean@hotmail.com> wrote:
    >
    >Hi, all,
    >
    >I'm facing a problem with my ASP code here and really don't know how to

    proceed.
    >Hope someone outthere can give a help.
    >
    >I'm using filesystemobject in my ASP script and createTextfile method of
    >filesystemobject. However, I got an error: ASP 0177: Server.CreateObject
    >Failed error, at the line calling the createtextfile method.
    >
    >The portion of my code as follow:
    >
    >Dim fso,File
    >set fso=server.createObject("Scripting.FileSystemObject")
    >Set file = fso.CreateTExtfile("c:\test.txt",True)
    >
    >I wonder this is due to Access permission of the com object or dependent
    >DLL. But then I totally have no ideas of how to check & determine if the
    >
    >that is the cause!!
    >
    >can anyone help?
    >
    >Thanks.
    >
    >Regards,
    >
    >BK
    >
    >
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center