Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

IIS 6.0 resx download problem.

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Ofem India  
Author Message
gazate

External


Since: Oct 15, 2007
Posts: 3



(Msg. 1) Posted: Mon Oct 15, 2007 10:58 am
Post subject: IIS 6.0 resx download problem.
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi There,

I´m trying to download a .resx file from an W2k3 SP2 IIS 6. The
Problem:

I can see the resx files when I browse the directory, but downloading
or seeing them "as page" doesn´t work. I already deleted the .resx
string from the configuration of the directory.
Before it was deleted was the error (in the logs of the IIS) No. 403
and 200. After deleting it is 404.
So, the file is there and can not be run (403/200), but whe I try
deleting .resx from the config the file is gone (the IIS thinks...).
But I can see the file by listing the directory in IE an Firefox, but
when I click the file: 404...

Does someone know how to fix that problem?

Thank you for your help!

Gazate

 >> Stay informed about: IIS 6.0 resx download problem. 
Back to top
Login to vote
David Wang

External


Since: Nov 01, 2007
Posts: 309



(Msg. 2) Posted: Mon Oct 15, 2007 7:35 pm
Post subject: Re: IIS 6.0 resx download problem. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 15, 6:58 am, gazate <gaz... DeleteThis @h16-12networkx.de> wrote:
> Hi There,
>
> I´m trying to download a .resx file from an W2k3 SP2 IIS 6. The
> Problem:
>
> I can see the resx files when I browse the directory, but downloading
> or seeing them "as page" doesn´t work. I already deleted the .resx
> string from the configuration of the directory.
> Before it was deleted was the error (in the logs of the IIS) No. 403
> and 200. After deleting it is 404.
> So, the file is there and can not be run (403/200), but whe I try
> deleting .resx from the config the file is gone (the IIS thinks...).
> But I can see the file by listing the directory in IE an Firefox, but
> when I click the file: 404...
>
> Does someone know how to fix that problem?
>
> Thank you for your help!
>
> Gazate



The server is configured to actively prevent you from
downloading .resx files, so it's not exactly a "problem".

You can either:
1. change .config file to map .resx to the same handler as .aspx

Or you can:
1. Add MIME Type for .resx for that URL
2. Remove .resx Application Mapping for that URL

Basically, with all three of the above configurations, .resx is routed
from IIS to ASP.Net to its "forbidden" handler, which returns a 403,
and prevents download. To enable downloading, you have to break the
routing, which means you either change .config to route the .resx
request to a .Net static file handler that serves the file and won't
return 403, or you change .resx to be directly handled by the IIS
Static File Handler and not route it to ASP.Net and its "forbidden"
handler configuration.

Generally, changing the above configuration is incorrrect. What are
you really trying to accomplish?


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

 >> Stay informed about: IIS 6.0 resx download problem. 
Back to top
Login to vote
gazate

External


Since: Oct 15, 2007
Posts: 3



(Msg. 3) Posted: Mon Oct 15, 2007 11:23 pm
Post subject: Re: IIS 6.0 resx download problem. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I´m trying to getz the resx file that is part of a dowloadble software
update ready to be downloaded.

Thank you for you help. I´ll try that later today.
But I already removed the .resx Application Mapping from the page.

The config file is named web.config? And to what do I have to change
the line "Web.Application.forbidden"?

Thanks again...

Gazate
 >> Stay informed about: IIS 6.0 resx download problem. 
Back to top
Login to vote
gazate

External


Since: Oct 15, 2007
Posts: 3



(Msg. 4) Posted: Tue Oct 16, 2007 8:53 am
Post subject: Re: IIS 6.0 resx download problem. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi David,

thank you for your tip to enter the mime types...

It works!

Thank you!!!
 >> Stay informed about: IIS 6.0 resx download problem. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
download problem Help! - We have a site where there is a problem to download an .exe file from a subdirectory of the root-folder. There is no security/rights problems because thera are a lot of other files in the same directory wích there are no problem to download. We have 2..

File Download Problem - I have developed a ASP.NET 1.1 web based file manager application. It has a simple interface that allows users to upload and download files. Everything works great except for one new download problem. I am forcing the file download in the following..

IIS6 file download problem - Hi, I had a project which download files from our company server. It always worked before until we switch to IIS 6 (win2003). My program always get "<h1>Bad Request (Invalid Header Name)</h1>". I checked MS site, and got article &...

File download drop-off problem - Hello, I am struggling with some issue related (but not limited to IIS). I applologize in advance if this is off-topic post. Our users have some problem downloading large files from our web enabled app. Front end is IIS6 with HTTPS. There is an ISAPI..

Large File Download problem - From my website various people (including me) are having a problem downloading large files. When people try to download a large file (looks like anything over 1GB - I am note sure exactly though), it either downloads just a little file of 1 KB, or it...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]