Wednesday 23 November 2011

Installing Microsoft BizTalk Server

Preparing for the BizTalk Server Installation

There are a number of components that have to be installed or created as part of the preparation process for installing BizTalk Server.

How to install Internet Information Services (IIS)

  1. Open Control Panel.
  2. Double-click Add/Remove Programs.
  3. Click Add/Remove Windows Components in the Add Or Remove Programs dialog box.
  4. The Windows Components Wizard initiates.
  5. In the Components list, select the Internet Information Services (IIS) checkbox and then click Next.
  6. Click Finish.

How to disable the IIS Authoring Option

  1. Open the Internet Services Manager.
  2. Expand the computer node.
  3. Right-click Default Web Site and select Properties from the shortcut menu.installing microsoft biztalk server Installing Microsoft BizTalk Server
  4. The Default Web Site Properties dialog box opens.
  5. Click the Server Extensions tab.
  6. Uncheck the Enable Authoring checkbox.
  7. Click OK.

How to create the service account for installing BizTalk Server

  1. Click Start, Administrative Tools, and then click Active Directory Users And Computers to open the Active Directory Users And Computers console.
  2. In the console tree, expand the domain.
  3. Right-click the Users container and select New, and then User from the shortcut menu.
  4. When the New Object – User dialog box opens, enter the necessary information.
  5. Enter the logon name for the service account in the First Name text field and the User Logon Name field and then click Next.
  6. Proceed to set the password of the service account in the Password and Confirm Password fields, and enable any applicable options available in the dialog box for the new service account.
  7. Ensure that you User Must Change Password At Next Logon checkbox is not selected.
  8. Click Next and then click Finish.

How to configure rights for the BizTalk Server service account

  1. Click Start, Administrative Tools, and click Domain Security Policy.
  2. Expand Security Settings and expand Local Policies.
  3. Select User Rights Assignment.
  4. In the details pane, double-click the Act As Part Of The Operating System policy.
  5. The Security Policy Setting dialog box opens.
  6. Select the Define These Policy Settings checkbox.
  7. Click Add.
  8. Enter the name of the service account in the Add User Or Group dialog box and then click OK.
  9. Click OK in the Security Policy Setting dialog box.
  10. In the details pane, double-click the Log On As A Service policy.
  11. Enable the policy and click Add.
  12. Enter the name of the service account in the Add User Or Group dialog box and then click OK.
  13. Click OK in the Security Policy Setting dialog box.

How to install Message Queuing

  1. Open Control Panel.
  2. Double-click Add/Remove Programs.
  3. Click Add/Remove Windows Components in the Add Or Remove Programs dialog box.
  4. The Windows Components Wizard initiates.
  5. In the Components list, select the Message Queuing Services checkbox and then click Next.
  6. Click Next in the Message Queuing Type page to accept the default settings.
  7. Click Next again and then click Finish.

How to install SQL Server 2000

  1. Place the SQL Server 2000 Setup CD in the CD-ROM drive.
  2. SQL Server 2000 Setup usually starts automatically. To start the SQL Server 2000 Setup program manually, simply double-click Autorun.exe.
  3. Select the SQL Server 2000 Components option on the initial screen.
  4. On the Install Components screen, select the Install Database Serve option. This initiates the SQL Server 2000 Setup program.
  5. Click Next on the SQL Server 2000 Welcome screen.
  6. On the Computer Name screen, select the Local Computer option and then click Next.
  7. On the Installation Selection screen, select the Create A New Instance Of SQL Server option. Click Next.
  8. On the User Information screen, enter the necessary information in the Name textbox, and in the Company textbox. Click Next.
  9. Accept the End User License Agreement.
  10. When the Installation Definition screen displays, select the Server And Client Tools option and then click Next.
  11. On the Instance Name screen, click the Default option and then click Next.
  12. On the Setup Type screen, select the Typical option and click Next.
  13. The Services Accounts screen opens. Select the Use The Same Account For Each Service option. Select the Use A Domain User Account option. Enter the name of the user in the Username textbox and enter the associated password in the Password textbox. Verify that the name of the domain is displayed in the Domain textbox, and then click Next.
  14. On the Authentication Mode screen, select the Mixed Mode option and then enter the password for the sa login account. Click Next.
  15. When the Start Copying Files screen is displayed, click Next to start the SQL Server installation process.
  16. Choose the licensing mode on the Choose Licensing Mode screen and click Continue.
  17. Click Finish on the Setup Complete screen.

How to enable SQL Server remote management

  1. Click Start, Microsoft SQL Server and then click Client Network Utility.
  2. The SQL Server Client Network Utility dialog box opens.
  3. On the General tab, add TCP/IP to the Enabled Protocols By Order box. TCP/IP should be first in the list of protocols displayed in the Enabled Protocols By Order box.
  4. Click OK.

How to check that SQL Server is running

  1. Reboot the system.
  2. Verify that SQL Server starts automatically.
  3. In the system tray on the taskbar, proceed to double-click the SQL Server status icon.
  4. The SQL Server Service Manager dialog box opens.
  5. Check that the name of the computer is displayed in the Server textbox. To insert the name of the computer in the Server textbox, click the down arrow and select the name of the computer.
  6. Check that SQL Server is displayed in the Services textbox. To insert SQL Server in the Services textbox, click the down arrow and select SQL Server.
  7. The SQL Server service is running when a green arrow is present alongside the server. The Start/Continue button should be inactive.
  8. If the SQL Server service is not running, click the Start/Continue button.

How to install Visio 2000

  1. Place the Visio 2000 Setup CD into the CD-ROM drive.
  2. Visio 2000 Setup usually starts automatically. To start the Visio 2000 Setup program manually, simply double-click Setup.exe.
  3. Select the Install Visio 2000 Standard Edition option on the initial screen.
  4. The Microsoft Windows System Updater screen is displayed next. Click The Update button.
  5. Accept the End User License Agreement.
  6. At this point, the Visio installation begins.
  7. The System Updater screen opens next and prompts you to restart the computer. Click OK.
  8. When you log back on after the computer restarts, the Visio Installation Manager is displayed. Click Next.
  9. Accept the End User License Agreement and then click Next.
  10. When the Setup Type screen opens, click the Typical Install option and then click ext.
  11. When the Setup Preview screen is displayed, verify that the correct components are being installed. Click Next.
  12. Visio 2000 Setup now starts installing files.
  13. The Setup Progress screen shows the progress of the Visio installation.
  14. When prompted to register automatically online, select either Yes or No.
  15. The Visio Installation Manager Finished screen indicates that the Visio installation process has completed. Click Finish.

