You are on page 1of 9

Sreeven Infocom Ltd

Web Projects
Deployment Guide
For POS websites/web services

Nagasai Katakamsetty
22/10/2010
Contents
Prepare files for deployment ................................................................................................................ 3

Prepare Physical Directory.................................................................................................................... 5

Create a New Virtual Directory ............................................................................................................. 6

Ensure WSE allowing ASP files .............................................................................................................. 8

Set the default page for your site ......................................................................................................... 9

Check whether the site was correctly deployed.................................................................................... 9

Sreeven Infocom Ltd | Web Projects Deployment Guide | P a g e | 2


Prepare files for deployment
• Right click on the project which you want to publish, and choose Publish Web Site
Site.
Then publish web site dialog
dialog-box appears. [ Figures 1 & 2 ]

Figure 1: Popup menu showing publish web site menu item.

Figure 2: Publish web site dialog box

• Click on browse … button, and choose the folder where you want publish. Click OK,
to return to the publish dialog
dialog-box. [ Figure 3 ]
Figure 3: Choosing a folder for publishing

• Uncheck allow this precompiled site to be


b updatable check-box
box and click on OK
button.

• Then the publish process begins and the status bar shows

• If the selected folder contains any files, it confirms you to delete the existing files.
Choose yes to delete. [ Figure 4 ]

Figure 4: Confirming Deletion


Delet

• Then status bar shows

• After publish process completed, the status bar shows

• Then open the location where you have published the site. Check bin folder to ensure
all the required dllss are present. If not, paste all of them to bin.

• Delete any unnecessary


ary files like solution files etc.
• It is a good idea to zip entire folder in to a single file.

• Copy that zip file to server.

Prepare Physical Directory


• Extract the zip file that returns a folder. Place that folder in to C:\Inetpub
Inetpub\wwwroot\.
This location iss not mandatory. You may choose any other location.

• If any of the file/folder needs to be modified by user/code at run time, you need to
give full control permissions to specific groups for that file/folder. By using security
tab in that file/folder properties
properties window. These group names varies based on the O/S
you are using at server:

• If Windows Server 2003, give permissions for Network and Network Service
groups. [ Figure 5 ]

• If Windows XP, give permissions for ASPNET group.

Figure 5: Security permissions for a folder


Create a New Virtual Directory
• Press Win + R, and run inetmgr from Run. It opens Internet Information Services (IIS)
Manager. [ Figure 6]

Figure 6: IIS Manager

• Right click on Default Web Site and choose New menu item and choose Virtual
Directory… submenu item. It opens Virtual Directory Creation Wizard.. [Figure 7]

Figure 7: Popup menu for creating a virtual Directory

• Enter Alias name (virtual directory). Click Next. [Figure 8]


Figure 8: Step 1 of 3

• Choose the location of the Content Directory (Physical Directory), click next. [Figure
9]

Figure 9: Step 2 of 3

• Ensure Read, Run scripts (such as ASP), Write check boxes are checked. Click Next.
[ Figure 10]
Figure 10: Step 3 of 3

• Click Next. It creates a new virtual directory under Default Web Site withh the given
name.

Ensure WSE allowing ASP files


• If you have Web Service Extensions installed. Be sure to allow Active Server Pages
and Server Side Includes extensions. [ Figure 11]

Figure 11: WSE window


Set the default page for your site
• Right click on the
he virtual directory, which you have created previously. Choose
properties. Click on documents tab. [Figure 12]

Figure 12: Virtual directory properties window

• Click add… button and enter the default page name and ensure it should be at the top
in the list.

Check whether the site was correctly deployed


• Right click on the virtual directory and choose browse or open web
web browser and enter
http://localhost/<virtualdirectory name>. Ensure deployed site or service working
properly.

You might also like