Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 making sure Scripting.FileSystemObject is install
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

swcollector
Starting Member

15 Posts

Posted - 29 April 2002 :  19:09:38  Show Profile
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  Show Profile
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
Go to Top of Page

swcollector
Starting Member

15 Posts

Posted - 29 April 2002 :  19:57:20  Show Profile
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?

Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 29 April 2002 :  21:48:52  Show Profile
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
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 29 April 2002 :  21:59:40  Show Profile  Visit Gremlin's Homepage
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
Go to Top of Page

swcollector
Starting Member

15 Posts

Posted - 30 April 2002 :  00:57:12  Show Profile
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?




Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 30 April 2002 :  04:38:14  Show Profile  Visit HuwR's Homepage
Are you sure you antivirus is OFF, this error is normallycaused by script blockers in AV software.



Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 30 April 2002 :  08:05:15  Show Profile
You my like to go to Services, stop the "script blocking" service and try again.


Think Pink
==> Start Internationalization Here
Go to Top of Page

swcollector
Starting Member

15 Posts

Posted - 30 April 2002 :  15:52:40  Show Profile
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



Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07