Re: IIS 6.0 - File Not Found - Windows 2003?

From: abcd (abcd_at_abcd.com)
Date: 02/09/04


Date: Mon, 9 Feb 2004 14:28:31 -0800

the code is like this

top.main.location.href = "<%=file%>"

which evaluates to

top.main.location.href = http://localhost/myTemp/abcd.xyz

abcd.xyz properly exists at mytemp folder

Steven Burn wrote:
> Might help if you showed us the code you are using to access the
> file. For example;
>
> <%
> Dim FSO, strFile
> Set FSO = CreateObject("scripting.filesystemobject")
> Set strFile = FSO.GetFile(Server.MapPath("somefile.srf"))
>
> '// Some random stuff that does whatever your doing to the
> file
>
> Set FSO = Nothing
> %>
>
>
> abcd <abcd@abcd.com> wrote in message
> news:O5Jitc17DHA.3860@tk2msftngp13.phx.gbl...
>> My apology if this is not the correct group to answer this
>>
>> ==>
>>
>> My web application is written in ASP, I am testing that under IIS
>> 6.0 and Windows 2003 standard edition...Everything works great !
>> except I am geting file not found error....
>>
>> the problm is like this...my application generates a file abc.xyz
>> (which is recognized by our own tool). This file is generated and
>> kept under one directory under wwwroot directory. In our application
>> the web browser should point to this file. I have checked & file is
>> generated successfully and it looks there is problem accessing the
>> file and I am getting page not found HTTP 404 ...
>>
>> I have checked this file is not even listed in the browser
>> cache....what could be the permission problem on Windows 2003....any
>> idea...for other machines everything works good for me
>>
>> thanks


Quantcast