Ask a Question related to ASP, Design and Development.
-
Bradley M. Small #1
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
%>
Bradley M. Small Guest
-
#38886 [NEW]: PDO fails for no apparent reason, pages that works randomly breaks
From: tg at idiom dot dk Operating system: Linux 2.6.12.5 PHP version: 5.1.6 PHP Bug Type: PDO related Bug description: PDO... -
mpeg 1 works in xp but not 98 or 2000
Hello, I am very new to Director, I have built an interface with icons linking to 6 mpeg1 movies. after I made the projector and burned an... -
Works 2000 / XP
I've recently installed WinXP and found that I am unable to install works 2000. Awindow opens up saying, Error 1401 Could not create key... -
Works 2000 / XP Service pack 1A
I recently installed the Home version of WinXP, however it won't let me install my works 2000 or the Service pac 1A. With the installation of works... -
Works 2000
I' ve recently installed the full version of WinXP Home version. But I've been unable to reinstall my works 2000 since, how can I get this works... -
Ray at #2
Re: Works under Win 2000 breaks under XP
"Bradley M. Small" <BSmall@XNOSPAMXmjsi.com> wrote in message
news:%23waZoZMnDHA.2424@TK2MSFTNGP10.phx.gbl...> IE screen goes white, and it just hourglasses[url]http://www.aspfaq.com/2180[/url]> I have tracked the breakdown to a section of code that uses the
> FileSystemObject
Ray at work
Ray at Guest



Reply With Quote

