Solved

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

Posted on 2013-12-05
6
2,691 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

[b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

861 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

29 Experts available now in Live!

Get 1:1 Help Now