From: Andrew on
I am trying to open a file stored on my IIS server (2003 Server Standard SP1)
on port 83 by using the following cmd, tried different browsers with the same
problem.

http://servername:83/tickets/200605.doc

which fails with the following error (401 2 2148074254) logfile entries below.

2006-05-23 15:49:56 W3SVC2134146552 servername 172.16.2.4 GET
/tickets/200605.doc - 83 - 172.16.2.210 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) - - servername:83 401 2 2148074254 1872 429 0

2006-05-23 15:49:56 W3SVC2134146552 servername 172.16.2.4 GET
/tickets/200605.doc - 83 Domain\User+Name 172.16.2.210 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) - - servername:83 200 0 0 9066 4452 140

If I rename the file to .txt it works so it looks like an extension problem.

What do I need to change on IIS6 to fix this?
From: Ken Schaefer on
It is not failing.

The first request is anonymous, and IIS is saying "anonymous access is not
allowed - please provide credentials that are acceptable to access this
resource".

THen your browser is making a new request with your credentials, and the
file is opening (with 200 status)

Cheers
Ken

"Andrew" <Andrew(a)discussions.microsoft.com> wrote in message
news:5D194B55-97AD-401E-B3B0-3F0BF5DAB46E(a)microsoft.com...
>I am trying to open a file stored on my IIS server (2003 Server Standard
>SP1)
> on port 83 by using the following cmd, tried different browsers with the
> same
> problem.
>
> http://servername:83/tickets/200605.doc
>
> which fails with the following error (401 2 2148074254) logfile entries
> below.
>
> 2006-05-23 15:49:56 W3SVC2134146552 servername 172.16.2.4 GET
> /tickets/200605.doc - 83 - 172.16.2.210 HTTP/1.1
> Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> - - servername:83 401 2 2148074254 1872 429 0
>
> 2006-05-23 15:49:56 W3SVC2134146552 servername 172.16.2.4 GET
> /tickets/200605.doc - 83 Domain\User+Name 172.16.2.210 HTTP/1.1
> Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> - - servername:83 200 0 0 9066 4452 140
>
> If I rename the file to .txt it works so it looks like an extension
> problem.
>
> What do I need to change on IIS6 to fix this?


From: Andrew on
Thanks for your reply, but it is failing because I cannot open the file, the
file will only open if the extension is .txt but not .csv, Internet Explorer
gives an error saying that the file can not be found. Does anyone know how to
fix this?

"Ken Schaefer" wrote:

> It is not failing.
>
> The first request is anonymous, and IIS is saying "anonymous access is not
> allowed - please provide credentials that are acceptable to access this
> resource".
>
> THen your browser is making a new request with your credentials, and the
> file is opening (with 200 status)
>
> Cheers
> Ken
>
> "Andrew" <Andrew(a)discussions.microsoft.com> wrote in message
> news:5D194B55-97AD-401E-B3B0-3F0BF5DAB46E(a)microsoft.com...
> >I am trying to open a file stored on my IIS server (2003 Server Standard
> >SP1)
> > on port 83 by using the following cmd, tried different browsers with the
> > same
> > problem.
> >
> > http://servername:83/tickets/200605.doc
> >
> > which fails with the following error (401 2 2148074254) logfile entries
> > below.
> >
> > 2006-05-23 15:49:56 W3SVC2134146552 servername 172.16.2.4 GET
> > /tickets/200605.doc - 83 - 172.16.2.210 HTTP/1.1
> > Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> > - - servername:83 401 2 2148074254 1872 429 0
> >
> > 2006-05-23 15:49:56 W3SVC2134146552 servername 172.16.2.4 GET
> > /tickets/200605.doc - 83 Domain\User+Name 172.16.2.210 HTTP/1.1
> > Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> > - - servername:83 200 0 0 9066 4452 140
> >
> > If I rename the file to .txt it works so it looks like an extension
> > problem.
> >
> > What do I need to change on IIS6 to fix this?
>
>
>
From: Ken Schaefer on
Hi,

The request entries below are for a file called 200605.doc

If you are failing to retrieve some .csv file, then please post the relevant
log file entries for that file.

Thanks

Cheers
Ken

