SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
Tech Notes


Setting up IIS on Windows® 7: Build Web
Services with RAD Studio 2010
Michael Rozlog – Sr. Director of Delphi Solutions, Embarcadero Technologies
November 2009




Corporate Headquarters              EMEA Headquarters         Asia-Pacific Headquarters
100 California Street, 12th Floor   York House                L7. 313 La Trobe Street
San Francisco, California 94111     18 York Road              Melbourne VIC 3000
                                    Maidenhead, Berkshire     Australia
                                    SL6 1SF, United Kingdom
Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010




Table of Contents

Overview .............................................................................................................................. - 2 -

   Installing IIS on Windows 7 ............................................................................................. - 2 -

   Ensuring IIS is Up and Running ...................................................................................... - 4 -

   Changing the Default Port Number for IIS: ................................................................... - 5 -

   Turning on CGI Access:................................................................................................... - 6 -

   Setting up a Virtual Directory: ........................................................................................ - 8 -

More on Embarcadero RAD Studio ................................................................................. - 10 -

   About the Author........................................................................................................... - 10 -




Embarcadero Technologies                                                                                                                -1-
Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010



OVERVIEW
This paper describes the steps for setting up Microsoft Internet Information Services (IIS) on
Windows® 7 to enable the development of web services applications with Embarcadero® RAD
Studio, Delphi®, C++Builder® and Delphi Prism™.

INSTALLING IIS ON WINDOWS 7
By default IIS is not installed on Windows 7, so you must install it before you start developing
cutting edge web services with RAD Studio 2010.




Inside the control panel, pick the Programs and Features, then select the Turn Windows
features on or off option.




Embarcadero Technologies                                                                       -2-
Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010




Make sure to turn on the Application Development Features. If you go into IIS and the interface
for the IIS Manager appears like below:




Then you did not enable the Application Development Features. The IIS Manager should look
like:




Embarcadero Technologies                                                                   -3-
Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010




You should see the CGI icon loaded if you installed that feature.



ENSURING IIS IS UP AND RUNNING
After you have IIS installed you should be able to go to any browser (IE, Firefox, or Chrome) and
check to see if the web server is up and running. Putting in the following command:
http://localhost:{port} should give the following:




Embarcadero Technologies                                                                     -4-
Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010



CHANGING THE DEFAULT PORT NUMBER FOR IIS:
When IIS is installed it has a default port number set to 80. Since this is the most used port in
the world, I like to change the port to something different. In the Windows 7 version of IIS, this
can be accomplished by setting the bindings for that website:




Right-mouse click on the Default Website in the Features View and select the Bindings… menu
item.




Click the Edit… button; this will display the editor. Change the port number (for this example
I’m using port 8080) then click the OK button and the following should be displayed:


Embarcadero Technologies                                                                       -5-
Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010




TURNING ON CGI ACCESS:
Now that you have IIS installed and configured to the proper port, the next thing we must do if
we want to use CGI based web services inside IIS 7 is to turn on that feature. This can be done
by selecting the ISAPI and CGI Restrictions icon in the Features view of the top-level server:




Embarcadero Technologies                                                                    -6-
Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010


Either double-click on the feature or click the Open Feature under the Actions pane. This will
display the options for the feature:




Then click the Edit Feature Settings… item under the Actions pane, this will show the following
dialog:




Click the Allow unspecified CGI module and click the OK button. We are now ready to start the
configuration for our web services.




Embarcadero Technologies                                                                     -7-
Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010



SETTING UP A VIRTUAL DIRECTORY:
The first thing you want to do before creating a new virtual directory is to stop the IIS server.
This can be done from the IIS Manager:




Click the Stop button under the Actions pane.

Then go to the file explorer and add the desired directory under the website location as below:




For this example I’m using the MyDelphiWebServices under the c:inetpubwwwroot directory.



Embarcadero Technologies                                                                            -8-
Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010



Once this is added, go back into the IIS manager and Start the IIS up again. You should see the
directory show up automatically:




Now we are ready to build web services inside RAD Studio 2010.




