Solved

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

Posted on 2013-12-05
6
2,734 Views
Last Modified: 2013-12-13
Hey!

I am using a upload.asp script to upload csv files to a database. Until now everything worked fine, but suddenly today I get this error:

Microsoft VBScript runtime error '800a01ad'

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

/admin/upload.asp, line 31

I haven't changed anything in the code on line 31:

set fso = CreateObject("Scripting.FileSystemObject")
   set myFile = fso.OpenTextFile(server.mappath(filename), 1, True)
   i=0

Open in new window


Any thoughts?

Thanks.
0
Comment
Question by:webdesigner_dk
  • 2
  • 2
  • 2
6 Comments
 
LVL 19

Accepted Solution

by:
Rikin Shah earned 500 total points
ID: 39698013
Hi,

I assume you are logged in as Administrator, please have a look in registry for HKEY_CLASSES_ROOT\Scripting.FileSystemObject.

If you can not find this PROGID then you are missing the required files or the component is disabled (not registered).

Scripting.FileSystemObject is implemented in scrrun.dll.
You can register the dll via regsvr32.exe
0
 

Author Comment

by:webdesigner_dk
ID: 39698044
Hi! Thanks for the answer! No, this website is hosted so I don't have admin rights. Should I contact the hosting company about this?
0
 
LVL 19

Expert Comment

by:Rikin Shah
ID: 39698075
Yes. Check with them and ask for the solution.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39704410
What webhosting service are you using and did they "upgrade" the servers or environment?
0
 

Author Comment

by:webdesigner_dk
ID: 39705639
The webhosting service is .ASP.  I'll check with the The web hosting company if they have upgraded their servers... they are very slow in replying...
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39706065
>What webhosting service are you using

I mean, what is the name of the company?
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

777 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