Installing BizTalk Server

When you perform a complete BizTalk Server installation, all BizTalk Server components are installed. To install only specific BizTalk Server components, you have to perform a custom installation of BizTalk Server. The BizTalk Server components installed during a complete BizTalk Server installation are listed below.
  • The full BizTalk Server documentation.
  • The following Server components:
    • The Messaging component that manages the messaging databases.
    • The XLANG Scheduler component that manages the XLANG schedule instances.
  • The following tools:
    • The XML Tools set, used for XML processing.
    • The BizTalk Document Tracking tools, used for tracking documents through the information contained in the SQL Server database.
    • The BizTalk Orchestration Designer orchestration tool.
  • SDK, Tutorial, and Samples; contains the SDK for BizTalk Server and tutorial and sample information.

How to install BizTalk Server in Interactive mode

  1. Place the BizTalk Server CD in the CD-ROM drive.
  2. The BizTalk Server 2000 Readme page is displayed. Click the Install link to initiate the BizTalk Server Setup program.
  3. The File Download dialog box opens. Select the Open This File From Its Current Location option and then click OK.
  4. Click Next on the Welcome screen.
  5. Accept the End User License Agreement and click Next.
  6. On the Customer Information screen, provide the following information:
    • Enter a name in the User Name textbox.
    • Enter the name of the organization in the Organization textbox.
    • Enter the product key.
    • Select the Anyone Who Uses This Computer option.
    Click Next.
  7. On the Destination Folder screen, click Next to use the default location specified.
  8. On the Setup Type screen, select the Complete option and then click Next.
  9. On the Configure BizTalk Server Administrative Access screen, you can use the default group name. Provide a description in the Group Description textbox. Click Next.
  10. On the Microsoft BizTalk Server Service Log On Properties screen, select the following options:
    • Local System Account
    • Start Service After Setup Completes
    Click Next.
  11. The Ready To Install The Program screen opens next.
  12. Click the Install button to start the BizTalk Server Setup process to install the BizTalk Server components.
  13. After the BizTalk Server components are installed, the BizTalk Server 2000 Messaging Database Setup Wizard starts.
  14. Click Next on the Welcome to the BizTalk Server 2000 Messaging Database Setup Wizard screen. The initial BizTalk database that you have to create and configure is the BizTalk Management database.
  15. On the Configure A BizTalk Management Database screen, choose the Create A New BizTalk Management Database option.
  16. The name of the SQL server should be displayed in the Server Name textbox under SQL Server Connection Parameters.
  17. Enter the appropriate information in the User Name textbox and the Password textbox and then click Next.
  18. When the Configure A BizTalk Server Group screen opens, select the Create A New BizTalk Server Group option. Provide a name for the BizTalk Server group and then click Next.
  19. When the Configure A Tracking Database screen is displayed, select the Create A New Tracking Database option.
  20. The name of the SQL server should be displayed in the Server Name textbox. Enter the appropriate information in the User Name textbox and the Password textbox and then click Next.
  21. On the Configure A Shared Queue Database screen, select the Create A New Shared Queue Database option.
  22. The name of the SQL server should be displayed in the Server Name textbox. Enter the appropriate information in the User Name textbox and the Password textbox and then click Next.
  23. On the Verify BizTalk Server Group screen, ensure that the proper group information is displayed. Click Next.
  24. Click Finish.
  25. The Welcome To The Microsoft BizTalk Server 2000 Orchestration Persistence Database Setup Wizard screen is displayed.
  26. Click Next.
  27. On the Configure A Default Orchestration Persistence Database screen, select the Create A New Default Orchestration Persistence Database option.
  28. The name of the SQL server should be selected. Click Next and then Finish.
  29. The Completing The Microsoft BizTalk Server 2000 Setup Wizard screen is displayed.
  30. Click Finish.

How to only install the BizTalk Server tools

  1. Place the BizTalk Server CD in the CD-ROM drive.
  2. The BizTalk Server 2000 Readme page is displayed. Click the Install link to initiate the BizTalk Server Setup program.
  3. Click Next on the Welcome screen.
  4. Accept the End User License Agreement and click Next.
  5. On the Customer Information screen, provide the following information:
    • Enter a name in the User Name textbox.
    • Enter the name of the organization in the Organization textbox.
    • Enter the product key.
    • Select the Anyone Who Uses This Computer option.
    Click Next.
  6. On the Destination Folder screen, click Next to use the default location specified.
  7. On the Setup Type screen, select the Tools option and then click Next.
  8. On the Ready To Install The Program screen, click the Install button to install the BizTalk Server tools.
  9. Click Finish.

How to perform a custom BizTalk Server installation

  1. Place the BizTalk Server CD in the CD-ROM drive.
  2. When the BizTalk Server 2000 Readme page is displayed, click the Install link to initiate the BizTalk Server Setup program.
  3. Click Next on the Welcome screen.
  4. Accept the End User License Agreement and click Next.
  5. On the Customer Information screen, provide the following information:
    • Enter a name in the User Name textbox.
    • Enter the name of the organization in the Organization textbox.
    • Enter the product key.
    • Select the Anyone Who Uses This Computer option.
    Click Next.
  6. On the Destination Folder screen, click Next to use the default location specified.
  7. On the Setup Type screen, select the Custom Setup option and then click Next.
  8. The Custom Setup screen opens.
  9. Click the down arrow alongside Services and select the components to install.
  10. Click the down arrow alongside Tools and select the components to install.
  11. Click the down arrow alongside SDK, Tutorial, and Samples and select the components to install. Click Next
  12. On the Configure BizTalk Server Administrative Access screen, you can use the default group name. Provide a description in the Group Description textbox. Click Next.
  13. On the Microsoft BizTalk Server Service Log On Properties screen, select the following options:
    • Local System Account
    • Start Service After Setup Completes
    Click Next.
  14. On the Configure BizTalk Management Desk screen, enter the name of computer in the BizTalk Server Name textbox and then click Next
  15. The Ready To Install The Program screen opens next. Click the Install button to start the BizTalk Server Setup process to install the BizTalk Server components that you have specified.
  16. The BizTalk Server Database Setup Wizard opens. Proceed to specify the appropriate BizTalk Server database options.

