Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FSO not working after used NTFS and Norton 1

Status
Not open for further replies.

level1

Programmer
Apr 16, 2002
60
GB
Hello

I have just changed my partitions from FAT32 to NTFS but also installed Norton system Works.

The problem i have is that the File system Object is not working partially since then.

If i try to read drives it works fine:

<%
'***************** Drive
Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set drives = fso.Drives

For Each driveObject In drives
Response.Write driveObject.DriveLetter & &quot;<BR>&quot;
Next

Set drives = Nothing
Set fso = Nothing
%>
Output:
A
C
D
E


but if i try to read folders or files the browser is never finishes and finnaly my IIS crashes. And i have to reboot the system.


This is never working since then
<%
'***************** File
Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)
Set folder = fso.GetFolder(Server.Mappath(&quot;\scanner\&quot;))
'''Set folder = fso.GetFolder(&quot;C:\OriginalData\scanner&quot;)
Set files = folder.Files

For Each file in Files
Response.Write file.Name & &quot;<BR>&quot;
Next

Set files = folder.Files
Set file = Nothing
Set fso = Nothing
' Output:
' index.html
' test.asp

%>

 
You have to manually turn off the script protection from norton. It blocks certain objects and actions like portions of fso, thinking they are bad.

-Tarwn

01010100 01101001 01100101 01110010 01101110 01101111 01101011 00101110 01100011 01101111 01101101
29 3K 10 3D 3L 3J 3K 10 32 35 10 3E 39 33 35 10 3K 3F 10 38 31 3M 35 10 36 3I 35 35 10 3K 39 3D 35 10 1Q 19
Get better results for your questions: faq333-2924
Frequently Asked ASP Questions: faq333-3048
 
I have disabled norton, Restarted the server but still no luck.

Im not sure if i have to do something else, but this is realy annoying me, cause i have a large number of folders that i need to insert automatically to my database, do you know if possible if the File system object (FSO) has any DLL so i can unregister it and then register back in again?
Do you know the name of this if it doeas exist?

Thanks for your help though.
 
Finally you was right.

The deamn Norton System Works was screwing my FSO completelly. Not only that though i couldnt even do other things such as Format and discscan through dos.

Anyway i completelly Uninstalled system works and it is now fully functional. I did try to disale it through sturtup system tray e.t.c and still after reboot i had the same exactly prolem.

I dont blame the software but it was a long way for me to track the appropriate settings to make it work as normal so i just uninstalled it.

Thanks again
 
Yes, NTFS had nothing to do with it here.

And if you're gonna run &quot;Norton Burglar Tools&quot; expect trouble. I've had nothing but grief helping people with messed up systems that turned out to have Norton products on them.

Remember their fun &quot;file undelete&quot; thingy from the DOS days? The one that randomly corrupted the FAT? Or the boot virus fixer that trashed multiboot configurations?

Sorry, just my opinion: I hate Norton products. Especially their wacky idea about blocking scripting at various levels.

If you want to blame somebody though, blame the darned hackish types who started the whole arms race.
 
I have the same f'problem..... I can't test my scripts that use the FSO...

I have NAV2003 installed and I disabled the Script Blocking and the problem is still there.

Does it happen the same thing with other antivirus programs???
If migrate to another AV program will I solve this problem?? If so, which av program do you people think it's the best choice??

(sorry for my poor english)
 
Any programs the perform script blocking will likely interfere with the FSO object. Norton is the one that I have run into the most often, which is why I knew the answer for that. Someone else may know more about other programs.

-Tarwn

01010100 01101001 01100101 01110010 01101110 01101111 01101011 00101110 01100011 01101111 01101101
29 3K 10 3D 3L 3J 3K 10 32 35 10 3E 39 33 35 10 3K 3F 10 38 31 3M 35 10 36 3I 35 35 10 3K 39 3D 35 10 1Q 19
Do you know how hot your home computer is? I do:
 
also verify version # of scrrun.ddl in your system folder this file is overwritten often by applications and is the heart of FSO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top