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

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.

201407-LO-Qu-007

Exclusive Offer

Unlock Premium Membership for 33% off today.

Get This Offer

Includes 30-day free trial.

Related Questions Need more help?
We have over 4 million solutions here.

See More Active Server Pages (ASP) Solutions

Deeper Active Server Pages (ASP) LearningDevelop your expertise with tips, tricks and how to expert articles.

See More Active Server Pages (ASP) Articles

Skill Training Video TutorialsExpand your tech skills quickly with five-minute, instructional videos.

See More Programming Videos

Experts Exchange powers the growth and success
of technology professionals worldwide.

  • Solve

    Experts Exchange is the tech professional’s trusted, on-demand resource for solving difficult problems, making informed decisions, and delivering excellent solutions.

  • Learn

    With unparalleled access to technical experts, verified real-world solutions, and diverse educational content, Experts Exchange enables personalized development of technology skills.

  • Network

    Experts Exchange gives you the professional exposure and valued relationships key to building the career you want.

Join the Network Today

See Plans and Pricing