How to configure SQL Server databases for BizTalk Server

  1. Click Start, click Programs, click Microsoft SQL Server and then select Enterprise Manager.
  2. The SQL Server Enterprise Manager opens.
  3. Expand Microsoft SQL Servers, expand SQL Server Group, expand the server and then expand Databases.
  4. The databases which were created when you ran the BizTalk Server 2000 Setup program should be listed here
  5. Select the BizTalk Server database that you want to configure.
  6. Right-click the database and select Properties from the shortcut menu.
  7. The Database Properties dialog box opens.
  8. Switch to the Options tab.
  9. Select the Auto Shrink checkbox.
  10. Click OK.

Managing BizTalk Servers and Server Groups

A few BizTalk Server administrative tasks that you need to perform to manage BizTalk Server are summarized below. The BizTalk Server Administration console can be used to perform most of the BizTalk Server administrative tasks listed here.
You have to be a member of the BizTalk Server Administrators group to perform BizTalk Server administrative tasks.
The BizTalk Server administrative tasks are:
  • You can use the BizTalk Server Administration console to add BizTalk server groups and remove BizTalk server groups.
  • The BizTalk Server Administration console can be used to manage the status of BizTalk server groups. A server group can be in either of the following states:
    • Connected; indicates that the server group is functioning as usual.
    • Tracking Connection Failed; indicates that the Tracking database is inaccessible.managing biztalk server Managing BizTalk Server
    • Shared Queue Connection Failed; indicates that the Shared Queue database is inaccessible.
    • Tracking and Shared Queue Connection Failed; indicates that both the Tracking database and Shared Queue database is inaccessible.
  • You might need to stop and start servers in a BizTalk server group. You might also need to disable BizTalk Messaging Services on the server.
  • When you disable BizTalk Messaging Services on a server, that server would no longer be part of document processing. In this case, you need to free interchanges on the server and redistribute them so that another server can process them.
  • To track and monitor the health of each server within a BizTalk server group, you have to check the status of these servers. To do this, you can use the BizTalk Server Administration console. A server is in either of these states:
    • Running; indicates that the server is running as usual.
    • Stopped; indicates that the server has been stopped.
    • Error; a server is usually in this state when BizTalk Server is uninstalled from the server but the server was not removed from the BizTalk server group.
    • Access Denied; a server is in this state when a user that has insufficient administrative privileges attempts to access it.
    • Unknown; indicates that the server is unavailable for an unknown reason, such as a network issue.
  • You might also need to add servers to a BizTalk server group and remove servers from the BizTalk server group. When you remove servers from a specific server group, the Messaging Management database is not removed. This basically allows you to recreate the server group and then easily add servers. To do this, you would need to use the BizTalk Server Database Setup Wizard and then select the existing database option.
  • For troubleshooting purposes, you might need to use Event Viewer to examine events that happened on the BizTalk server.
  • Manage and monitor the items residing in the BizTalk Server queues.
  • You can use the BizTalk Server Administration console to configure a generic receive function to process files and documents from a message queue.
  • The SQL Server Enterprise Manager console is used to configure and manage the BizTalk Server databases.
  • To enable another user to manage BizTalk Server, the user needs to be added to the BizTalk Server Administrators group. To do this, you can use:
    • Active Directory Users And Computers management console.
    • Local Users and Groups in the Computer Management console.
The BizTalk Server Administration console is the primary tool used to:
  • Configure a BizTalk server.
  • Manage a BizTalk server. You can manage all BizTalk servers that utilize the same Messaging Management database.
  • Monitor and troubleshoot a BizTalk server.
The BizTalk Server Administration snap-in is installed when you install BizTalk Server. You can also use it to remotely manage BizTalk servers.
If you have BizTalk Server Administrator privileges, you can perform the following administrative tasks:
  • View BizTalk server group properties.
  • Add and remove BizTalk server groups
  • Modify BizTalk server group properties.
  • View receive functions properties.
  • Modify receive functions properties.
  • Manage BizTalk queues.
If you have BizTalk Server Administrator privileges and Windows Server Administrator privileges, you can also perform the following administrative tasks:
  • Add and remove BizTalk servers from BizTalk server groups.
  • View server properties.
  • Modify server properties.
  • Free interchanges on a server.

Managing BizTalk Server Databases

The BizTalk Server databases that you need to manage are listed here:
  • BizTalk Messaging Management database (InterchangeBTM): The Messaging Management database does not store information on document processing – it stores information on messaging objects. While you can use multiple Tracking and Shared Queue databases, it is recommended that you have one Messaging Management database. This would enable you to centrally store information on:
    • Servers
    • Server groups
    • Messaging ports
    • Channels
    • Any other objects in the organization.
  • Tracking database (InterchangeDTA): When BizTalk Server sends a document, or a document is submitted to the BizTalk Server, the information within the Tracking database is updated. The Tracking database collects metadata on documents when document tracking is enabled. Documents stored in the Tracking database are not automatically removed.
  • Shared Queue database (InterchangeSQ): The Shared Queue database also stores information when BizTalk Server sends a document, or a document is submitted to the BizTalk Server, but on a more temporary basis. A document is noted in the Shared Queue database once. Documents that are processed do not remain on the Shared Queue database.

Managing BizTalk Server Queues

BizTalk Server uses a number of queues in its document processing process. Thequeues used by BizTalk Server are:
  • Work queue: Contains documents which are being processed.
  • Scheduled queue: Contains processed documents that can only be sent at a specific time. This makes it possible to process any other documents.
  • Retry queue: Contains documents that has a transmission failure as well as documents that still need receipts.
  • Suspended queue: Contains documents that had a processing failure.
To stop a document from moving through the processing procedure, you can move the document from its current queue to the Suspended queue.
The Suspended queue differs from the other queues, in that there is no certainty that a document will be removed from this queue. You can though remove a document from the Suspended queue by:
  • Resubmitting the document. This is done by moving the document to the Work queue. From here, the document will be processed as normal.
  • Deleting the document.
