Re: Win2003 server IIS 6.0 ASP 3.0 weird reading text files
From: Jeff Cochran (jeff.nospam_at_zina.com)
Date: 01/11/05
- Next message: Jeff Cochran: "Re: Intrusion Detection System"
- Previous message: Jeff Cochran: "Re: IIS and Apache"
- In reply to: pruebas_100: "Re: Win2003 server IIS 6.0 ASP 3.0 weird reading text files"
- Next in thread: pruebas_100: "Re: Win2003 server IIS 6.0 ASP 3.0 weird reading text files"
- Reply: pruebas_100: "Re: Win2003 server IIS 6.0 ASP 3.0 weird reading text files"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 Jan 2005 19:16:48 GMT
On Tue, 11 Jan 2005 09:01:02 -0800, "pruebas_100"
<pruebas100@discussions.microsoft.com> wrote:
>
>
>"Jeff Cochran" wrote:
>
>> On Mon, 10 Jan 2005 13:15:04 -0800, "pruebas_100"
>> <pruebas_100@discussions.microsoft.com> wrote:
>>
>> >I have a problem with iis and Firefox, Netscape and mozilla. I have a txt
>> >file to read and populate and array, this process is done at the server when
>> >using IE I don't have this error it only shows under Firefox,Netscape see
>> >code below
>> >
>> > Set fso = CreateObject("Scripting.FileSystemObject")
>> > Set objFile = fso.GetFile(strFilePath)
>> > Set objFileTextStream = objFile.OpenAsTextStream(ForReading, _
>> > TristateUseDefault)
>> >Do While objFileTextStream.AtEndOfStream <> True
>> > strFileLine = objFileTextStream.ReadLine
>> >do stuff here
>> >I don't get any error from these call I check the txt file and everything
>> >looks ok, I notice that txt
>> >file get reset to zero bytes and my array gets no data any help.
>>
>> Possibly permissions related, IE will pass credentials and the others
>> may not.
>>
>> Jeff
>>
>
>
>What credentials? permission is not and issue, all this process take place
>at the server not at the browser this error is very confusing.
Permission is a big issue. The code runs in the context of the user
account accessing it. In the case of anonymous access, it's the
anonymous user account. But if you use Windows authentication, IE
will pass the Windows user credentials to IIS where the others will
not. That means it could be running as the anonymous user under one
browser and an authenticated, and different, user under another.
Filemon from systernals.com would help track that one though.
Otherwise, you start debugging and see what differences you're getting
from the browsers.
Jeff
- Next message: Jeff Cochran: "Re: Intrusion Detection System"
- Previous message: Jeff Cochran: "Re: IIS and Apache"
- In reply to: pruebas_100: "Re: Win2003 server IIS 6.0 ASP 3.0 weird reading text files"
- Next in thread: pruebas_100: "Re: Win2003 server IIS 6.0 ASP 3.0 weird reading text files"
- Reply: pruebas_100: "Re: Win2003 server IIS 6.0 ASP 3.0 weird reading text files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|