17
How do I create a application within IIS 7.0? Application Documents : Application Document Path : C:\Inetpub\wwwroot >SSE(Create New Folder) > Copy all documents into SSE(New folder) Now application Path is C:\Inetpub\wwwroot\SSE Tools Used by applications : .NetFramework 2.0 ,ASPAJAXExtSetup,Sql server Path for ASPAJAXExtSetup.msi on Berlin Server : C:\inetpub\wwwroot\SSE\ASPAJAXExtSetup.msi Note : Please run above exe on server because application use ajax extension method on many pages To start IIS Manager from the Run dialog box 1. On the Start menu, click Run. 2. In the Open box, type inetmgr and then click OK. To start IIS Manager from the Administrative Services console 1. In the Control Panel window, click Administrative Tools. 2. In the Administrative Tools window, click Internet Information Services (IIS) Manager.

Create Applicationwith IIS 7

Embed Size (px)

DESCRIPTION

Create Applicationwith IIS 7

Citation preview

Page 1: Create Applicationwith IIS 7

How do I create a application within IIS 7.0?

Application Documents :

Application Document Path :

C:\Inetpub\wwwroot >SSE(Create New Folder) > Copy all documents into SSE(New folder)

Now application Path is C:\Inetpub\wwwroot\SSE

Tools Used by applications : .NetFramework 2.0 ,ASPAJAXExtSetup,Sql server

Path for ASPAJAXExtSetup.msi on Berlin Server :

C:\inetpub\wwwroot\SSE\ASPAJAXExtSetup.msi

Note : Please run above exe on server because application use ajax extension method on many pages

To start IIS Manager from the Run dialog box

1. On the Start menu, click Run. 2. In the Open box, type inetmgr and then click OK.

To start IIS Manager from the Administrative Services console

1. In the Control Panel window, click Administrative Tools. 2. In the Administrative Tools window, click Internet Information Services (IIS) Manager.

Page 2: Create Applicationwith IIS 7

Step 1 : Go to IIS Manager

Step 2 :We add a application under Default website Folder using below steps:

Go to IIS > Web Sites > Default Website .

Right Click Default Website and go to New and click Virtual Directory

Default Web site > Add Applications

Page 3: Create Applicationwith IIS 7
Page 4: Create Applicationwith IIS 7

Step 3 : In the Add Application window:

1. Type your web site name.

2. Select Physical path of your web site

Note: Compiled project deployable files under C:\Inetpub\wwwroot\. Make sure that the physical path of the respective Application under IIS now points to similar path.

3. Click OK.

Page 5: Create Applicationwith IIS 7

Click on ok button . Application added successfully under default web site as shown in below image . Now We are ready for setting and permission in application

Page 6: Create Applicationwith IIS 7

Step 4 : Set Permission for SSE(Applications)

Default Web Site > SSE > Edit Permissions

Page 7: Create Applicationwith IIS 7

Step 5: Click on Add button for add new group and user

Step 6: Add New User AspNet as shown below :

Page 8: Create Applicationwith IIS 7

Then, Click on Check Names Button for check existence of object

Page 9: Create Applicationwith IIS 7

Step 7 : Provide full permission to aspnet and click OK

Step 8 : Provide full permission to Image Folder for Everyone Go to C:\inetpub\wwwroot\sse\ path and right click on Image folder . After Click on

Properties .Click on Security tab and then create object..

Page 10: Create Applicationwith IIS 7

Step 9 : Create new object Everyone as shown below

Page 11: Create Applicationwith IIS 7

Step 10 : Provide full controls to Everyone and click OK

Page 12: Create Applicationwith IIS 7

Step : 11 Change setting in web.config File

Open Web.config file as shown below :

Step :12 : Change different Configurations settings like :

Page 13: Create Applicationwith IIS 7

MailServer :Set Server IP

MailServerUserId : Set Email Id

MailServerPassword : Email Password

MailServerPort : Set Server Port

ServerIP: Current server applicatio Url

ApplicationPath : Set Application Physical path

ConnectionString : Used for database connections and set sql server credendential for it

Page 14: Create Applicationwith IIS 7

<connectionStrings>

<add name="connectionstring"

connectionString="Server=s15336766;Database=sse;Uid=sse;Pwd=sse"

providerName="System.Data.SqlClient"/>

</connectionStrings>

Page 15: Create Applicationwith IIS 7

Note : you can also set above configuration setting using IIS Manager using Basic setting , Default Setting , Application Setting

Application setting : To set default key values for applications Connection sting : To set database connection settings

Page 16: Create Applicationwith IIS 7

Basic Setting : There are some basic setting of application

Default Document : TO set default page for every folder of application .

Now Your application is ready for Browser

Page 17: Create Applicationwith IIS 7

Create Tagging Service Application

Path of Tagging Service : C:\inetpub\wwwroot\taggingservice Similar step as sse application you can create tagging service application