You can use the BizTalk Server Administration console to view information on a document or interchange, to determine what issue is preventing the document from being processed.
The information displayed on the document or interchange includes the following:
  • Timestamp; informs you when the document was submitted.
  • State; indicates the state which the document was in when the specific error occurred.
  • Error Description; is a summarized description on the problem. If you want to view more detailed information, right-click the document and then select View Error Description from the shortcut menu.
  • Source; indicates the source of the document or interchange.
  • Destination; indicates the destination of the document or interchange.
  • Document/Interchange; indicates the name of the document definition.
  • Interchange ID; indicates the globally unique identifier (GUID) for an interchange.

How to start BizTalk Server Administration console

  1. Click Start, Microsoft BizTalk Server 2000, and then click BizTalk Server Administration.

How to administer BizTalk Server using the BizTalk Server Administration console

  1. Open the BizTalk Server Administration console.
  2. Expand the Microsoft BizTalk Server 2000 node and expand the BizTalk Server Group node.
  3. Select the BizTalk Server Group that you want to manage.
  4. The state of the BizTalk server group is displayed in the right pane. Verify that the status of the BizTalk server group is Connected. To change the state of the BizTalk server group, right-click it and select the desired state from the shortcut menu.
  5. Select a BizTalk server in the BizTalk server group.
  6. The state of the BizTalk server is displayed in the right pane. Verify that the status of the BizTalk server is Running.
  7. To change the state of the BizTalk server, right-click it and select the desired state from the shortcut menu.
  8. Expand the Queues node. The four BizTalk Server queues are displayed.
  9. Select Receive Functions to view the receive functions that have been configured.
  10. Expand Event Viewer to display the event logs:
    • Application
    • Directory Service
    • DNS Service
    • File Replication Service
    • Security
    • System
    Select either of the above to display the associated events.

How to add a server to a BizTalk server group

  1. Open the BizTalk Server Administration console.
  2. Expand the Microsoft BizTalk Server 2000 node and expand the BizTalk Server Group node.
  3. Right-click BizTalk Server Group and select New and then Server from the shortcut menu.
  4. The Add A BizTalk Server dialog box opens.
  5. Enter a name for the BizTalk server.
  6. Click OK.

How to configure database connection properties

  1. Open the BizTalk Server Administration console.
  2. Expand the Microsoft BizTalk Server 2000 node and expand the BizTalk Server Group node.
  3. Right-click the BizTalk server group that you want to configure and select Properties from the shortcut menu.
  4. The BizTalk Server Group Properties dialog box opens.
  5. Click the Connection tab.
  6. For the Tracking and Shared Queue databases for this server group, specify the appropriate password.
  7. Click OK.

How to configure Messaging Management database properties

  1. Click Start, Programs, Microsoft SQL Server, and then click Enterprise Manager to open SQL Server Enterprise Manager.
  2. Expand Microsoft SQL Servers, expand SQL Server Group, expand the server, and expand Databases.
  3. Right-click InterchangeBTM and select Properties from the shortcut menu.
  4. Click the Data Files tab.
  5. Select the Automatically Grow File checkbox, and select By Percent.
  6. Select the Unrestricted File Growth option.
  7. Click the Transaction Log tab.
  8. Select the Automatically Grow File checkbox, and select By Percent.
  9. Select the Unrestricted File Growth option.
  10. Click the Options tab.
  11. Select the Auto Shrink option.
  12. Click OK.

How to configure Tracking database properties

  1. Open SQL Server Enterprise Manager.
  2. Expand Microsoft SQL Servers, expand SQL Server Group, expand the server, and expand Databases.
  3. Right-click InterchangeDTA and select Properties from the shortcut menu.
  4. Click the Data Files tab.
  5. Select the Automatically Grow File checkbox, and select By Percent.
  6. Select the Unrestricted File Growth option.
  7. Click the Transaction Log tab.
  8. Select the Automatically Grow File checkbox, and select By Percent.
  9. Select the Unrestricted File Growth option.
  10. Click the Options tab.
  11. Select the Auto Shrink option.
  12. Click OK.

How to configure Shared Queuedatabase properties

  1. Open SQL Server Enterprise Manager.
  2. Expand Microsoft SQL Servers, expand SQL Server Group, expand the server, and expand Databases.
  3. Right-click InterchangeSQ and select Properties from the shortcut menu.
  4. Click the Data Files tab.
  5. Select the Automatically Grow File checkbox, and select By Percent.
  6. Select the Unrestricted File Growth option.
  7. Click the Transaction Log tab.
  8. Select the Automatically Grow File checkbox, and select By Percent.
  9. Select the Unrestricted File Growth option.
  10. Click the Options tab.
  11. Select the Auto Shrink option.
  12. Click OK.

How to remove the Tracking database or Shared Queue database

  1. Open SQL Server Enterprise Manager.
  2. Expand Microsoft SQL Servers, expand SQL Server Group, expand the server, and expand Databases.
  3. Right-click the database that you want to remove and select Delete from the shortcut menu.
  4. When the Delete Database dialog box opens, click Yes to delete the database.

How to move a document to the Suspended queue

  1. Open the BizTalk Server Administration console.
  2. Expand the Microsoft BizTalk Server 2000 node and expand the BizTalk server group that contains the document you want to move.
  3. Expand the Queues node.
  4. Expand the specific queue that contains the document you want to move.
  5. Right-click the document and select All Tasks and then select Move To Suspended Queue from the shortcut menu.

How to manage the Suspended queue

  1. Open the BizTalk Server Administration console.
  2. Expand the Microsoft BizTalk Server 2000 node and expand the BizTalk server group that contains the documents you want to manage.
  3. Expand the Queues node.
  4. Select the Suspended Queue. Information on the Suspended queue is displayed in the right pane of the console.
  5. If you want to view information on a document, right-click the document and then select View Error Description from the shortcut menu.
  6. The Suspended Queue Entry Error Description window opens, displaying detailed information on the error.
  7. Click OK to close the Suspended Queue Entry Error Description window.
  8. If you want to view the interchange, right-click the document and then select View Interchange from the shortcut menu.
  9. The Document Content window opens, displaying the information.
  10. Click OK to Cloe the Document Content window.

How to resubmit a document in the Suspended queue

  1. Open the BizTalk Server Administration console.
  2. Expand the Microsoft BizTalk Server 2000 node and expand the BizTalk server group that contains the document you want to resubmit.
  3. Expand the Queues node.
  4. Select the Suspended Queue. Information on the Suspended queue is displayed in the right pane of the console.
  5. Right-click the document, select All Tasks, and then select Resubmit from the shortcut menu.
  6. The document is moved to the Work queue.