Embarcadero Technologies                                                                   -9-
Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010



MORE ON EMBARCADERO RAD STUDIO
Embarcadero RAD Studio 2010 is the industry’s most powerful rapid application development
suite for visually building GUI-intensive, data-driven end-user applications for both native
Windows and .NET. RAD Studio includes Delphi, C++Builder and Delphi Prism, enabling you to
deliver applications up to 5x faster across multiple Windows and database platforms.

Learn more about RAD Studio 2010

Download a free trial edition of RAD Studio 2010

ABOUT THE AUTHOR
Mike Rozlog is the senior director of products for Embarcadero Technologies. In this role, he is
focused on ensuring the developer focused products being created by Embarcadero meet the
expectations of developers around the world. Much of his time is dedicated to discussing and
explaining the technical and business aspects of Embarcadero’s products and services to
analysts and other audiences worldwide. Mike was formerly with CodeGear™, a developer tools
group that was acquired by Embarcadero in 2008. Previously, he spent more than eight years
working for Borland® in a number of positions, including a primary role as Chief Technical
Architect. A reputed author, Mike has been published numerous times. His latest collaboration
is Mastering JBuilder from John Wiley & Sons, Inc. Mike is online at
http://blogs.embarcadero.com/michaelrozlog/.




Embarcadero Technologies                                                                   - 10 -
Embarcadero Technologies, Inc. is a leading provider of award-winning tools for application
developers and database professionals so they can design systems right, build them faster and
run them better, regardless of their platform or programming language. Ninety of the Fortune
100 and an active community of more than three million users worldwide rely on Embarcadero
products to increase productivity, reduce costs, simplify change management and compliance
and accelerate innovation. The company’s flagship tools include: Embarcadero® Change
Manager™, Embarcadero® RAD Studio, DBArtisan®, Delphi®, ER/Studio®, JBuilder® and Rapid
SQL®. Founded in 1993, Embarcadero is headquartered in San Francisco, with offices located
around the world. Embarcadero is online at www.embarcadero.com.

Weitere ähnliche Inhalte

