Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3153
  • Last Modified:

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

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
webdesigner_dk
Asked:
webdesigner_dk
  • 2
  • 2
  • 2
1 Solution
 
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
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
 
webdesigner_dkAuthor Commented:
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
 
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Yes. Check with them and ask for the solution.
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
What webhosting service are you using and did they "upgrade" the servers or environment?
0
 
webdesigner_dkAuthor Commented:
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
 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
>What webhosting service are you using

I mean, what is the name of the company?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now