How to delete a document from the Suspended queue

  1. Open the BizTalk Server Administration console.
  2. Expand the Microsoft BizTalk Server 2000 node and expand the BizTalk server group that contains the document you want to delete.
  3. Expand the Queues node.
  4. Select the Suspended Queue. Information on the Suspended queue is displayed in the right pane of the console.
  5. Right-click the document you want to delete and select Delete from the shortcut menu.
  6. Click Yes on the User Action Confirmation dialog box.
  7. The document is removed from the Suspended Queue.

Using IIS Manager for IIS Administration

The IIS Manager can be used to perform administration functions for the following versions of IIS:
  • IIS 4, IIS 5, IIS 5.1 and IIS 6.
When you perform a basic installation of IIS, the following IIS components are installed:
  • Files utilized by IIS.
  • Microsoft FrontPage server extensions.
  • The IIS snap-in, IIS Manager.
  • The World Wide Web service and SMTP service.
To change any default configuration settings of these components, you can use the IIS Manager. The IIS Manager is a MMC console which is automatically installed when you install IIS. It is the main tool used for performing IIS administration tasks. You can use the IIS Manager GUI tool to machine multiple IIS machines both locally and remotely. Because IIS functions through WAN connections, you can use the IIS Manager for remote management of the IIS machine over LAN and WAN connections. You can perform virtually any IIS administration functions from the IIS Manager tool, including:
  • Manage IIS security and performance.
  • Enable or disable IIS components.
  • Create and manage Web sites and SMTP sites.
  • Manage services such as File Transfer Protocol (FTP), Simple Mail Transfer Protocol (SMTP), Network News Transfer Protocol.
  • Configure Application Pools.
  • Perform content management tasks.
The left pane of the IIS Manager window contains the console tree, which in turn holds the objects which you can perform management tasks for. When you select an object in the console tree, the right pane (details pane) lists the details of that particular object. You can right-click the nodes in the console tree, and select its Properties from the shortcut menu to configure settings. You can also access certain administrative functions by right-clicking the node and selecting the function from the shortcut menu that displays.
The three nodes in the IIS Manager’s console tree are:
  • Application Pools: This is the location from where you can create application pools, assign applications to application pools, assign worker processes to applications, configure health and recycling settings, as well as other configuration settings. When you install IIS 6, and it is running in worker process isolation mode, the DefaultAppPool is created under the Application Pools node. Default Application Pool contains Default Application. This is created for the Default Web Site at IIS installation. Right-clicking DefaultAppPool enables you to perform the tasks listed below, by selecting it from th shortcut menu:
    • Access the Properties dialog box of an application pool to specify configuration settings.
    • Save an application pool’s configuration to a XML file so that it can be imported to a different server.
    • Stop and start application pools.
    • Recycle the worker processes of an application pool.
  • Web Sites: This node contains the Default Web Site, which is automatically created when IIS 6 is installed. This is the location from which to configure websites and virtual directories to run dynamic web applications.
  • Web Service Extensions (WSE): By default, IIS 6 is installed in lock down mode. To ensure that your applications run correctly, you have to enable or unlock certain IIS components, including ASP, ASP.NET, ISAPI or CGI, or components. You do this using the Web Service Extensions (WSE) node.
How to open the IIS Manager
You can use the methods listed below to open the IIS Manager:
  • Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
  • Click Start, Run, enter inetmgr in the dialog box, and click OK.
How to connect to an IIS computer using the IIS Manager:
  1. Right-click the Internet Information Services node in the console tree and click Connect from the shortcut menu.
  2. The Connect To Computer dialog box opens.
  3. If you know the name of the computer, enter it in the Computer Name box. This has to be the fully qualified domain name (FQDN) or IP address of the computer. Click OK.
  4. If you want to browse for the computer name, click the Browse button on the Connect To Computer dialog box.
  5. When the Select Computer dialog box opens, search for the computer you want to connect to, and click OK.
  6. You can click the Advanced button on the Select Computer dialog box to search Active Directory and the network for the computer name. Click OK.
  7. Click OK
How to use the All Tasks shortcut menu option to manage IIS servers:
You can display the All Tasks shortcut menu option by right-clicking the node of a connected IIS computer and selecting All Task from the shortcut menu. This brings up a submenu, from which you can choose to perform the following tasks:
  • Backup/Restore Configuration.
  • Restart IIS.
  • Save Configuration To Disk.
To back up the IIS metabase using Backup/Restore Configuration option,
  1. Right-click the IIS server whose metabase you want to back up, select All Tasks from the shortcut menu, and then select Backup/Restore Configuration.
  2. The Configuration Backup/Restore dialog box opens.
  3. All existing backups are listed in the Backup list box of the dialog box.
  4. Click the Create Backup button to back up the metabase.
  5. When the Configuration Backup dialog box opens, enter a name for the backup and a password for securing the backup.
  6. Click OK.
  7. The newly created backup is now listed in the Backup list box of the Configuration Backup/Restore dialog box.
  8. All backup files are in the following folder:
    • Systemroot%System32 inetservMetaBack
      • An .md0 file extension indicates a metabase backup file
      • An .sc0 file extension indicates a metabase schema backup file
To restart IIS using the Restart IIS option,
  1. Right-click the IIS server, select All Tasks on the shortcut menu, and then click Restart IIS.
  2. You can choose between the following options:
    • Restart IIS.
    • Restart Server.
    • Stop IIS.
    • Start IIS.
Restarting IIS has the following consequences:
  • Any users connected to IIS lose their connectivity.
  • Websites and Web applications are unavailable for the duration of the restart. All data in memory of any applicatios are lost.
To immediately save configuration changes to the metabase using the Save Configuration To Disk option,
  1. Right-click the IIS server whose configuration setting changes you want to save to the metabase, select All Tasks on the shortcut menu, and then click Save Configuration To Disk.

Using Remote Desktop for IIS Administration

