Author: Kent Belan
Posted: 2012-01-08 09:32:30 Link
Hello,
I am building a new Windows 2008 webserver to host my websites, and having
some trouble getting things setup and working good. I am not very familiar
with 2008 server setup ...
I have a website lets say www.mainsite.com and everything is working fine.
My problem is that I have a link to download an EXE install file but the
link fails with a 404 error.
So the link is like www.mainsite.com/mainfiles/maininstall.exe
The file is definatly in the folder but the browser reports 404 error.
Any ideas on why I am getting a 404 error ?
Thanks,
Kent
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4C0E49BC64744268A0A1DD10684D9FB5@LaptopW7
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Tracy Pearson
Posted: 2012-01-08 10:45:32 Link
Kent Belan <kbelan@mchsi.com> wrote:
>Hello,
>
>I am building a new Windows 2008 webserver to host my websites, and
>having
>some trouble getting things setup and working good. I am not very
>familiar
>with 2008 server setup ...
>
>I have a website lets say www.mainsite.com and everything is working
>fine.
>
>My problem is that I have a link to download an EXE install file but
>the
>link fails with a 404 error.
>
>So the link is like www.mainsite.com/mainfiles/maininstall.exe
>
>The file is definatly in the folder but the browser reports 404 error.
>
>Any ideas on why I am getting a 404 error ?
>
>Thanks,
>Kent
>
>
Does the NTFS rights of the exe file inherit from parent?
--
Tracy Pearson
PowerChurch Software
Sent with K-9 Mail.
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/6979f9f9-ff19-4d31-a041-3470c30f45b0@email.android.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: lelandj
Posted: 2012-01-08 16:44:52 Link
Often the error message returned by the web server isn't very helpful.
See if you can find the IIS log file to get a better idea of the error.
Check to see if the directory where you placed the .exe file is setup in
IIS as a virtual directory that allows .exe files to be downloaded, (eg
check IIS permissions for the directory). If so, use the virtual
directory path in your code, rather than a fully qualified path. If the
.exe file is called using the fully qualified path, IIS may try to run
the .exe rather than allowing it to be download.
Most browser have a mime section that is configured to start a download
session when a file with an .exe extension is called and found on the
Web Server. After making changes to IIS, its a good idea to restart IIS.
Hope this helps.
The below link may also help
http://support.microsoft.com/kb/248033
Regards,
LelandJ
On 01/08/2012 08:32 AM, Kent Belan wrote:
> Hello,
>
> I am building a new Windows 2008 webserver to host my websites, and having
> some trouble getting things setup and working good. I am not very familiar
> with 2008 server setup ...
>
> I have a website lets say www.mainsite.com and everything is working fine.
>
> My problem is that I have a link to download an EXE install file but the
> link fails with a 404 error.
>
> So the link is like www.mainsite.com/mainfiles/maininstall.exe
>
> The file is definatly in the folder but the browser reports 404 error.
>
> Any ideas on why I am getting a 404 error ?
>
> Thanks,
> Kent
>
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/4F0A0E54.5070406@mail.smvfp.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Kent Belan
Posted: 2012-01-10 13:45:28 Link
Hello,
I have solved this problem.
The solution was to add a "Handler Mapping" in IIS7 for the website.
Here is the link that helped:
http://www.esourcedevelopment.com/post/2010/07/23/Setting-up-IIS-to-allow-do
wnload-of-EXE-and-ZIP-files.aspx
Thanks,
Kent
-----Original Message-----
From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf
Of Kent Belan
Sent: Sunday, January 08, 2012 9:33 AM
To: 'ProFox Email List'
Subject: [NF] - Windows server 2008 - 404 error - File not found
Hello,
I am building a new Windows 2008 webserver to host my websites, and having
some trouble getting things setup and working good. I am not very familiar
with 2008 server setup ...
I have a website lets say www.mainsite.com and everything is working fine.
My problem is that I have a link to download an EXE install file but the
link fails with a 404 error.
So the link is like www.mainsite.com/mainfiles/maininstall.exe
The file is definatly in the folder but the browser reports 404 error.
Any ideas on why I am getting a 404 error ?
Thanks,
Kent
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/8535ED3E62F2446DA219A568B90AABD3@LaptopW7
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.