Solved

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

Posted on 2013-12-05
6
2,787 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Session on Html 8 39
ADFS:  Step by Step to enable MFA with ADFS 16 35
Web page design problem 3 14
JQuery DataTable Functionality 8 15
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

749 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