Create Applicationwith IIS 7

3,355 views

Published on

Create Applicationwith IIS 7

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,355
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
48
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Create Applicationwith IIS 7

  1. 1. How do I create a application within IIS 7.0? Application Documents : Application Document Path : C:Inetpubwwwroot >SSE(Create New Folder) > Copy all documents into SSE(New folder) Now application Path is C:InetpubwwwrootSSE Tools Used by applications : .NetFramework 2.0 ,ASPAJAXExtSetup,Sql server Path for ASPAJAXExtSetup.msi on Berlin Server : C:inetpubwwwrootSSEASPAJAXExtSetup.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.
  2. 2. 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
  3. 3. 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:Inetpubwwwroot. Make sure that the physical path of the respective Application under IIS now points to similar path. 3. Click OK.
  4. 4. 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
  5. 5. Step 4 : Set Permission for SSE(Applications) Default Web Site > SSE > Edit Permissions
  6. 6. Step 5: Click on Add button for add new group and user Step 6: Add New User AspNet as shown below :
  7. 7. Then, Click on Check Names Button for check existence of object
  8. 8. Step 7 : Provide full permission to aspnet and click OK Step 8 : Provide full permission to Image Folder for Everyone Go to C:inetpubwwwrootsse path and right click on Image folder . After Click on Properties .Click on Security tab and then create object..
  9. 9. Step 9 : Create new object Everyone as shown below
  10. 10. Step 10 : Provide full controls to Everyone and click OK
  11. 11. Step : 11 Change setting in web.config File Open Web.config file as shown below : Step :12 : Change different Configurations settings like :
  12. 12. • 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
  13. 13. <connectionStrings> <add name="connectionstring" connectionString="Server=s15336766;Database=sse;Uid=sse;Pwd=sse" providerName="System.Data.SqlClient"/> </connectionStrings>
  14. 14. 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
  15. 15. 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
  16. 16. Create Tagging Service Application Path of Tagging Service : C:inetpubwwwroottaggingservice Similar step as sse application you can create tagging service application

×