Running IIS 6, Classic ASP
Browser: IE and/or Mozilla
I have an application that allows users to store documents on my server.
When they need to access/download the documents, my application copies their
document to a staging directory (because they're renamed to a unique filename
for storage), then Respons.redirec t()'ed to the staged file for download.
This works great for most files(.doc,.xls ,.psd,.pdf). However, I have
discovered that for certain filetypes (.asp, .exe, .xfdl), the user gets a
message box with the message "Internet Explorer cannot download myfile.xfdl
from www.mysite.com. Internet Explorer was unable to open this Internet
site. The requested site is either unavailable or cannot be found. Please
try again later."
I have looked on the server, and the file is actually there. IIS just will
not let the user access/download it.
Mozilla downloads an htm page with a "page cannot be found" error.
Any thoughts? I have the directory established as its own application and
set not to execute anything -- so it shouldn't be confusing it with a
script/app.
Thank you all,
Brandon 2 3214
I have the same problem with pst and WordPerfect files (I know, I'm sorry,
but the customer uses it).
All other downloads work fine. I would prefer for the "Open/Save/Cancel"
window to come open, but all I get is "Page not found" errors. Like you I
know the document is there and I can type in the URL for the Word document
right next to it that document appears no problem.
I'll post back if I find anything,
Randy
"Brandon" wrote: Running IIS 6, Classic ASP Browser: IE and/or Mozilla
I have an application that allows users to store documents on my server. When they need to access/download the documents, my application copies their document to a staging directory (because they're renamed to a unique filename for storage), then Respons.redirec t()'ed to the staged file for download.
This works great for most files(.doc,.xls ,.psd,.pdf). However, I have discovered that for certain filetypes (.asp, .exe, .xfdl), the user gets a message box with the message "Internet Explorer cannot download myfile.xfdl from www.mysite.com. Internet Explorer was unable to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later."
I have looked on the server, and the file is actually there. IIS just will not let the user access/download it.
Mozilla downloads an htm page with a "page cannot be found" error.
Any thoughts? I have the directory established as its own application and set not to execute anything -- so it shouldn't be confusing it with a script/app.
Thank you all,
Brandon
It's probably because it's an unknown MIME type. You'll need to add it
manually in the website properties->HTTP Headers->MIME Types window.
Jevon
"Randy" <Ra***@discussi ons.microsoft.c om> wrote in message
news:1F******** *************** ***********@mic rosoft.com... I have the same problem with pst and WordPerfect files (I know, I'm sorry, but the customer uses it).
All other downloads work fine. I would prefer for the "Open/Save/Cancel" window to come open, but all I get is "Page not found" errors. Like you I know the document is there and I can type in the URL for the Word document right next to it that document appears no problem.
I'll post back if I find anything, Randy
"Brandon" wrote:
Running IIS 6, Classic ASP Browser: IE and/or Mozilla
I have an application that allows users to store documents on my server. When they need to access/download the documents, my application copies their document to a staging directory (because they're renamed to a unique filename for storage), then Respons.redirec t()'ed to the staged file for download.
This works great for most files(.doc,.xls ,.psd,.pdf). However, I have discovered that for certain filetypes (.asp, .exe, .xfdl), the user gets a message box with the message "Internet Explorer cannot download myfile.xfdl from www.mysite.com. Internet Explorer was unable to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later."
I have looked on the server, and the file is actually there. IIS just will not let the user access/download it.
Mozilla downloads an htm page with a "page cannot be found" error.
Any thoughts? I have the directory established as its own application and set not to execute anything -- so it shouldn't be confusing it with a script/app.
Thank you all,
Brandon This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jakob Bengtsson |
last post by:
Hi,
Does anyone know how to get the icons for all filetypes
installed on the system?
I can extract the associated icon from a file, but I don't
know how to: 1) Get a list of filetypes; 2) Get the
associated icon for those filetypes.
Thanks for any help,
|
by: Justin Straube |
last post by:
Hopefully someone can catch what im missing here. Ive googled this and I think
Ive got the filetypes arg written properly, but I get a traceback when calling
this function.
Heres the code followed by its traceback.
def do_ask_fn_1():
z = askopenfilename(title=TITLE, initialdir=Dst_Dir,
filetypes=(('AIFF Files','*.aiff'),
("AU Files", "*.au"),
|
by: lupher cypher |
last post by:
Hi,
I'm trying to access memory directly at 0xb800 (text screen). I tried this:
char far* screen = (char far*)0xb8000000;
but apparently c++ compiler doesn't know "far" (says "syntax error
before *"). I've tried using __far, _far, FAR, _FAR, and __FAR, all with
the same result. So, then I tried this:
|
by: Daniel |
last post by:
streaming random filetypes from .aspx
how to stream a file from inside a .aspx? e.g. so one could go
href="./foo.aspx?file=bar.mp3" or href="./foo.aspx?foo.dat" etc. preferabley
i would like all file types to open with "save as" when href clicked
|
by: Michael Iantosca |
last post by:
I have a custom attribute that I attach to certain pages in my application and I want to inspect each page request as it is made to see if the custom attribute is attached to the underlying page class. If is attached I want to perform some action.
How can I access custom attributes from an HttpModule? I have to pass a target to the
System.Attribute.GetCustomAttribute() call to attempt to retrieve the attached attribute.
I tried to access...
| |
by: Joseph Garvin |
last post by:
When I first came to Python I did a lot of C style loops like this:
for i in range(len(myarray)):
print myarray
Obviously the more pythonic way is:
for i in my array:
print i
|
by: Olivier BESSON |
last post by:
Hello,
I have a web service of my own on a server (vb.net). I must declare it with
SoapRpcMethod to be used with JAVA.
This is a simple exemple method of my vb source :
>************************************************************************
> <WebMethod(), System.Web.Services.Protocols.SoapRpcMethod()> _
> Public Function HelloWorld() As
> <System.Xml.Serialization.SoapElementAttribute("return")> String
|
by: GaryDean |
last post by:
I have a Wizard page and need to affect the next and previous buttons from
my code-behind. I've googled around and found two solutions, and neither
appear to work.
I can access the SideBarList steps successfully with the following code...
Control myContainer =
(Control)Wizard1.FindControl("SideBarContainer");
DataList mySideBarList =
(DataList)myContainer.FindControl("SideBarList");
|
by: supriyamk |
last post by:
Hi,
I am trying to search a directory for subdirectories, recreate the subdirectories elsewhere and copy only certain files from current subdirectory to new subdirectory.
In other words i am sorting filetypes into subdirectories with same name.
so far i have been able to create the subdirectories, but i am not able to copy the files into those directories.
my code is :
use strict;
use warnings;
use File::Glob;
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |