how to deploy a web app in iis - codeproject

7
4/16/2014 How To Deploy a Web App in IIS - CodeProject http://www.codeproject.com/Articles/280137/How-To-Deploy-a-Web-App-in-IIS 1/7 10,542,064 members (63,145 online) Sign in home quick answers discussions features community help Search for articles, questions, tips Articles » Web Development » ISAPI » General Article Browse Code Bugs / Suggestions Stats Revisions Alternatives Comments (2) Share About Article How To Deploy a Web App in IIS Type Article Licence CPOL First Posted 8 Nov 2011 Views 40,219 Bookmarked 25 times IIS Top News C# 6: First reactions Get the Insider News free each morning. Related Videos Related Articles An Introduction to IIS Retrieving the COM Class Factory for Component with CLSID...Failed Due to the Following Error: 80040154 Deploying ASP.NET Websites on IIS 7.0 VS2010 1-Click Publishing Deployment ClickOnce - Quick steps to Deploy, Install and Update Windows Based Client Applications Next Rate this: How To Deploy a Web App in IIS By shashikanth 2011, 8 Nov 2011 Introduction Listed below are the steps to deploy a web app in IIS. 1. Click start. Click Run. 2. Type inetmgr in the Run dialog Box. 3. Expand the localComputer. Right Click on the Sites. Click Add New Site as shown below: 4.89 (8 votes) articles

Upload: ksandeep0695

Post on 23-Nov-2015

32 views

Category:

Documents


3 download

DESCRIPTION

iis

TRANSCRIPT

  • 4/16/2014 How To Deploy a Web App in IIS - CodeProject

    http://www.codeproject.com/Articles/280137/How-To-Deploy-a-Web-App-in-IIS 1/7

    10,542,064 members (63,145 online)

    Sign in

    home quick answers discussions features community

    helpSearch for articles, questions, tips

    Articles Web Development ISAPI General

    Article

    Browse Code

    Bugs / Suggestions

    Stats

    Revisions

    Alternatives

    Comments (2)

    Share

    About Article

    How To Deploy a Web Appin IIS

    Type Article

    Licence CPOL

    First Posted 8 Nov 2011

    Views 40,219

    Bookmarked 25 times

    IIS

    Top News

    C# 6: First reactions

    Get the Insider News free eachmorning.

    Related Videos

    Related Articles

    An Introduction to IIS

    Retrieving the COM ClassFactory for Component withCLSID...Failed Due to theFollowing Error: 80040154

    Deploying ASP.NET Websites onIIS 7.0

    VS2010 1-Click Publishing

    Deployment

    ClickOnce - Quick steps toDeploy, Install and UpdateWindows Based ClientApplications

    Next

    Rate this:

    How To Deploy a Web App in IISBy shashikanth 2011, 8 Nov 2011

    Introduction

    Listed below are the steps to deploy a web app in IIS.

    1. Click start. Click Run.

    2. Type inetmgr in the Run dialog Box.

    3. Expand the localComputer. Right Click on the Sites. Click Add New Site as shown below:

    4.89 (8 votes)

    articles

  • 4/16/2014 How To Deploy a Web App in IIS - CodeProject

    http://www.codeproject.com/Articles/280137/How-To-Deploy-a-Web-App-in-IIS 2/7

    Beginner's Guide: Exploring IIS6.0 With ASP.NET

    Custom HyperLinks Using aGeneric Protocol Handler

    Deploying Web Sites UsingVisual Studio 2005

    Deployment of a Website on IIS

    Make Web Development Easierwith IIS Express

    Debug your ASP.NETApplication while Hosted on IIS

    Dime Buffered Upload

    Set Up IIS to Work with Serverand Client Certificates andHTTPS: Test your Client or WebService Code in Minutes(without using Win 2003 orCertificate Server).

    How to deploy ASP.NET WebApplication on server

    Deployment problems and theirsolutions of web applicationAsp.Net 2.0

    Apps in SharePoint 2013

    Hosting ISPs

    How to Deploy a Silverlight 4App Connected to a Database

    Deployment Of WebApplication Executing SSISPackage In Web Server.

    4. Type the name of the web site. In my case, it is "MyWebSite". Type the location of the web

    application or site. Give a port number (You have to manually add this port number to

    inbound rules of Windows Firewall later). And then press OK.

    If a connection with that port number already exists, then give another port number.

    5. Right click on the site name ("MyWebSite" in my case), click on "Manage Web Site" and

    "Browse".

  • 4/16/2014 How To Deploy a Web App in IIS - CodeProject

    http://www.codeproject.com/Articles/280137/How-To-Deploy-a-Web-App-in-IIS 3/7

    6. In the sub directories of the web site, if any web.config files are present, remove the tags

    with names authorization, roleprovider, profile, members. As this may cause the error as

    shown below:

    7. Change the Framework of the application pool to v4.0:

  • 4/16/2014 How To Deploy a Web App in IIS - CodeProject

    http://www.codeproject.com/Articles/280137/How-To-Deploy-a-Web-App-in-IIS 4/7

    8. ******************************************

    Change the "CodeBehind" in the aspx file to "CodeFile".

    Change the URLs to the appropriate directory. (Since ~ means root directory, it has a

    different meaning when executed in Visual Studio when compared to IIS.)

    9. All the above steps make the site work from the same computer in which IIS is installed. If

    you go to another computer and type the IP address of the system (in which IIS is

    installed), then you may not be able to access the website. For this, you have to configure

    the port in the Windows Firewall.

    10. Open the Windows Firewall from control panel as "Control Panel\All Control Panel

    Items\Windows Firewall". Click "Advanced Settings".

    Right click on InBound Rules as shown below. And fill the details as necessary.

  • 4/16/2014 How To Deploy a Web App in IIS - CodeProject

    http://www.codeproject.com/Articles/280137/How-To-Deploy-a-Web-App-in-IIS 5/7

    shashikanth 2011Software Developer GGK Technologies

    India

    No Biography provided

    Search this forum Go

    That's it! You can access the web site (hosted with IIS) from within the LAN by just typing the IP

    address of the system on which IIS is installed as:

    Collapse | Copy Code

    http://IPAddress:Portnumber e.g.:- http://192.168.1.1:90

    License

    This article, along with any associated source code and files, is licensed under The Code Project

    Open License (CPOL)

    About the Author

    Article Top

    Comments and Discussions

    You must Sign In to use this message board.

  • 4/16/2014 How To Deploy a Web App in IIS - CodeProject

    http://www.codeproject.com/Articles/280137/How-To-Deploy-a-Web-App-in-IIS 6/7

    Profile popups Spacing Relaxed Noise Medium Layout Normal Per page 25

    Update

    First Prev Next

    KaviSuja 4-Sep-13 19:47

    Member 9166990 29-Jun-13 16:25

    Last Visit: 31-Dec-99 18:00 Last Update: 15-Apr-14 4:46 Refresh 1

    General News Suggestion Question Bug Answer Joke Rant Admin

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    My vote of 5

    My vote of 4

  • 4/16/2014 How To Deploy a Web App in IIS - CodeProject

    http://www.codeproject.com/Articles/280137/How-To-Deploy-a-Web-App-in-IIS 7/7

    Permalink | Advertise | Privacy | Mobile Web04 | 2.8.140411.1 | Last Updated 8 Nov 2011

    Article Copyright 2011 by shashikanth 2011Everything else Copyright CodeProject, 1999-2014

    Terms of Use

    Layout: fixed | fluid