473,320 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Works under Win 2000 breaks under XP

I have a web application that works fine under Window 2000 but breaks under
Windows XP.

If it is served form a Win2k box, it makes a list of files in the "reports"
directory. If server on XP the IE screen goes white, and it just hourglasses
seemignly forever. Is there a security or configuration Iam missing?

I have tracked the breakdown to a section of code that uses the
FileSystemObject to build a select list on a page. It looks like this:
<%
' get reports directory
folder = Request.ServerVariables("PATH_TRANSLATED")
While (Right(folder, 1) <> "\" And Len(folder) <> 0)
iLen = Len(folder) - 1
folder = Left(folder, iLen)
Wend
folder = folder & "reports\"
%>
<form id=myForm name = myForm action =
PanMarketReports.asp?Market=<%=Market%> method=post>
<input type=hidden id=cmd name=cmd>
<Label>Select Report:</label>
<select id=reports name=reports onchange='myForm.cmd.value="getParms";
submit();' onselect='myForm.cmd.value="getParms"; submit();'
ondblclick='myForm.cmd.value="getParms"; submit();'>
<%
set fso = server.createobject("Scripting.fileSystemObject")
set fold = fso.getFolder(folder)
for each file in fold.files
fn = file.name
rn = LEFT(file.name,instrrev(file.name,".") - 1)

response.write "<option value = '" & file.name & "'"
if fn = Request("reports") then
Response.Write " selected "
end if
Response.Write ">" & rn & "</option>" & vbcrlf
next
set fold = nothing: set fso = nothing

%>
Jul 19 '05 #1
4 1342

"Bradley M. Small" <BS****@XNOSPAMXmjsi.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
IE screen goes white, and it just hourglasses I have tracked the breakdown to a section of code that uses the
FileSystemObject


http://www.aspfaq.com/2180

Ray at work
Jul 19 '05 #2
Thanks, Ray I will try that as soon as I can get hold of that machine again.
I've been bitten by this exact thing before now that I read about it, funny
how one forgets or perhaps "blocks out" such painful memories :))

-- Bradley
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...

"Bradley M. Small" <BS****@XNOSPAMXmjsi.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
IE screen goes white, and it just hourglasses

I have tracked the breakdown to a section of code that uses the
FileSystemObject


http://www.aspfaq.com/2180

Ray at work

Jul 19 '05 #3
This is why no one should ever run any anti-virus software. KIDDING

Ray at work

"Bradley M. Small" <BS****@XNOSPAMXmjsi.com> wrote in message
news:eB*************@TK2MSFTNGP09.phx.gbl...
Thanks, Ray I will try that as soon as I can get hold of that machine again. I've been bitten by this exact thing before now that I read about it, funny how one forgets or perhaps "blocks out" such painful memories :))

Jul 19 '05 #4
Or at least never run Norton's antivirus...
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
This is why no one should ever run any anti-virus software. KIDDING

Ray at work

"Bradley M. Small" <BS****@XNOSPAMXmjsi.com> wrote in message
news:eB*************@TK2MSFTNGP09.phx.gbl...
Thanks, Ray I will try that as soon as I can get hold of that machine

again.
I've been bitten by this exact thing before now that I read about it,

funny
how one forgets or perhaps "blocks out" such painful memories :))


Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael Bourgon | last post by:
I installed Windows 2000 SP4 on my server this evening. We ran into an odd error, and (1) wanted to share, and (2) wanted to see if there were any other things I should be on the lookout for. ...
48
by: ik | last post by:
ERROR after uninstalling SQL Server 2005 Express I get this message, SQLDMO has not been registered. Please re-run your setupand contact your system administrator. GREAT!!! ReInstalled SQL...
0
by: Miguelito Bain | last post by:
hi everybody- i've got a conundrum... i inherited some old databases, and i'm trying to convert them. i run office xp with access 2002, and all of the databases i manage are either in 97...
1
by: Stefan V. | last post by:
Hello! I am trying to convert a query written for SQL Server 2000 database tables, to a MS Access query. Here is what I have in SQL Server: SELECT t2.*, CASE WHEN t2.QType = '3' THEN...
3
by: Malcolm Webb | last post by:
My database was developed and is currently running in Access 2000. I am contemplating upgrading to the latest version of Access (2003?) running on new computers. Will there be any major...
3
by: patrickkellogg | last post by:
I have this code when you click the buttom is suppose to add a job history. it works with firefox, opera, but not ie. (please note - new entries don't have all the elements in them yet, but...
5
by: jeremy | last post by:
I have an ASP.Net 2.0 application running on Windows Server 2003. The application displays properly in Internet Explorer, however, when I use a browser control embedded in a .net form, I get an...
6
by: nild | last post by:
Hello i have a strange problem. I'm using LogonUser to impersonate the user under which my program must run. On Win XP or Server 2003 it works. But on 2000 it doesn't. So i found out, to set...
8
by: henryrhenryr | last post by:
I'm trying to log all links clicked. I'm just working this out so there may be some astoundingly bad methods. Please point out! It all works nicely though if I use mouseover events as the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.