The Remote Desktop feature can be used to manage IIS computers using a Terminal Services client running Windows 98, Windows NT 4, Windows 2000 and Windows Server 2003. Essentially, the Windows Server 2003 Remote Desktop feature is alike to the Terminal Services – Remote Administration mode in Windows 2000. However, with Windows Server 2003, the Remote Desktop feature is automatically installed. It does however need to be enabled.
To enable the Remote Desktop feature,
  1. Open the System utility in Control Panel.
  2. Click the Remote tab.
  3. Enable the Users To Connect Remotely To This Computer checkbox.
  4. Click OK.
The following two Remote Desktop components are also automatically installed:
  • Remote Desktop for Administration (RDA): This feature requires Terminal Services to enable client computers to connect to a server for remote desktop management.
  • Remote Desktop Connection (RDC): You can use RDC to connect to an IIS server and manage it remotely. To connect to a IIS server,
    1. Click Start, All Programs, Accessories, Communications, and then click Remote Desktop Connection.
    2. When the Remote Desktop Connection dialog box opens, enter the name or IP address of the computer you want to connect to.
    3. Click Connect.

How to install IIS Components and create Web, FTP, NNTP, and SMTP sites

How to install IIS components:
Before you can create and maintain any Web, FTP, NNTP, and SMTP sites, you first have to install the necessary components.
  1. Click Start, Control Panel, and click Add/Remove Programs.
  2. Click Add/Remove Windows Components in the Add Or Remove Programs dialog box.
  3. Click Application Server in the Windows Components dialog box, and then click the Details button.
  4. The Application Server dialog box appears next.
  5. Click IIS and then select the Details button.
  6. After selecting the IIS components you want to install, click OK.
  7. When the Insert Disk dialog box appears, insert the Windows Server 2003 CD in the CD-ROM drive, and click OK.
How to create a new Web site:
The IIS Manager is the primary management tool used to create and manage websites. The Web Site Creation Wizard is used for the creation of new Web sites.
  1. Open the IIS Manager.
  2. Right-click the Web Sites node in the console tree, select New from the shortcut menu, and then select Web Site.
  3. The Web Site Creation Wizard initiates.
  4. On the Welcome to the Web Site Creation Wizard screen click Next.
  5. On the Web Site Description page, enter a name for the website. The name you enter here would be used in the IIS Manager. Click Next.
  6. On the IP Address and Port Settings page,
    • Enter the IP address for the site in the Enter the IP address to use for this Web site text box.
    • Enter the port number for the site in the TCP Port this Web site should use text box.
    • Enter the host header name for the new site in the Host header for this Web site text box.
    Click Next.
  7. On the Web Site Home Directory page, enter the path to the home directory for the site. It is recommended to host the directory on an NTFS partition because it is the location where the files of the Web site would be stored. You can click the Browse button to locate the folder.
  8. The Allow anonymous access to this web site checkbox is enabled by default. If the new Web site is to host confidential data, uncheck the Allow anonymous access to this web site checkbox. This would prvent users to authenticate via anonymous access to access the Web site. Click Next.
  9. On the Web Site Access Permissions page, the default access permissions for the Web site is that only the Read and the Run Scripts permissions is allowed. All other permissions are not enabled. The additional permissions which you can set to allow by enabling its associated checkboxes are:
    • Execute, to enable execute permission for Dynamic Link Libraries (DLLs).
    • Write, to allow users to upload data to the source directories of the site.
    • Browse, to allow directory browsing on the new Web site.
    Click Next.
  10. Click Finish to create the new Web site.
How to create a FTP site:
Before you can create a FTP site or multiple FTP sites, you have to install the FTP Service. Following this, use the steps below to create a FTP site.
  1. Open the IIS Manager.
  2. Right-click the FTP Sites node in the console tree, select New from the shortcut menu, and then select FTP Site.
  3. The FTP Site Creation Wizard initiates.
  4. On the Welcome to the FTP Site Creation Wizard screen click Next.
  5. On the FTP Site Description page, enter a name for the new FTP site. Click Next.
  6. On the IP Address and Port Settings page,
    • Enter the IP address for the FTP site in the Enter the IP address to use for this FTP site text box.
    • Enter the port number for the FTP site in the Type the TCP Port this FTP site text box.
    Click Next.
  7. On the FTP User Isolation page, you can select the security setting options listed below:
    • Do not isolate users: Enables all users to access all directories and files.
    • Isolate users: Isolates a user from accessing other users’ FTP home directories.
    • Isolate the users using Active Directory: To specify that Active Directory is used to authenticate and assign a FTP home directory to the user.
    Click Next.
  8. On the FTP Site Home Directory page, enter the path to the home directory for the FTP site. You can click the Browse button to locate the folder. Click Next.
  9. On the FTP Site Access Permissions page, the default access permission enabled for the FTP site is the Read permission. You have to enable the Write permission if you want users to be able to upload any data to the source directories of the site.
    Click Next.
  10. Click Finish to create the new FTP site.
How to create a NNTP virtual server:
While IIS by default does create a NNTP server, you can create additional NNTP servers.
  1. Open the IIS Manager.
  2. Locate the computer, right-click Default NNTP Server, select New and then Virtual Server from the shortcut menu.
  3. The New NNTP Virtual Server Wizard initiates.
  4. Enter a name for the NNTP site. Click Next.
  5. On the Select IP Address page, select the IP address and port number settings for the NNTP site. It is recommended to use unique IP addresses for each NNTP site. Click Next
  6. Enter the path to the home directory for the NNTP server. Click Next.
  7. On the Select Storage Medium page, choose of the following options:
    • File System, allows users to store news messages on the local computer
    • Remote Share, allows users to store news messages remotely.
    Click Next.
  8. Enter the physical directory where the news messages are to be located.
  9. Click Finish.
How to create a SMTP virtual server:
  1. Open the IIS Manager.
  2. Locate the computer, right-click Default SMTP Server, select New and then Virtual Server from the shortcut menu.
  3. The New SMTP Virtual Server Wizard initiates.
  4. Enter a name for the SMTP site. Click Next.
  5. On the Select IP Address page, enter the IP address settings for the SMTP site. Click Next
  6. Enter the path to the home directory for the SMTP server. Click Next.
  7. Provide the domain name for the SMTP srver. Click Next.
  8. Click Finish.
