Author |
Topic |
|
swcollector
Starting Member
15 Posts |
Posted - 29 April 2002 : 19:09:38
|
How do I install Scripting.FileSystemObject
or make sure it is installed? is it a component or something?
"MOD Setup requires that the Scripting.FileSystemObject be installed and you need to have access to it. If you don't, then you'll either get an error, or the page will hang and not load."
how do I install Scripting.FileSystemObject or how do I set it up so I can get mod setup to work?
please if you can help let me know thanks,
Edited by - swcollector on 29 April 2002 19:17:12 |
|
Deleted
deleted
4116 Posts |
Posted - 29 April 2002 : 19:20:16
|
Try this:
<%
function IsObjInstalled(strClassString) on error resume next '## initialize default values IsObjInstalled = false Err = 0 '## testing code dim xTestObj set xTestObj = Server.CreateObject(strClassString) if 0 = Err then IsObjInstalled = true end if '## cleanup set xTestObj = nothing Err = 0 on error Goto 0 end function
if IsObjInstalled("scripting.filesystemobject") then response.write "INSTALLED" else response.write "NOT INSTALLED" end if
%>
Think Pink ==> Start Internationalization Here |
|
|
swcollector
Starting Member
15 Posts |
Posted - 29 April 2002 : 19:57:20
|
What file should I put it in config or admin_mod_dbsetup? and do I over write specific lines of code? or add it in what line?
|
|
|
Deleted
deleted
4116 Posts |
Posted - 29 April 2002 : 21:48:52
|
I assumed you are using a web host. If you are trying to know if that server supports this object, just copy-paste the code to a new file, upload and run it.
You cannot install components to a remote server - hosts do not allow these.
If you own your server, then it is another story.
Think Pink ==> Start Internationalization Here |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 29 April 2002 : 21:59:40
|
Just put that in a blank page of its own, name it say testFSO.asp, upload it to your host and then try executing it.
www.daoc-halo.com |
|
|
swcollector
Starting Member
15 Posts |
Posted - 30 April 2002 : 00:57:12
|
Ok I ran
<%@ LANGUAGE=VBScript %> <% function IsObjInstalled(strClassString) on error resume next '## initialize default values IsObjInstalled = false Err = 0 '## testing code dim xTestObj set xTestObj = Server.CreateObject(strClassString) if 0 = Err then IsObjInstalled = true end if '## cleanup set xTestObj = nothing Err = 0 on error Goto 0 end function
if IsObjInstalled("scripting.filesystemobject") then response.write "INSTALLED" else response.write "NOT INSTALLED" end if %>
and it said INSTALLED
---------------------------------------------------------
My server is a home server running windows 2000 server access 2000 antivirus is off
here is what I did for install
1. unzipped snitz to C:\website\forum\ 2. edited config file with the following
strDBType = "access"
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\website\forum\snitz_forums_2000.mdb" '## MS Access 2000
3.unzipped the tools zip to C:\website\forum 4.I then added these file names to the "enable default documents" under properties for my website.
default.asp setup.asp
5. run permission wizard, gave permissions for public website 6. I then go to c:\website open properties for forum folder, then click security, highlight admin, Admin has full control over folder. then I highlight everyone, then I put a check in the write box. These other boxes are checked and grayed in ( read and execute) (list folder contents) (read)
5. I then type in the www./website address/forum/setup.asp
6. setup page come up. 7. log in as admin 8. go to admin options 9. click mod setup 10. it just seems to run and run, and hangs
any ideas why?
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 30 April 2002 : 04:38:14
|
Are you sure you antivirus is OFF, this error is normallycaused by script blockers in AV software.
|
|
|
Deleted
deleted
4116 Posts |
|
swcollector
Starting Member
15 Posts |
Posted - 30 April 2002 : 15:52:40
|
Problem solved. Instead of just disabling and turning script blocking off like I tried before, I un installed the program. Ran Mod setup and it works. So obvious its the anit virus. Then I reinstalled antivirus, made sure that script blocking was off and now mod setup works fine. weird.
thanks for all the help
|
|
|
|
Topic |
|