473,379 Members | 1,253 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

create cgi-bin ?

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 ?

Jun 27 '08 #1
3 3912
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/pro.../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:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Michael Tissington" <mt*********@newsgroup.nospam>
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 ?

Jun 27 '08 #2
Thanks - how do I do this in IIS 7 ?
"Steven Cheng [MSFT]" <st*****@online.microsoft.comwrote in message
news:D0**************@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/pro.../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:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>>From: "Michael Tissington" <mt*********@newsgroup.nospam>
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 ?

Jun 27 '08 #3
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/arch...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:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

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

--------------------
>From: "Michael Tissington" <mt*********@newsgroup.nospam>
References: <e4**************@TK2MSFTNGP04.phx.gbl>
<D0**************@TK2MSFTNGHUB02.phx.gbl>
>In-Reply-To: <D0**************@TK2MSFTNGHUB02.phx.gbl>
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]" <st*****@online.microsoft.comwrote in message
news:D0**************@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/pro.../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:
ms****@microsoft.com.

================================================= =
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
================================================= =
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>>>From: "Michael Tissington" <mt*********@newsgroup.nospam>
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 ?


Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Geoff Cox | last post by:
Hello, How do I create a form without using document.write() which opens a new window? I imagine it has to do with using a <SPAN ID='idvalue' etc element and...
9
by: Allan Ebdrup | last post by:
Hi I'm having a discussion with another programmer about a best practice for thrownig exceptions. I want to create a rich class library with many different exception classes in their own...
3
by: christiang | last post by:
Hi guys, I'd like to use Alexia thumbnail service. It's an interesting service, you pass an url to its cgi and you get a thumbnail of that url. Of course they don't have the screenshots of all the...
1
by: elekis | last post by:
hi there I have a host who suport python cgi script (www.frihost.com that's cool) and discovert python (and mysql) I would like to make my own site on python . But I woulud like to try before on...
14
by: ccdetail | last post by:
http://www.tiobe.com/index.htm?tiobe_index Python is the 7th most commonly used language, up from 8th. The only one gaining ground besides VB in the top 10. We're glad, our app is written in...
11
by: Cecil Westerhof | last post by:
I have a cgi-script dat uses the modules cgi, os, sys and time. Offcourse I can not time the time used to import time, but os and sys do not take more as a millisecond. My script itself takes 3 or...
3
by: Adrian Smith | last post by:
While waiting for my paid-for web-hosting company to get back to me about my difficulties running python scripts on their servers......
2
by: roadworrier | last post by:
I'm trying to create a new object to use as an associative array automatically. I can programmatically create new variables like this: for (var i; i < 10; i++) { window; window = "moo" +...
6
by: Michael Tissington | last post by:
Using Visual Studio 2008 can someone point me to an example to create a cgi web service in C# ? Thanks.
0
by: d0353101 | last post by:
I am having login.cgi. user enter id and password. if ok it redirects to main.cgi with user_id as main_page.cgi?user_id=$user_id. main.cgi is having left menu and right part is for doing some...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.