How to create a virtual directory for a Web site:
A virtual directory is basically a pointer or reference to a Web site or FTP site that enables access to the subdirectories from the root Web directory or FTP directory.
  1. Open the IIS Manager.
  2. Locate the IIS server, right-click the Web site, and select New and then Virtual Directory from the shortcut menu.
  3. The Virtual Directory Creation Wizard launches.
  4. Click Next on the initial screen of the wizard.
  5. On the Virtual Directory Alias page, enter a name for the new virtual directory. Click Next.
  6. Choose the physical directory to which this virtual directory should point. Click Next.
  7. Choose the access permissions for the virtual directory. The default settings that are enabled on the Virtual Directory Access Permissions page are Read, and Run Scripts. Click Next
  8. Click Finish.
How to host multiple Web sites:
The primary method used to host multiple Web sites is to assign a unique IP address to each Web site. You can alternatively assign a different port number for the Web site while using the same IP address, or you can assign unique host headers on a single IP address.
To host multiple Web sites,
  1. Open the IIS Manager.
  2. Locate the IIS server, right-click the Web site, and select Properties from the shortcut menu.
  3. Click the Web Site tab.
  4. If you want to assign a unique IP address for the Web site, enter or select the IP address in the IP address box. Click OK
  5. If you want to assign a different port number for the Web site, use the TCP port box. Click OK.
  6. If you want to assign unique host headers using the same IP address, click the Advanced button.
  7. Click Add.
  8. Select the IP address and port number of the Web site.
  9. In the Host Header value text box, enter the host header details. Click OK.
How to configure master website properties:
You can configure master properties for websites, based on the computer on which they are created. When you configure master website properties, all sites created on that particular computer inherit the master website properties.
To configure master website properties,
  1. Open the IIS Manager.
  2. Right-click the Web Sites node in the console tree, and then select Properties from the shortcut menu.
  3. When the Web Site Properties dialog box opens, use the tabs on the dialog box to configure the settings which should be used for all websites which are going to be created.
  4. The Inheritance Overrides dialog box will be displayed when there are existing websites, providing you with the option of overriding your existing settings for these websites.

The Different Administration Levels for Configuring IIS Settings

The administration of IIS configuration settings are categorized into different administration levels. The administration levels and the administration tasks typically performed at each administration level are listed below:
  • Server level administration encompasses the administration tasks listed below. Server configuration settings affect virtual servers on the IIS server:
    • Connect to, and manage IIS computers.
    • Enable, disable HTTP compression.
    • Enable, disable bandwidth throttling for all sites hosted on the IIS machine.
    • Configure master website properties for all sites hosted on the IIS machine.
    • Configure settings for the MIME map.
    • Configure server extensions.
    • Backup and restore IIS.
  • Site level administration relate to setting site configuration settings which affect only a particular Web, FTP, SMTP, or NNTP site on the IIS machine. You can configure settings for these sites through its associated property sheet.
  • Directory level administration relate to directory configration settings. These settings apply to the virtual and physical directories of a Web site or FTP site. Directory administration involves the configuration of these settings:
    • Application settings.
    • Authentication and access control settings.
    • Configuring IP address and domain name restrictions.
    • The location of content, configuring content expiration and content rating settings.
    • Configuring default documents and document footers.
    • MIME mappings.
    • Custom HTTP headers and custom HTTP errors.
  • File level administration relate to setting the properties of files in the home directory, and other directories of Web sites and FTP sites. The settings you can configure include Directory Browsing, Enable Document Footer, and Index This Resource.

Configuring Web Site Properties

You can configure settings for websites hosted on the IIS server by using its associated Properties dialog box.
To access the Properties dialog box of a website,
  1. Open the IIS Manager.
  2. Locate and right-click the website, and select Properties from the shortcut menu.
  3. The Properties dialog box contains the following tabs:
    • Web Site tab, Performance tab, ISAPI Filters tab, Home Directory tab, Documents tab, Directory Security tab, HTTP Headers tab, and Custom Errors tab. Each of these tabs is discussed in more detail next.
Web Site tab
The configuration settings which you can configure on the Web sites tab are listed below:
  • A description of the Web site is listed in the Description text box. You can change the existing description listed in the Description text box.
  • You can configure the IP address and TCP port for the Web site using the IP address text box and TCP text box. The default TCP port utilized for HTTP is TCP port 80.
  • You can indicate the connection timeout value after which an inactive user would be disconnected from the Web site in the Connection Timeout box.
  • Checking the Enable HTTP Keep-Alives checkbox enables clients to maintain open connections with the IIS server.
  • If you want to enable logging for the Web site, select the Enable logging checkbox. The log formats that can be used with IIS 6 are
    • Microsoft IIS Log File Format.
    • NCSA Common Log File Format.
    • ODBC Logging.
    • W3C Extended Log File Format.
    If you want to configure settings for the log schedule and log file directory, click the Properties button.
Performance tab
The performance specific configuration settings which you can configure on the Performance tab are listed below:
  • In the Bandwidth Throttling section of the tab, you can enable the Limit the network bandwidth available to this Web site checkbox to control the quantity of bandwidth that the site can use. When enabled, the default setting is 1024 bytes per second. You can however change this setting.
  • In the Web Sites Connections section of the tab, you can select the Unlimited option, or you can specify the number of connections which are allowed by selecting the Connections limited to option and then specifying the number of connections which are allowed.
ISAPI Filters tab
You can use the Add, Remove, Edit, Disable, Move up and Move down buttons to manage your ISAPI filters.
Home Directory tab
The settings and options you can configure on the Home Directory tab are:
  • The location of the site content can be specified as one of the following options:
    • A Directory Located On This Computer.
    • A Share Located On Another Computer.
    • A Redirection To A URL.
  • You can also change the path to the home directory in the Local path box.
  • The access permissions which you can enable are listed below:
    • Script Source Access, enables users to access source-code.
    • Read, enables users to download and read files in the home directory.
    • Write, allows users to change Web content.
    • Directory Browsing, allows users to browse the directory.
    • Log Visits, logs users who access the site.
    • Index This Resource, enables indexing of the home folder.
  • In the Application Settings section of the Home Directory tab is the name of the root directory that holds the files and subdirectories for an executable application. The Execute permissions options that can be configured are:
    • None, allows only access to static files.
    • Scripts Only, prohibits the running of executables.
    • Scripts And Executables, access to all files are allowed and as well as the running of executables are allowed.
