I have multiple IIS servers, all the same version and patch level. However,
a recursive file display page that works on 2 of my servers, doesn't work on
the third.
strPhysicalPath = Server.MapPath(".")
strPhysicalPath = strPhysicalPath & "\"
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
For Each file In objFSO.GetFolder(strPhysicalPath).Files
Like I said, it works on all the other IIS boxes except one. The page just
processes, but never displays an error, timeout or otherwise. it just sits
there. I've checked the IIS settings and they are the same as the machines
that the script works on. I've reinstalled IIS to see if it was something
with iislockdown, but still nothing. i've even formatted and installed
clean just to make sure there were no 3rd party security applications
causing trouble behind the scenes.
Does anyone have any thoughts about what it could be in IIS that is causing
this to fail? 5 1285
permissions might be an issue. check those.
Also, try pointing to a different folder once, as a test.
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Rick Simons" <ri**@inter.net> wrote in message
news:eG**************@TK2MSFTNGP12.phx.gbl... I have multiple IIS servers, all the same version and patch level.
However, a recursive file display page that works on 2 of my servers, doesn't work
on the third.
strPhysicalPath = Server.MapPath(".") strPhysicalPath = strPhysicalPath & "\" Set objFSO = Server.CreateObject("Scripting.FileSystemObject") For Each file In objFSO.GetFolder(strPhysicalPath).Files
Like I said, it works on all the other IIS boxes except one. The page
just processes, but never displays an error, timeout or otherwise. it just
sits there. I've checked the IIS settings and they are the same as the
machines that the script works on. I've reinstalled IIS to see if it was something with iislockdown, but still nothing. i've even formatted and installed clean just to make sure there were no 3rd party security applications causing trouble behind the scenes.
Does anyone have any thoughts about what it could be in IIS that is
causing this to fail?
Norton VirusTM? http://www.aspfaq.com/2180
-- http://www.aspfaq.com/
(Reverse address to reply.)
"Rick Simons" <ri**@inter.net> wrote in message
news:eG**************@TK2MSFTNGP12.phx.gbl... I have multiple IIS servers, all the same version and patch level.
However, a recursive file display page that works on 2 of my servers, doesn't work
on the third.
strPhysicalPath = Server.MapPath(".") strPhysicalPath = strPhysicalPath & "\" Set objFSO = Server.CreateObject("Scripting.FileSystemObject") For Each file In objFSO.GetFolder(strPhysicalPath).Files
Like I said, it works on all the other IIS boxes except one. The page
just processes, but never displays an error, timeout or otherwise. it just
sits there. I've checked the IIS settings and they are the same as the
machines that the script works on. I've reinstalled IIS to see if it was something with iislockdown, but still nothing. i've even formatted and installed clean just to make sure there were no 3rd party security applications causing trouble behind the scenes.
Does anyone have any thoughts about what it could be in IIS that is
causing this to fail?
I added iusr_hostname to read & execute, read and list folder contents
security credentials on the folder and still having the same problem.
I changed it to try to hit a different folder and same issue. Any thoughts?
It is very simple code, just created to show all xyz file extensions in a
folder and create a link ... very simple. Frustrating though to see it work
on two servers but fail on a 3rd.
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... permissions might be an issue. check those. Also, try pointing to a different folder once, as a test.
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"Rick Simons" <ri**@inter.net> wrote in message news:eG**************@TK2MSFTNGP12.phx.gbl... I have multiple IIS servers, all the same version and patch level. However, a recursive file display page that works on 2 of my servers, doesn't
work on the third.
strPhysicalPath = Server.MapPath(".") strPhysicalPath = strPhysicalPath & "\" Set objFSO = Server.CreateObject("Scripting.FileSystemObject") For Each file In objFSO.GetFolder(strPhysicalPath).Files
Like I said, it works on all the other IIS boxes except one. The page just processes, but never displays an error, timeout or otherwise. it just sits there. I've checked the IIS settings and they are the same as the machines that the script works on. I've reinstalled IIS to see if it was
something with iislockdown, but still nothing. i've even formatted and installed clean just to make sure there were no 3rd party security applications causing trouble behind the scenes.
Does anyone have any thoughts about what it could be in IIS that is causing this to fail?
Thanks Aaron, I believe it is the norton script blocker as that is on server
x but not y and z.
I appreciate your time,
Rick.
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:OJ**************@TK2MSFTNGP10.phx.gbl... Norton VirusTM? http://www.aspfaq.com/2180
-- http://www.aspfaq.com/ (Reverse address to reply.)
"Rick Simons" <ri**@inter.net> wrote in message news:eG**************@TK2MSFTNGP12.phx.gbl... I have multiple IIS servers, all the same version and patch level. However, a recursive file display page that works on 2 of my servers, doesn't
work on the third.
strPhysicalPath = Server.MapPath(".") strPhysicalPath = strPhysicalPath & "\" Set objFSO = Server.CreateObject("Scripting.FileSystemObject") For Each file In objFSO.GetFolder(strPhysicalPath).Files
Like I said, it works on all the other IIS boxes except one. The page just processes, but never displays an error, timeout or otherwise. it just sits there. I've checked the IIS settings and they are the same as the machines that the script works on. I've reinstalled IIS to see if it was
something with iislockdown, but still nothing. i've even formatted and installed clean just to make sure there were no 3rd party security applications causing trouble behind the scenes.
Does anyone have any thoughts about what it could be in IIS that is causing this to fail?
I thought you said they were EXACTLY the same?
Argh!
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Rick Simons" <ri**@inter.net> wrote in message
news:eY**************@TK2MSFTNGP12.phx.gbl... Thanks Aaron, I believe it is the norton script blocker as that is on
server x but not y and z.
I appreciate your time,
Rick. "Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message news:OJ**************@TK2MSFTNGP10.phx.gbl... Norton VirusTM? http://www.aspfaq.com/2180
-- http://www.aspfaq.com/ (Reverse address to reply.)
"Rick Simons" <ri**@inter.net> wrote in message news:eG**************@TK2MSFTNGP12.phx.gbl... I have multiple IIS servers, all the same version and patch level. However, a recursive file display page that works on 2 of my servers, doesn't work on the third.
strPhysicalPath = Server.MapPath(".") strPhysicalPath = strPhysicalPath & "\" Set objFSO = Server.CreateObject("Scripting.FileSystemObject") For Each file In objFSO.GetFolder(strPhysicalPath).Files
Like I said, it works on all the other IIS boxes except one. The page just processes, but never displays an error, timeout or otherwise. it just sits there. I've checked the IIS settings and they are the same as the machines that the script works on. I've reinstalled IIS to see if it was something with iislockdown, but still nothing. i've even formatted and
installed clean just to make sure there were no 3rd party security applications causing trouble behind the scenes.
Does anyone have any thoughts about what it could be in IIS that is causing this to fail?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Paul |
last post by:
Hi,
VB.NET is saying the file I am creating is in use by another process and
won't complete its task of moving the file to the specified destination
folder.
Here is my code (the main bit...
|
by: Skc |
last post by:
I have a .txt which has been exported as a .csv from an external source.
What i need to do is to import this into SQL2000 (into a table) but I need to
do special things on the data:
1. I need to...
|
by: aallee83 |
last post by:
i'm new in asp.net after develop my solution i copied it on the server
where I want it to run but something cares... WHAT?!?!
thank you in advance
File or assembly name System, or one of its...
|
by: troutbum |
last post by:
I am experiencing problems when one user has a document open through a
share pointing to the web site. I use the dsolefile to read the
contents of a particular directory and then display them in a...
|
by: apple |
last post by:
i try to print image file in a directory using PrintDocument. It will raise
printPage event to draw image to the printer. The file will be deleted
after print and the directory will be checked...
|
by: hamil |
last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview
control, the PageSetup control, and the Print dialog control. The code
attached is a concatination of two examples taken out...
|
by: forest demon |
last post by:
for example, let's say I do something like,
System.Diagnostics.Process.Start("notepad.exe","sample.txt");
if the user does a SaveAs (in notepad), how can i capture the path that
the user...
|
by: arun1985 |
last post by:
In the project i am using i am having the following code and when i upload it to the server.Its givig me the following error in the global.cs file.
Server Error in '/' Application. ...
|
by: Lee Crabtree |
last post by:
Is there a class in the framework that allows me read text from a file
in an unbuffered manner? That is, I'd like to be able to read lines in
the same manner as StreamReader.ReadLine(), but I also...
|
by: MikeJ |
last post by:
make a While loop
ofs = TextFileServer("somefile")
string srow
while (ofs=false)
{
srow=ofs.getRow();
Console.Writeline(srow);
}
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |