-
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
-
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
Forum Rules
|
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
|
Bookmarks