Microsoft
Software
Hardware
Network
Question : IIS Windows 7 - Launch .exe file instead of downloading
I have a website which worked in Windows XP but no longer works in Windows 7.
The website has some pages which use dynamic HTML generated by an .exe file. The .exe file is invoked from a browser by entering a URL such as
www.mycompany.com/reservat
ions/myfil
e.exe
which results in a valid webpage being displayed on the browser.
But under Windows 7 IIS, instead of displaying a webpage, the browser prompts to save the .exe file.
I didn't write the code behind the .exe, so I can't say much about it, but I know that when the .exe file is invoked from a command prompt, it simply generates HTML on the standard output. For example, if you execute from a command prompt window, you will see the following:
C:\inetpub\wwwroot>myfile.
exe
<html><head><title> My Dynamic HTML App</title>
</head><body>
<form autocomplete="off" name="mainform" action="/Availability2" method="post">
<table>
<tr><td>Arrival Date</td><td>Arrival Time</td><td>Availability<
/td></tr>
.
. (additional lines of HTML)
.
</table>
</form></body></html>
C:\inetpub\wwwroot>
As I said, the app ran perfectly with IIS under Windows XP. When migrating the website to IIS on Windows 7, the IIS server now offers the .exe file to the browser for downloading instead of executing the file and sending the HTML output to the browser.
What can I do to get this to work like it did in IIS for Windows XP?
Answer : IIS Windows 7 - Launch .exe file instead of downloading
=IF(INDEX(E3:E12,MATCH("Ye
s",H3:H12,
0))="A",IN
DEX(F3:F12
,MATCH("Ye
s",H3:H12,
0)),NA())
h
th
Dave
Random Solutions
Windows XP slow to shut down or restart
SBS Domain Question
Do you know a utility in Unix I could use that would compare 2 files (for ex:, files A.txt vs B.txt) and display the differences between the 2 files?
Moved a Dolpin 7 website to a new server and I get an error message.
web forms: xForms or javascript forms: which one is the best?
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
CSS Tabbed Layout IE6 Question, Part 2
Database structure - Coldfusion - storing file type
How to integrate two programs into one
delphi Run once