HOW TO DEPLOY ASP
.NET WEBSITE IN A LOCAL COMPUTER USING IIS(7).
Step
1: Install
the IIS setup in your local computer. Double click the file named ”inetmgr.exe “.
Here is the link:
32 Bit OS:
64 Bit OS:
https://download.microsoft.com/download/A/9/3/A9391E22-2554-4D19-BA3E-794456EC77E0/inetmgr_amd64.msi
All :
Install IIS in your local system .While installing its showing some Framework
console error.
(Note: So follow below steps).
Step
2 : Now Turn on the windows featues and install
the IIS in your local computer .
To learn how to enable
IIS and the required IIS components on Windows 7,8/8.1, see the instructions
below.
- Open Control Panel and click Programs and Features > Turn
Windows features on or off.
- Enable Internet Information
Services.
- Expand the Internet Information
Services feature and verify that the web
server components listed below are enabled.
- Click OK.
Required
IIS components
The IIS components
listed below satisfy the minimum requirements to run the Web Adaptor. If other
IIS components are enabled, they do not need to be removed.
- Web Management Tools
- IIS 6 Management Compatibility
- IIS Metabase and IIS 6 configuration
compatibility
- IIS Management Console
- IIS Management Scripts and
Tools
- IIS Management Service
- World Wide Web Services
- Application Development
Features
- .NET Extensibility 4.5
- ASP.NET 4.5
- ISAPI Extensions
- ISAPI Filters
- Common HTTP Features
- Default Document
- Static Content
- Security
- Basic Authentication
- Request Filtering
- Windows Authentication.
Step
3 :After installing IIS you need to install Framework 4.0 for running purpose
in a website.
1.run the command prompt as administrator
2.type the line in the command prompt below any one
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe
-i
or
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe
-i
dont change the directory of cmd.
Step
4 :Then create a folder in exact location.
C:\inetpub\wwwroot\your folder name.
Step
5 :Open your website in Visual Studio.
1.Right click the website “ Publish Web Site”.
2. Select the physical path ” C:\inetpub\wwwroot\your
folder name.”
Step
6 :Now open the IIS (or) Internet Information Services (IIS) Manager.
1.
In Run command enter the keyword “inetmgr”.
2.
Control Panel\All Control Panel Items\Administrative Tools\ Internet Information Services (IIS) Manager.
3.Right
click the Sites à
Add Web Site.Enter details like below image.
4.
Select the default web page .Like name it “ Default.aspx”.
5.Set
the Application Pool in Framework 2.0 into Framework 4.0.Enter the name it
shows the ok button.
6.After
adding the website .Now Right click the websiteà Manage the website à Advance Settings.
7
.Select the Framework 4.0.
8
.Now right click the website à
manage web site àbrowse
the website .Enjoy the website.
Sample Website with table structure :
Download below link :
HOW TO DEPLOY ASP
.NET WEBSITE IN A LOCAL COMPUTER USING IIS(7).
Step 1: Install the IIS setup in your local computer. Double click the file named ”inetmgr.exe “.
Here is the link:
32 Bit OS:
64 Bit OS:
https://download.microsoft.com/download/A/9/3/A9391E22-2554-4D19-BA3E-794456EC77E0/inetmgr_amd64.msi
All :
Install IIS in your local system .While installing its showing some Framework
console error.
(Note: So follow below steps).
Step
2 : Now Turn on the windows featues and install
the IIS in your local computer .
To learn how to enable
IIS and the required IIS components on Windows 7,8/8.1, see the instructions
below.
- Open Control Panel and click Programs and Features > Turn
Windows features on or off.
- Enable Internet Information
Services.
- Expand the Internet Information
Services feature and verify that the web
server components listed below are enabled.
- Click OK.
Required
IIS components
The IIS components
listed below satisfy the minimum requirements to run the Web Adaptor. If other
IIS components are enabled, they do not need to be removed.
- Web Management Tools
- IIS 6 Management Compatibility
- IIS Metabase and IIS 6 configuration
compatibility
- IIS Management Console
- IIS Management Scripts and
Tools
- IIS Management Service
- World Wide Web Services
- Application Development
Features
- .NET Extensibility 4.5
- ASP.NET 4.5
- ISAPI Extensions
- ISAPI Filters
- Common HTTP Features
- Default Document
- Static Content
- Security
- Basic Authentication
- Request Filtering
- Windows Authentication.
Step
3 :After installing IIS you need to install Framework 4.0 for running purpose
in a website.
1.run the command prompt as administrator
2.type the line in the command prompt below any one
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe
-i
or
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe
-i
dont change the directory of cmd.
Step
4 :Then create a folder in exact location.
C:\inetpub\wwwroot\your folder name.
Step
5 :Open your website in Visual Studio.
1.Right click the website “ Publish Web Site”.
2. Select the physical path ” C:\inetpub\wwwroot\your
folder name.”
Step
6 :Now open the IIS (or) Internet Information Services (IIS) Manager.
1.
In Run command enter the keyword “inetmgr”.
2.
Control Panel\All Control Panel Items\Administrative Tools\ Internet Information Services (IIS) Manager.
3.Right
click the Sites à
Add Web Site.Enter details like below image.
4.
Select the default web page .Like name it “ Default.aspx”.
5.Set
the Application Pool in Framework 2.0 into Framework 4.0.Enter the name it
shows the ok button.
6.After
adding the website .Now Right click the websiteà Manage the website à Advance Settings.
7
.Select the Framework 4.0.
8
.Now right click the website à
manage web site àbrowse
the website .Enjoy the website.
Sample Website with table structure :
Download below link :
No comments:
Post a Comment