Question

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

Asked by: Turnstyle78

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.

This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Sign Up Now!
Asked On
2005-09-05 at 09:03:30ID: 21551169
Tags

create

,

activex

,

component

,

object

Topic

Active Server Pages (ASP)

Participating Experts
10
Points
500
Comments
66

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

Companies like CVS, Honeywell, Chevron, Toyoto, TriStar Pictures, the U.S. Army, and Accenture

Your Complete Technology Resource

900+ topic areas (and counting)

Related Solutions

  1. activeX
    Can I copy my activeX controls from c:\windows\downloaded program files and copy it to another computer?My OS is win98.
  2. ActiveX EXE CreateObject MultiThreaded
    I'm trying to create a multi-threaded ActiveX EXE. I've set the startup object to sub main, selected thread per object and start mode of stand alone. I understand that creating an object from within the exe will not create a thread be...
  3. ActiveX CreateObject error using vbscript, plea…
    I am using the following code to print a label "print.html": <HTML> <HEAD> <SCRIPT LANGUAGE=VBScript> Sub Btn1_onclick() Dim DymoAddIn, DymoLabel Set DymoAddIn = CreateObject("DYMO.DymoAddIn") Set D...
Tutorials are great ways to tackle hard problems!

Featured Articles

Read through articles written by top experts!

Get full access to the help you need.

Subscribe Now

30-day free trial. Register in 60 seconds.

The Latest Technology News and Tips

Your answer is only minutes away!

New Solutions Everyday

Because of our active community of experts, on average new questions receive their first comment in under 30 minutes.

Top ASP Questions

       

Hear What our Users are Saying

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

20130221-EE-VQP-039

3 Ways to Join

30-Day Free Trial

Why Experts Exchange?

Trusted by 44 of the Top Fortune 50 Companies. Verizon, Bank of America, IBM, Windows, Dell, Target, Boeing, Comcast, AT&T

Why Experts Exchange?

The go-to tech resource for hundreds of thousands.

"With the help of Experts Exchange -- I have been able to meet my deadlines and produce effective products"

Jan Miller

"I just today started my third contract assignment which I attribute to the skills I am learning from other experts."

Robert Antonellis

"It's my sole resource as I'm kind of an MS Access loner at my company. It's like having colleagues available when I run out of my own steam."

Karen Ruskin

Why Experts Exchange?

50K Tech Experts available to help

Leew has been an expert here since 1997 and is a master at Windows 2000 and XP, hard drives/storage and Small Business Server.

lrmoore has been an expert here since 2000 and is a six-time Microsoft MVP with over 18 years experience in the networking industry.

angeliii has been an expert here since 2000 and is a Microsoft MVP for his work with MS SQL Server and Development

Why Experts Exchange?

3 Million+ Questions Solved

"The experts approach solutions with patience and innovative ideas, and ultimately I have my problem solved."

Gary Serkhoshian

"Most every situation is already posted and answered, a quick search usually gives a solution. EE is truly a bargain."

Bob Schatzman

"9 out of 10 times Experts Exchange has the accepted solution or an open discussion of the potential solutions to the problem."

Kenny Red

Why Experts Exchange?

Serving tech professionals since 1996.

At Experts Exchange, we treat each question as unique and deserving of an answer.

As one of the most enduring technology resources, our community knows the importance of helping each individual with their problem, no matter how complex or how simple. We're here to collaborate with you.

Business Account Plans