ActiveX component can't create object: 'Scripting.FileSystemObject'

    Question by:


    I am having difficulty with invoking the Scripting.FileSystemObject ActiveX Component via ASP. I am using IIS 5.1 on a Windows XP Professional system. I keep recieving "Error Type: Microsoft VBScript runtime (0x800A01AD) ActiveX component can't create object: 'Scripting.FileSystemObject'" when calling a simple script I have used many times before. The code is as follows:

    Const LOGFilePath= "H:\NOTES.txt"
    str = "Yeah, Whatever"
    Set fsox = CreateObject("Scripting.FileSystemObject")
    Set stream = fsox.OpenTextFile(LOGFilePath, 8, True)
    stream.WriteLine str

    After doing some research, I downloaded and installed the latest Windows Script 5.6 for Windows 2000 and XP. This has now caused all ASP to fail on my test system. I now receive "The page cannot be displayed" errors across the board, where as before the ASP pages would render and just not invoke FileSystemObject. I have also uninstalled and then reinstalled IIS. Any help concerning this matter is greatly appreciated.

    Good Question?

    Verified Answer?

    The member who asked this question verified this comment provided the solution that solved their problem.

    by:Posted on 2005-09-08 at 08:14:25ID: 14845187

    Sometimes you just have to count your losses and reload Windows... I am sure it is not the 500 point answer you were hoping for, but it will probably fix your problem...

    @acperkins & kiddanger:  Can't we all just get along???


    This content is available to Experts Exchange members

    See the answer now
    with your Free 30 Day Trial

    Get unlimited access to solutions & experts

    • 4,169,477 solved questions
    • 3,805 articles & videos
    • 15,413 tech experts

    Get Access Now

    Ask Your Tech Question. Get Expert Solutions.We will email you when an expert has commented on your question.

    We will never share this with anyone. Privacy Policy Terms of Use

    Select topics

    You may select up to five topics.

    Top Expert Contributor

    Essential articles and videos from the Experts

    More valuable questions with Expert answers


    RELATED TOPICS view all topics

    1. ASP.NET
    2. JavaScript
    3. Web Development
    4. VB Script
    5. Microsoft IIS Web Server
    6. Web Languages/Standards
    7. HTML
    8. MS SQL Server
    9. MS Access
    10. .NET Programming