Re: IIS 6.0 on Windows Server 2003

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 07/21/04


Date: Tue, 20 Jul 2004 23:29:18 -0700

No, I'm pretty certain your problem is not similar to Steve Cox's..

These are the general access patterns for a resource (like an EXE):
1. Allowing the browser to download zipcode.exe and then execute it on the
client. This requires MIME Type for .EXE so that it can be downloaded
2. Allow the user to browse to a web page, which executes zipcode.exe on the
server, and the web page formats the output and returns it to the browser as
a web page. This requires Web Service Extension for the script engine
hosting the web page (but NOT needed for zipcode.exe -- since IIS directly
executes the web page, which indirectly executes zipcode.exe).
3. Allow the user to browse to execute zipcode.exe itself on the server, and
the raw output is immediately sent back to the client. This requires Web
Service Extension for zipcode.exe since IIS is executing it directly.
4. Something else -- if so, describe clearly what is executing where, and
what data is moving between the client/server.

In Steve Cox's case, it's pattern #1. The issue was that his links were for
resources of particular extension that did not have a MIME Type. Thus, as
soon as he adds the MIME type, problem is solved.

Your case sounds like #2.

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"tim" <timg@russound.com> wrote in message
news:0a1e01c46e72$fbe3bd70$a601280a@phx.gbl...
I have looked at the MIME Types and .EXE is listed as:
application/octet-stream with NO luck...
>-----Original Message-----
>I am also experience the similar problems
>
>I have a zip code look up tool that runs in a web page
and
>calls zipcode.exe and passes a zip code to it then
>displays the zip code with X radius
>For example:
>>From a command prompt:
>C:\ zipcode.exe 03852 5
>03853
>03854
>03855
>03856
>03857
>
>I call this script in my web page and pass the zip code
>and radius as variables and it WORKS in IIS 5
>
>I have looked at the MIME Types and .EXE is listed as:
>application/octet-stream
>
>Now What?
>
>
>>-----Original Message-----
>>I found the answer:
>>
>>If you are using IIs 6.0 (supplied with Windows 2003),
>IIS
>>serves only files with extensions registered in its MIME
>>types list. To ensure that IIS serves the requested
>files,
>>either add each extension used by those files or a
>>wildcard (.*) to the list. To do this, find the top-
level
>>web directory, open the properties pages and click the
>>HTTP Headers tab. Then selet MIME types and add the
>>extensions, mapping them to MIME type 'application/octet-
>>stream'.
>>
>>Thanks,
>>
>>Steve Cox
>>>-----Original Message-----
>>>What do you mean "it broke"? What happens now when you
>>click a link?
>>>
>>>Cheers
>>>Ken
>>>
>>>
>>>"Steve Cox" <anonymous@discussions.microsoft.com> wrote
>>in message
>>>news:28d4b01c46538$0a2d6e60$a601280a@phx.gbl...
>>>: I need to understand if I can launch a desktop
>installed
>>>: application from a webpage hosted on IIS 6.0? I have
>>this
>>>: working on IIS 5.0, however it broke after upgrading.
>In
>>>: IIS 5.0 it was simple, just by adding a file
>association
>>>: on the desktop the web link just fires off the local
>>>: application. It simplifies the use by plant floor
>>>: operators that use of our applications.
>>>:
>>>: Any assistance is appreciated.
>>>:
>>>: Thanks,
>>>:
>>>: Steve Cox
>>>:
>>>
>>>
>>>.
>>>
>>.
>>
>.
>


Relevant Pages

  • Re: Cantt download "exe" file because of IIS version
    ... The default MIME Type in IIS for .exe is application/octet-stream. ... When I looked at the download type it was still set to the MIME type that I just removed. ...
    (microsoft.public.inetserver.iis)
  • Re: Cantt download "exe" file because of IIS version
    ... I removed the MIME type for EXE. ... Went back to IIS Manager and started at the top of the Web Site Hierarchy ... > IE does have some code to detect download type, extension, and content-type, ...
    (microsoft.public.inetserver.iis)
  • Re: Cantt download "exe" file because of IIS version
    ... I defined the MIME type for the specific EXE to be application/octet-stream, ... By IIS via the static file handler ... > static file handler working to send the download (and the rest of my earlier ...
    (microsoft.public.inetserver.iis)
  • sis
    ... Hi,Please look in the IIS logfiles. ... How to set up IIS to download CA Root Certificate ... The problem is that file type cer is not a known mime type. ...
    (microsoft.public.inetserver.iis)
  • Re: Cantt download "exe" file because of IIS version
    ... MIME Type controls) can be sent on a response: ... If IIS sent it via the static file handler, ... static file handler working to send the download (and the rest of my earlier ... I performed a hunt in the registry in both the problematic server and the ...
    (microsoft.public.inetserver.iis)