create cgi-bin ?

create cgi-bin ?

am 21.04.2008 06:04:57 von Michael Tissington

Using VS 2008 ... I have created a new folder cgi-bin in my project and then
created a c# console exe.

How do I set the permissions on the folder so that the exe executes.

I know how to do this on the real IIS but not on the development iis.

Any ideas please ?

RE: create cgi-bin ?

am 21.04.2008 11:03:34 von stcheng

Hi Michael,

As for the let the console exe run as CGI, do you mean you want the exe to
run as CGI service in Visual Studio test server? If so, I'm afraid this is
not supported. Visual Studio test server is written as a winform program
which can only process ASP.NET requests. If you've written a CGI program,
you need to deploy it into IIS server for test.

#Configuring CGI Applications (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer20 03/Library/IIS/b
c0c4729-e892-4871-b8f3-fcbf489f2f09.mspx?mfr=true

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
>From: "Michael Tissington"
>Subject: create cgi-bin ?
>Date: Sun, 20 Apr 2008 21:04:57 -0700

>
>Using VS 2008 ... I have created a new folder cgi-bin in my project and
then
>created a c# console exe.
>
>How do I set the permissions on the folder so that the exe executes.
>
>I know how to do this on the real IIS but not on the development iis.
>
>Any ideas please ?
>
>

Re: create cgi-bin ?

am 21.04.2008 16:00:53 von Michael Tissington

Thanks - how do I do this in IIS 7 ?


"Steven Cheng [MSFT]" wrote in message
news:D0Glf64oIHA.1036@TK2MSFTNGHUB02.phx.gbl...
> Hi Michael,
>
> As for the let the console exe run as CGI, do you mean you want the exe to
> run as CGI service in Visual Studio test server? If so, I'm afraid this is
> not supported. Visual Studio test server is written as a winform program
> which can only process ASP.NET requests. If you've written a CGI program,
> you need to deploy it into IIS server for test.
>
> #Configuring CGI Applications (IIS 6.0)
> http://www.microsoft.com/technet/prodtechnol/WindowsServer20 03/Library/IIS/b
> c0c4729-e892-4871-b8f3-fcbf489f2f09.mspx?mfr=true
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> Delighting our customers is our #1 priority. We welcome your comments and
> suggestions about how we can improve the support we provide to you. Please
> feel free to let my manager know what you think of the level of service
> provided. You can send feedback directly to my manager at:
> msdnmg@microsoft.com.
>
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscriptions/support/default.aspx .
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
> --------------------
>>From: "Michael Tissington"
>>Subject: create cgi-bin ?
>>Date: Sun, 20 Apr 2008 21:04:57 -0700
>
>>
>>Using VS 2008 ... I have created a new folder cgi-bin in my project and
> then
>>created a c# console exe.
>>
>>How do I set the permissions on the folder so that the exe executes.
>>
>>I know how to do this on the real IIS but not on the development iis.
>>
>>Any ideas please ?
>>
>>
>

Re: create cgi-bin ?

am 22.04.2008 03:40:06 von stcheng

Hi Michael,

Thanks for your reply.

For IIS 7, I think the exe console application won't change much, what will
change is the configuration process since IIS7 has different configuration
model and user interface. Here is a blog entry mentioned this:

#How to run CGI applications on IIS7
http://geekswithblogs.net/Lance/archive/2007/12/13/how-to-ru n-cgi-applicatio
ns-on-iis7.aspx

BTW, it seems IIS7 will add support for write more components(such as ISAPI
) in the future.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: "Michael Tissington"
>References:

>In-Reply-To:
>Subject: Re: create cgi-bin ?
>Date: Mon, 21 Apr 2008 07:00:53 -0700

>Thanks - how do I do this in IIS 7 ?
>
>
>"Steven Cheng [MSFT]" wrote in message
>news:D0Glf64oIHA.1036@TK2MSFTNGHUB02.phx.gbl...
>> Hi Michael,
>>
>> As for the let the console exe run as CGI, do you mean you want the exe
to
>> run as CGI service in Visual Studio test server? If so, I'm afraid this
is
>> not supported. Visual Studio test server is written as a winform program
>> which can only process ASP.NET requests. If you've written a CGI
program,
>> you need to deploy it into IIS server for test.
>>
>> #Configuring CGI Applications (IIS 6.0)
>>
http://www.microsoft.com/technet/prodtechnol/WindowsServer20 03/Library/IIS/b
>> c0c4729-e892-4871-b8f3-fcbf489f2f09.mspx?mfr=true
>>
>> Sincerely,
>>
>> Steven Cheng
>>
>> Microsoft MSDN Online Support Lead
>>
>>
>> Delighting our customers is our #1 priority. We welcome your comments and
>> suggestions about how we can improve the support we provide to you.
Please
>> feel free to let my manager know what you think of the level of service
>> provided. You can send feedback directly to my manager at:
>> msdnmg@microsoft.com.
>>
>> ==================================================
>> Get notification to my posts through email? Please refer to
>>
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
>> ications.
>>
>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
>> where an initial response from the community or a Microsoft Support
>> Engineer within 1 business day is acceptable. Please note that each
follow
>> up response may take approximately 2 business days as the support
>> professional working with you may need further investigation to reach the
>> most efficient resolution. The offering is not appropriate for situations
>> that require urgent, real-time or phone-based interactions or complex
>> project analysis and dump analysis issues. Issues of this nature are best
>> handled working with a dedicated Microsoft Support Engineer by contacting
>> Microsoft Customer Support Services (CSS) at
>> http://msdn.microsoft.com/subscriptions/support/default.aspx .
>> ==================================================
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>> --------------------
>>>From: "Michael Tissington"
>>>Subject: create cgi-bin ?
>>>Date: Sun, 20 Apr 2008 21:04:57 -0700
>>
>>>
>>>Using VS 2008 ... I have created a new folder cgi-bin in my project and
>> then
>>>created a c# console exe.
>>>
>>>How do I set the permissions on the folder so that the exe executes.
>>>
>>>I know how to do this on the real IIS but not on the development iis.
>>>
>>>Any ideas please ?
>>>
>>>
>>
>
>