Kürzlich hochgeladen

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Kürzlich hochgeladen (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Empfohlen

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Empfohlen (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010

  • 1. Tech Notes Setting up IIS on Windows® 7: Build Web Services with RAD Studio 2010 Michael Rozlog – Sr. Director of Delphi Solutions, Embarcadero Technologies November 2009 Corporate Headquarters EMEA Headquarters Asia-Pacific Headquarters 100 California Street, 12th Floor York House L7. 313 La Trobe Street San Francisco, California 94111 18 York Road Melbourne VIC 3000 Maidenhead, Berkshire Australia SL6 1SF, United Kingdom
  • 2. Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010 Table of Contents Overview .............................................................................................................................. - 2 - Installing IIS on Windows 7 ............................................................................................. - 2 - Ensuring IIS is Up and Running ...................................................................................... - 4 - Changing the Default Port Number for IIS: ................................................................... - 5 - Turning on CGI Access:................................................................................................... - 6 - Setting up a Virtual Directory: ........................................................................................ - 8 - More on Embarcadero RAD Studio ................................................................................. - 10 - About the Author........................................................................................................... - 10 - Embarcadero Technologies -1-
  • 3. Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010 OVERVIEW This paper describes the steps for setting up Microsoft Internet Information Services (IIS) on Windows® 7 to enable the development of web services applications with Embarcadero® RAD Studio, Delphi®, C++Builder® and Delphi Prism™. INSTALLING IIS ON WINDOWS 7 By default IIS is not installed on Windows 7, so you must install it before you start developing cutting edge web services with RAD Studio 2010. Inside the control panel, pick the Programs and Features, then select the Turn Windows features on or off option. Embarcadero Technologies -2-
  • 4. Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010 Make sure to turn on the Application Development Features. If you go into IIS and the interface for the IIS Manager appears like below: Then you did not enable the Application Development Features. The IIS Manager should look like: Embarcadero Technologies -3-
  • 5. Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010 You should see the CGI icon loaded if you installed that feature. ENSURING IIS IS UP AND RUNNING After you have IIS installed you should be able to go to any browser (IE, Firefox, or Chrome) and check to see if the web server is up and running. Putting in the following command: http://localhost:{port} should give the following: Embarcadero Technologies -4-
  • 6. Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010 CHANGING THE DEFAULT PORT NUMBER FOR IIS: When IIS is installed it has a default port number set to 80. Since this is the most used port in the world, I like to change the port to something different. In the Windows 7 version of IIS, this can be accomplished by setting the bindings for that website: Right-mouse click on the Default Website in the Features View and select the Bindings… menu item. Click the Edit… button; this will display the editor. Change the port number (for this example I’m using port 8080) then click the OK button and the following should be displayed: Embarcadero Technologies -5-
  • 7. Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010 TURNING ON CGI ACCESS: Now that you have IIS installed and configured to the proper port, the next thing we must do if we want to use CGI based web services inside IIS 7 is to turn on that feature. This can be done by selecting the ISAPI and CGI Restrictions icon in the Features view of the top-level server: Embarcadero Technologies -6-
  • 8. Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010 Either double-click on the feature or click the Open Feature under the Actions pane. This will display the options for the feature: Then click the Edit Feature Settings… item under the Actions pane, this will show the following dialog: Click the Allow unspecified CGI module and click the OK button. We are now ready to start the configuration for our web services. Embarcadero Technologies -7-
  • 9. Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010 SETTING UP A VIRTUAL DIRECTORY: The first thing you want to do before creating a new virtual directory is to stop the IIS server. This can be done from the IIS Manager: Click the Stop button under the Actions pane. Then go to the file explorer and add the desired directory under the website location as below: For this example I’m using the MyDelphiWebServices under the c:inetpubwwwroot directory. Embarcadero Technologies -8-
  • 10. Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010 Once this is added, go back into the IIS manager and Start the IIS up again. You should see the directory show up automatically: Now we are ready to build web services inside RAD Studio 2010. Embarcadero Technologies -9-
  • 11. Setting up IIS on Windows 7: Build Web Services with RAD Studio 2010 MORE ON EMBARCADERO RAD STUDIO Embarcadero RAD Studio 2010 is the industry’s most powerful rapid application development suite for visually building GUI-intensive, data-driven end-user applications for both native Windows and .NET. RAD Studio includes Delphi, C++Builder and Delphi Prism, enabling you to deliver applications up to 5x faster across multiple Windows and database platforms. Learn more about RAD Studio 2010 Download a free trial edition of RAD Studio 2010 ABOUT THE AUTHOR Mike Rozlog is the senior director of products for Embarcadero Technologies. In this role, he is focused on ensuring the developer focused products being created by Embarcadero meet the expectations of developers around the world. Much of his time is dedicated to discussing and explaining the technical and business aspects of Embarcadero’s products and services to analysts and other audiences worldwide. Mike was formerly with CodeGear™, a developer tools group that was acquired by Embarcadero in 2008. Previously, he spent more than eight years working for Borland® in a number of positions, including a primary role as Chief Technical Architect. A reputed author, Mike has been published numerous times. His latest collaboration is Mastering JBuilder from John Wiley & Sons, Inc. Mike is online at http://blogs.embarcadero.com/michaelrozlog/. Embarcadero Technologies - 10 -
  • 12. Embarcadero Technologies, Inc. is a leading provider of award-winning tools for application developers and database professionals so they can design systems right, build them faster and run them better, regardless of their platform or programming language. Ninety of the Fortune 100 and an active community of more than three million users worldwide rely on Embarcadero products to increase productivity, reduce costs, simplify change management and compliance and accelerate innovation. The company’s flagship tools include: Embarcadero® Change Manager™, Embarcadero® RAD Studio, DBArtisan®, Delphi®, ER/Studio®, JBuilder® and Rapid SQL®. Founded in 1993, Embarcadero is headquartered in San Francisco, with offices located around the world. Embarcadero is online at www.embarcadero.com.