473,626 Members | 3,459 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET 2.0 Can't download EXE files

I have a web site with some EXE files for people to download.
However, when ever I try to download one of these filese I get an error

Can't find Server or DNS error ...

And yes the url is correct.

Any idea what might be causing this ?

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com
Dec 4 '05 #1
3 1478
Hi Michael,

Is this on a site hosted for you?

Check whether .exe is a forbidden extension.

http://support.microsoft.com/default...21120121120120

Some extensions may be handled by ASP.NET

http://msdn2.microsoft.com/en-us/library/2wawkw1c.aspx
"Michael Tissington" <mt*********@ne wsgroups.nospam > wrote in message
news:%2******** **********@TK2M SFTNGP11.phx.gb l...
I have a web site with some EXE files for people to download.
However, when ever I try to download one of these filese I get an error

Can't find Server or DNS error ...

And yes the url is correct.

Any idea what might be causing this ?

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com

Dec 4 '05 #2
Yes, its a hosted site.

They have setup the script mappings but still no joy.

I get the same problem with exe, pfd, msi, zip (all of which they have setup
they script mappings for)

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com

"Ken Cox - Microsoft MVP" <BA**********@h otmail.com> wrote in message
news:uV******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi Michael,

Is this on a site hosted for you?

Check whether .exe is a forbidden extension.

http://support.microsoft.com/default...21120121120120

Some extensions may be handled by ASP.NET

http://msdn2.microsoft.com/en-us/library/2wawkw1c.aspx
"Michael Tissington" <mt*********@ne wsgroups.nospam > wrote in message
news:%2******** **********@TK2M SFTNGP11.phx.gb l...
I have a web site with some EXE files for people to download.
However, when ever I try to download one of these filese I get an error

Can't find Server or DNS error ...

And yes the url is correct.

Any idea what might be causing this ?

--
Michael Tissington
http://www.oaklodge.com
http://www.tabtag.com


Dec 5 '05 #3
Hi Michael,

Thanks for your posting.
Regarding on this file downloading issue, I've also found your another
duplicated thread in this group:

Subject: ASP2.0 Can't download files Forms Authentication
Date: Fri, 2 Dec 2005 21:31:00 -0800
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet

I've posted my response there. I'd appreciate if you have a look there.
Also, if you feel it convenient that we continue to discuss in that thread,
please feel free to post there.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Michael Tissington" <mt*********@ne wsgroups.nospam >
| References: <#l************ **@TK2MSFTNGP11 .phx.gbl>
<uV************ **@TK2MSFTNGP14 .phx.gbl>
| Subject: Re: ASP.NET 2.0 Can't download EXE files
| Date: Sun, 4 Dec 2005 16:17:48 -0800
| Lines: 47
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| X-RFC2646: Format=Flowed; Response
| Message-ID: <#p************ **@TK2MSFTNGP10 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: 65.249.55.7
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP10.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3626 62
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Yes, its a hosted site.
|
| They have setup the script mappings but still no joy.
|
| I get the same problem with exe, pfd, msi, zip (all of which they have
setup
| they script mappings for)
|
| --
| Michael Tissington
| http://www.oaklodge.com
| http://www.tabtag.com
|
| "Ken Cox - Microsoft MVP" <BA**********@h otmail.com> wrote in message
| news:uV******** ********@TK2MSF TNGP14.phx.gbl. ..
| > Hi Michael,
| >
| > Is this on a site hosted for you?
| >
| > Check whether .exe is a forbidden extension.
| >
| >
http://support.microsoft.com/default...#XSLTH31261211
21120121120120
| >
| > Some extensions may be handled by ASP.NET
| >
| > http://msdn2.microsoft.com/en-us/library/2wawkw1c.aspx
| >
| >
| > "Michael Tissington" <mt*********@ne wsgroups.nospam > wrote in message
| > news:%2******** **********@TK2M SFTNGP11.phx.gb l...
| >>I have a web site with some EXE files for people to download.
| >> However, when ever I try to download one of these filese I get an error
| >>
| >> Can't find Server or DNS error ...
| >>
| >> And yes the url is correct.
| >>
| >> Any idea what might be causing this ?
| >>
| >> --
| >> Michael Tissington
| >> http://www.oaklodge.com
| >> http://www.tabtag.com
| >>
| >
| >
|
|
|

Dec 5 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
1964
by: deko | last post by:
I have a login script that creates a SESSION for authenticated users. But authenticated users still need access to particular directories (which contain files for download). My hosting provider lets me protect directories with htaccess, but this means an already authenticated user must enter credentials a second time in the pop up dialog that appears in the browser window when attempting to download something from an htaccess-protected...
2
2922
by: RickL | last post by:
I have an ASP application that uploads a specified file to the server. To retrieve the file, I simply assign the filepath and file to a hyperlink on the page. When you click "Save Target As" for some file types, I get the following error messsage: IE can not download <file> from <server>. IE was not able to open this internet site. The requested site is either unavalable or can not be found. Can anyone tell me how to save a file of any type?...
4
2373
by: Billy Jacobs | last post by:
Is there a way to download multiple files from a server? If not then: How do I zip up multiple files using the .net classes in vb? Thanks Billy Jacobs
2
1870
by: Grant | last post by:
Hi, I'm trying to download files using asp.net (vb) and it seems to take forever to actually bring up the Save As dialog box. The files are Academic Software Downloads so are quite large in size, but would have thought that the Save As dialog would still come up fairly quickly and just the download time would take some time. I have tried to search for some example code for downloading files, but seem to only find examples on uploading...
3
1323
by: Jeff Jarrell | last post by:
I want to setup a downloads page on my site. Most of the time they are zip files but they are also MSI files. Things work ok if I simply put an <a> element referencing the file to download but I'd like a little more smarts to it. I'd like to know how many times the file was downloaded along with the referrer information. I'd also like to hide the actual physical file location. So I send it to another URL to record the download but...
1
2712
by: rdemyan via AccessMonster.com | last post by:
My App has 10 or so tables that we provide that contains proprietary data. This data will need to be updated once or twice a year. I would like some comments, suggestions on my proposed strategy for updating these tables via an ftp site: 1) Post a .mdb file to our ftp web site that contains the updated tables. My App code connects to the ftp site and gets the file name for any update files on the site. I already have code to do this...
3
1441
by: Gargoyle | last post by:
I am curious to know if any research has been conducted regarding the efficiency of having a single (large) .js file downloaded for a webpage compared to several smaller .js files. For example in my web pages I often include the scripting code <script language="javascript" type="text/javascript" src="ascript.js"></script> which contains all the code for a given function, i.e. the main function and any subsidiary functions.
5
3681
by: Khafancoder | last post by:
Hi guys, i am building a FileSharing website, i wanna allow users to be able using download managers such as DAP to download files from webserver but don't allow them to retrive files url... so i used Response.WriteFile but it won't trigger any download manager such as DAP or FlashGet i used this code :
2
4268
by: someusernamehere | last post by:
Hey, I need to implement this with PHP, i.e. I have some files in www.myserver.com/files what I need is when an user log into the account a temporary URL is created for download a file in /files, and then, when the file is downloaded the link disappear of course, I also need to know how to protect the files for downloading by direct URL, make sense?
0
8268
marktang
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...
0
8202
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8707
Oralloy
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...
1
8366
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,...
0
7199
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5575
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();...
1
2628
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
1
1812
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.