file system object error

Posted on 2006-04-24
Last Modified: 2012-06-21
In my application using I get a error Cannot create ActiveX component when I hit this line of code:

fileOb = CreateObject("Scripting.fileSystemObject")

Please Advise :)
Question by:troyvw
    LVL 33

    Accepted Solution

    set fileOb = CreateObject("Scripting.fileSystemObject")
    LVL 33

    Expert Comment

    u need set
    LVL 16

    Expert Comment


    if u are using any antivirus softwares try disabling script blocking
    LVL 75

    Assisted Solution

    by:Anthony Perkins
    And the big question is why are you using ActiveX such as the FileSystemObject with an ASP.NET application?  Or more relevant why not post in a more appropriate Topic Area such as:

    There they can point you to the correct namespace to use (System.IO)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
    Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now