"Andrew" <Andrew(a)discussions.microsoft.com> wrote in message
news:F98F6CB5-8BD5-4133-B670-5800FE768509(a)microsoft.com...
> Thanks for your reply, but it is failing because I cannot open the file,
> the
> file will only open if the extension is .txt but not .csv, Internet
> Explorer
> gives an error saying that the file can not be found. Does anyone know how
> to
> fix this?
>
> "Ken Schaefer" wrote:
>
>> It is not failing.
>>
>> The first request is anonymous, and IIS is saying "anonymous access is
>> not
>> allowed - please provide credentials that are acceptable to access this
>> resource".
>>
>> THen your browser is making a new request with your credentials, and the
>> file is opening (with 200 status)
>>
>> Cheers
>> Ken
>>
>> "Andrew" <Andrew(a)discussions.microsoft.com> wrote in message
>> news:5D194B55-97AD-401E-B3B0-3F0BF5DAB46E(a)microsoft.com...
>> >I am trying to open a file stored on my IIS server (2003 Server Standard
>> >SP1)
>> > on port 83 by using the following cmd, tried different browsers with
>> > the
>> > same
>> > problem.
>> >
>> > http://servername:83/tickets/200605.doc
>> >
>> > which fails with the following error (401 2 2148074254) logfile entries
>> > below.
>> >
>> > 2006-05-23 15:49:56 W3SVC2134146552 servername 172.16.2.4 GET
>> > /tickets/200605.doc - 83 - 172.16.2.210 HTTP/1.1
>> > Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
>> > - - servername:83 401 2 2148074254 1872 429 0
>> >
>> > 2006-05-23 15:49:56 W3SVC2134146552 servername 172.16.2.4 GET
>> > /tickets/200605.doc - 83 Domain\User+Name 172.16.2.210 HTTP/1.1
>> > Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
>> > - - servername:83 200 0 0 9066 4452 140
>> >
>> > If I rename the file to .txt it works so it looks like an extension
>> > problem.
>> >
>> > What do I need to change on IIS6 to fix this?
>>
>>
>>


From: Andrew on
I get the error message

"Internet Explorer cannot download 200605.csv from server.

Internet Explorer was not able to open this Internet site. The requested
site is either unavailable or cannot be found. Please try again later."

As stated earlier it works if the file has a .txt extension but not if the
same file has a .csv, .xls, .doc, I have not tried every other combination.
The obvious differnece being that the file opens in Internet Explorer if it
is a .txt file and Excel if it is a CSV file.

It appears that the web server is erving the file with a .csv extension as I
can open the file directly in notepad with a .csv extension. Is this a mime
type problem?

I have also changed the directory to just allow anonymous access so no
longer get the 404 message, copy of logs below

2006-05-24 07:41:04 W3SVC2134146552 servername 172.16.2.4 GET
/tickets/200605.csv - 83 - 172.16.2.210 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) - - servername:83 200 0 0 8822 268 46
2006-05-24 07:42:58 W3SVC2134146552 servername 172.16.2.4 GET
/tickets/200605.csv - 83 - 172.16.2.210 HTTP/1.1
Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) - - servername:83 200 0 0 8822 268 31




"Ken Schaefer" wrote:

> Hi,
>
> The request entries below are for a file called 200605.doc
>
> If you are failing to retrieve some .csv file, then please post the relevant
> log file entries for that file.
>
> Thanks
>
> Cheers
> Ken
>
> "Andrew" <Andrew(a)discussions.microsoft.com> wrote in message
> news:F98F6CB5-8BD5-4133-B670-5800FE768509(a)microsoft.com...
> > Thanks for your reply, but it is failing because I cannot open the file,
> > the
> > file will only open if the extension is .txt but not .csv, Internet
> > Explorer
> > gives an error saying that the file can not be found. Does anyone know how
> > to
> > fix this?
> >
> > "Ken Schaefer" wrote:
> >
> >> It is not failing.
> >>
> >> The first request is anonymous, and IIS is saying "anonymous access is
> >> not
> >> allowed - please provide credentials that are acceptable to access this
> >> resource".
> >>
> >> THen your browser is making a new request with your credentials, and the
> >> file is opening (with 200 status)
> >>
> >> Cheers
> >> Ken
> >>
> >> "Andrew" <Andrew(a)discussions.microsoft.com> wrote in message
> >> news:5D194B55-97AD-401E-B3B0-3F0BF5DAB46E(a)microsoft.com...
> >> >I am trying to open a file stored on my IIS server (2003 Server Standard
> >> >SP1)
> >> > on port 83 by using the following cmd, tried different browsers with
> >> > the
> >> > same
> >> > problem.
> >> >
> >> > http://servername:83/tickets/200605.doc
> >> >
> >> > which fails with the following error (401 2 2148074254) logfile entries
> >> > below.
> >> >
> >> > 2006-05-23 15:49:56 W3SVC2134146552 servername 172.16.2.4 GET
> >> > /tickets/200605.doc - 83 - 172.16.2.210 HTTP/1.1
> >> > Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> >> > - - servername:83 401 2 2148074254 1872 429 0
> >> >
> >> > 2006-05-23 15:49:56 W3SVC2134146552 servername 172.16.2.4 GET
> >> > /tickets/200605.doc - 83 Domain\User+Name 172.16.2.210 HTTP/1.1
> >> > Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> >> > - - servername:83 200 0 0 9066 4452 140
> >> >
> >> > If I rename the file to .txt it works so it looks like an extension
> >> > problem.
> >> >
> >> > What do I need to change on IIS6 to fix this?
> >>
> >>
> >>
>
>
>