DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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
    >
    >
    >
    >
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links