Re: IIS 6.0 on Windows Server 2003

anonymous_at_discussions.microsoft.com
Date: 07/23/04


Date: Fri, 23 Jul 2004 11:33:29 -0700

Yes my case is like #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).
---------

When i visitor browses
http://mysite.com/lookup.php?zipcode=03791
The lookup.php page take the input var of 03791 and passes
it off to the zipcode.exe (a commandline module for
windows)

then the results are sent back to the php page to be used
to look up information.

So basicly zipcode.exe a command line tool that returns a
result based on the var's passed.

This tool works in my exsisting IIS 5 web site application
in my windows 2000 server.

We are upgrading a new server that is running windows 2003
server with IIS 6.

I have IIS and PHP 4 running and ALL of my php pages are
running fine except the ones that call zipcode.exe

I have read the if I give execute permissions to
%SystemRoot%/System32/cmd.exe for the user IUSR_sytemname
then the shell command will work.
I'm reluctant to give acces rights to the IUSR_sytemname
becuse of security reasons.

Is their any workaround other than giving access rights to
the command line?

Thanks
>-----Original Message-----
>what's the error msgs ?
>http status in IIS log file ?
>
>
>--
>Regards,
>Bernard Cheah
>http://www.tryiis.com/
>http://support.microsoft.com/
>http://www.msmvps.com/bernard/
>
>
>
>"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: Restart Application pool with commandline ??
    ... Yes, the commandline command exists, but no, I'm not going to tell you ... If you do not want the feature (i.e. you want IIS to keep restarting the ... Pool on its own. ... Be aware that this simply masks a problem that still exists on your server. ...
    (microsoft.public.inetserver.iis)
  • RE: Server Failed to Load - and more newbie questions
    ... It sounds like your IIS COM+ packages may be missing. ... Open a command prompt, and then use the following command to switch ... 314978 How to use Adminpak.msi to install a specific server administration ...
    (microsoft.public.inetserver.iis)
  • Re: Why server reverts to 2000 FPSE?
    ... Don't know why you insist on using the command line approach when extending of the FP SE is done directly in IIS per my ... (but can't test any server side controls like the FP SE or use a DB in a DBW) ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: Executing a locally installed program in IIS 6
    ... IIS 6.0 on Windows Server 2003." ... zipcode.exe on the server, and the web page formats the ... So basically zipcode.exe a command line tool that returns ... This tool works in my existing IIS 5 web site application ...
    (microsoft.public.inetserver.misc)
  • RE: random IIS stops and restarts
    ... You will see 1 a restart command followed by 2 a stop command over and over ... If you are seeing events about some of the other IIS services terminating ... random IIS stops and restarts ... it just happened again on a second server yesterday. ...
    (Security-Basics)