The Documents tab
The settings and options you can configure on the Documents tab are:
  • You can define the default document (home page) which will be presented to users when they access the site. You can specify multiple documents and define the order in which they should be applied.
  • If you want to enable document footers, select the Enable document footer checkbox.
The Directory Security tab
The configuration areas in which the Directory Security tab is divided, as well as the settings which you can configure within each section is listed below:
  • Authentication and Access Control: To change the authentication methods currently used, click the Edit button. The Authentication Methods dialog box is displayed.
    • The Enable anonymous access checkbox can be enabled or disabled for the site. Anonymous access is typically used for public sites.
    • The options which you can configure in the Authenticated Access area of the Authentication Methods dialog box are:
      • Integrated Windows Authentication: This is the most secure option that can be used for authentication in IIS.
      • Digest Authentication For Windows Domain Servers: This option can only be enabled if Active Directory is used. Digest Authentication sends the user credentials over the network by utilizing an encrypted MD5 hash.
      • Basic Authentication: This is the weakest authentication method available for IIS, and should be utilized when you cannot use any other authentication method.
      • .NET Passport Authentication: When enabled, authentication occurs via a single sign on method.
  • IP Address and Domain Name Restrictions: To restrict access to websites and directories by using addresses and domain names, click the Edit button in this section of the Directory Security tab. The IP Address And Domain Name Restrictions dialog box is displayed. Using the dialog box, you can specify that all computers are granted access, or you can specify those computers which should not be granted access by listing their IP address or domain name.
  • Secure Communications: If you want to open the Web Server Certificate Wizard, click the Server Certificate button. You need a Web server certificate if you want to maintain Secure Sockets Layer (SSL) connections.
The HTTP Headers tab
The settings you can configure on the HTTP Headers tab relate to the information that is displayed in the HTML headers of your web pages. The options which you can select are:
  • You can select the Enable content expiration checkbox if you want to set when content should expire. The options that you can select with regard to content expiration are:
    • Expire Immediately.
    • Expire After, specify the time duration after which content should expire.
    • Expire On, specify the date and time when content should expire.
  • You can specify to use custom HTTP headers when the existing headers cannot be used to send information.
  • You can specify content ratings for the site by clicking the Edit Ratings button i the Content Ratings section of the HTTP Headers tab.
  • If you want to configure Multipurpose Internet Mail Extensions (MIME) maps, click the MIME Types button in the MIME Types area of the HTTP Headers tab.
Custom Errors tab
The error messages which are displayed to clients when HTTP errors occur are listed on the Custom Errors tab. You can change the error messages that are shown to clients by clicking the Edit button.

Managing Web Applications and Application Pools

To run dynamic Web applications on IIS, you first have to use the Web Service Extensions node in IIS Manager to allow or prohibit the Web service extensions listed below:
  • ASP.
  • ASP.NET.
  • ISAPI Extensions.
  • CGI Extensions.
  • Front Page Server Extensions 2000 and 2002.
  • Internet Data Connector.
  • WebDAV support.
To access the Web Service Extensions (WSE),
  1. Open the IIS Manager.
  2. Locate the server, and select the Web Server Extensions node.
You also have to decide on the application mode which you are going to use in IIS. The two available application modes in IIS 6 are:
  • Worker process isolation mode: This is the preferred IIS 6 application mode. The new architectural features of IIS 6 are available in worker process isolation mode.
  • IIS 5 isolation mode: This mode utilizes the IIS 5 architecture, and supports none of the new IIS 6 features. Applications run in one of the following contexts:
    • Low (IIS Process).
    • Medium (Pooled).
    • High (Isolated).
To change the default application mode,
  1. Open the IIS Manager.
  2. Right-click the Web Sites node, and click Properties from the shortcut menu.
  3. When the Web Site Properties dialog box opens, click the Services tab.
  4. If you want to use worker process isolation mode, clear the Run WWW service in IIS 5 isolation mode checkbox.
  5. If you want to run IIS 5 isolation mode, select the Run WWW service in IIS 5 isolation mode checkbox.
  6. Click OK.
  7. Restart IIS.
The four main types of applications that can run on IIS 6 are ASP, ASP.NET, ISAPI, and CGI. The procedure for creating ASP applications and ASP.NET applications are the same. A few advantages of using ASP.NET rather than ASP are listed below:
  • ASP.NET supports XML Web Services, the .NET class library and Web Forms.
  • ASP.NET is easier to deploy and to debug than ASP. You do not have to restart the Web server when you deploy ASP.NET applications. ASP.NET also has a tracking feature which can be used for application debugging.
  • ASP.NET can cache both portions of pages, and entire pages.
  • ASP.NET executes in compiled code, and its configuration settings are formatted in XML and stored in text files. This in turn increases performance of Web applications and makes it easier to configure.
  • ASP.NET can automatically detect memory leaks and deadlocks, and attempts to automatically recover from these states.
To install and enable ASP.NET,
  1. Click Start, Control Panel, and click Add/Remove Programs.
  2. Click Add/Remove Windows Components, click Application Server in the Windows Components dialog box, and then click the Details button.
  3. Click ASP.NET.
  4. Click OK.
  5. To refresh the IIS Manager, push F5.
  6. ASP.NET should now be included in the Web Service Extensions node of the IIS Manager.
  7. If ASP.NET is listed with the Prohibited status in the Web Service Extensions node, right-click ASP.NET, and select Allow.
An application pool called DefaultAppPool is created under the Application Pools node in IIS Manager if IIS is running in the worker process isolation mode. When you right-click DefaultAppPool, you can open the properties sheet for the pool, stop or start the application pool, recycle the worker pocess of the application pool, or save the application pool configuration to a XML file.
To create additional application pools,
  1. Open the IIS Manager.
  2. Right-click the Application Pools node in the console tree, and select New and then Application Pool from the shortcut menu.
  3. When the Add New Application Pool dialog box opens, enter a name for the new application pool.
  4. You can specify whether the default settings should be used for the new pool, or you can specify that the settings of an existing pool be used for the new application pool.
  5. Click OK
To assign an application to an application pool,
  1. Open the IIS Manager.
  2. Right-click the appropriate node in the console tree, and click Properties on the shortcut menu.
  3. Click the Home Directory tab.
  4. Select the application pool from the Application Pool list.
  5. Click OK.
Browser Name:
Browser Version:
Browser Code Name:
User-Agent: