Configuring.NET based Applications in Internet Information Server to use Virtual Clocks from Time Machine



Similar documents
CONFIGURING IIS WEB APPLICATIONS FOR USE WITH TIME MACHINE

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Census. di Monitoring Installation User s Guide

Password Reset Server Installation Guide Windows 8 / 8.1 Windows Server 2012 / R2

Secret Server Installation Windows 8 / 8.1 and Windows Server 2012 / R2

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

Reference and Troubleshooting: FTP, IIS, and Firewall Information

FTP, IIS, and Firewall Reference and Troubleshooting

Avatier Identity Management Suite

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

Contents. TSM Remote Server Installation guide

Browser Client 2.0 Admin Guide

JAVS Scheduled Publishing. Installation/Configuration... 4 Manual Operation... 6 Automating Scheduled Publishing... 7 Windows XP... 7 Windows 7...

Migrating helpdesk to a new server

Specops Command. Installation Guide

0651 Installing PointCentral 8.0 For the First Time

TIBCO Spotfire Metrics Prerequisites and Installation

S/MIME on Good for Enterprise MS Online Certificate Status Protocol. Installation and Configuration Notes. Updated: October 08, 2014

Configuring a Windows 2003 Server for IAS

Setting up Sharp MX-Color Imagers for Inbound Fax Routing to or Network Folder

IISADMPWD. Replacement Tool v1.2. Installation and Configuration Guide. Instructions to Install and Configure IISADMPWD. Web Active Directory, LLC

Installing Globodox Web Client on Windows 7 (64 bit)

Using Remote Web Workplace Version 1.01

Installation of IR under Windows Server 2008

IIS, FTP Server and Windows

Migrating TimeForce To A New Server

WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide

Millennium Drive. Installation Guide

ECA IIS Instructions. January 2005

NSi Mobile Installation Guide. Version 6.2

How to add your Weebly website to a TotalCloud hosted Server

Changing Your Cameleon Server IP

This document describes the installation of the Web Server for Bosch Recording Station 8.10.

System Administration Training Guide. S100 Installation and Site Management

Installation Guide. . All right reserved. For more information about Specops Inventory and other Specops products, visit

Microsoft Corporation. Project Server 2010 Installation Guide

APNS Certificate generating and installation

Chapter 1: General Introduction What is IIS (Internet Information Server)? IIS Manager: Default Website IIS Website & Application

Access It! Universal Web Client Integration

Mapping ITS s File Server Folder to Mosaic Windows to Publish a Website

Technical Paper. Provisioning Systems and Other Ways to Share the Wealth of SAS

Ascend Interface Service Installation

Issue Tracking Anywhere Installation Guide

Update Instructions

Basics of Port Forwarding on a Router for Security DVR s

Web VTS Installation Guide. Copyright SiiTech Inc. All rights reserved.

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide

Network Load Balancing

EventSentry Overview. Part I Introduction 1 Part II Setting up SQL 2008 R2 Express 2. Part III Setting up IIS 9. Part IV Installing EventSentry 11

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Customer Tips. Configuring Color Access on the WorkCentre 7328/7335/7345 using Windows Active Directory. for the user. Overview

FlexSim LAN License Server

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

Installing Globodox Web Client on Windows Server 2012

Distributing SMS v2.0

MICROSTRATEGY 9.3 Supplement Files Setup Transaction Services for Dashboard and App Developers

Using Windows Task Scheduler instead of the Backup Express Scheduler

NovaBACKUP xsp Version 15.0 Upgrade Guide

Immotec Systems, Inc. SQL Server 2005 Installation Document

Installation and Deployment

Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical

Migrating MSDE to Microsoft SQL 2008 R2 Express

Microsoft SQL Server 2008 R2 (64-bit) Standard Edition Installation Guide

Using Internet or Windows Explorer to Upload Your Site

Moving the TRITON Reporting Databases

Configuring Network Load Balancing with Cerberus FTP Server

Update Instructions

Defender Token Deployment System Quick Start Guide

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

Click Studios. Passwordstate. Upgrade Instructions to V7 from V5.xx

HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION

Microsoft SQL Server 2008 R2 Express Edition with Advanced Services Installation Guide

Hosted Microsoft Exchange Client Setup & Guide Book

Richmond Web Services Installation Guide Web Reporting Version 10.0

Wavecrest Certificate

Dovico Timesheet v12 INSTALLATION GUIDE

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Getting Started with Tableau Server 6.1

Secret Server Installation Windows Server 2008 R2

DataCove. Installation Instructions for Search Plug-in for Microsoft Outlook 2007 & 2010 (All Users)

PC Monitor Enterprise Server. Setup Guide

Configuring a Trimble Sps 461 using the Ethernet Connection GETTING THE GPS ON THE NETWORK HTTP PORT. By Bob Glover

WhatsUp Gold v16.1 Installation and Configuration Guide

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

intertrax Suite resource MGR Web

Scan to Quick Setup Guide

IEI emerge and Milestone Systems Network Video Recorder. Setup and Integration Guide. Milestone Version 6.5 and emerge Version 3.

Hosted Microsoft Exchange Client Setup & Guide Book

PC-Duo Web Console Installation Guide

Zanibal Plug-in For Microsoft Outlook Installation & User Guide Version 1.1

PrintFleet Local Beacon

Installation Guide v3.0

Moving the Web Security Log Database

USING STUFFIT DELUXE THE STUFFIT START PAGE CREATING ARCHIVES (COMPRESSED FILES)

To install the SMTP service:

Microsoft SQL Server Installation Guide

Transcription:

Configuring.NET based Applications in Internet Information Server to use Virtual Clocks from Time Machine System Details: The development & deployment for this documentation was performed on the following: Operating System Microsoft Windows Server 2008 Enterprise Version 6.0.6002 Service Pack 2 Build 6002 Web Server Internet Information Services (IIS) version 7.0 ASP.NET Framework version 4.0.30319 Time Machine Version 7.0.0-S Development Platform Microsoft Visual Studio 10.0 The following guide is intended as a basic outline for running ASP.NET applications under different user identities for the purpose of running simultaneous tests on applications that are hosted on a Microsoft web server. There are many ways in which.net applications can be deployed and how they run on a web server, however in general it is sufficient to have the ASP code run under a user context that is either statically assigned as in this paper or under the context of the user that logins in to the application. Once this has been configured that code set will run under a virtual date if the user account has one assigned. This example assumes you have an existing.net application for testing. If you do not, a version of the.dll used for this paper is available here: ClockTest.zip 1) Start Internet Information Services (IIS) Manager (%SystemRoot%\system32\inetsrv\InetMgr.exe) 2) Click & expand your server's name in the left pane (example: WIN2008X64-ENT) 3) Left click "Application Pools"

4) In the center pane right click "Add Application Pool" 5) Enter the name of the account you want to run this new pool under name", choose your.net Framework version (this example uses 4.0.30319) & click [OK]. This paper uses the local account "Web2" which is a member of the Administrators Group.

6) Your new Application Pool should now be running. In the IIS manager screen left click the new pool then on the right pane click on "Advanced Settings" 7) In the Advanced Settings menu locate the "Identity" tag under the "Process Model" section & click the expansion [...] box to change to a custom account. Click on "() Custom Account" You will be prompted for the user name and password. Click [OK]. You now have an Application Pool that can run any ASP applications under a different user Identity. Now create a new Web Site to host the applications you want to run under Time Machine virtual clocks. These can be either copies of your existing applications or entirely new code.

8) In the left pane of the IIS Manager right click on sites and choose "Add Web Site" You will see the following window: 9) For site name enter the Identity name used above e.g.:"web2"

10) Under Physical Path this paper uses C:\Inetpub\Web2. You can specify whatever you like. Also set the IP Address to that of the local machine and assign a port, e.g... 91 11) Now click on "Connect as..." and choose "() Specific user", the click the [set] button 12) Enter the User name & Password & click [OK] 13) Enter a different port number on the "Add Web Site" applet if you wish, then click [OK] The new Web Site should be running. Let's import an application for it to host. 14) Copy the.net package into the default web site's root.

15) In the IIS manager select the web site in the left pane and on the right pane, near the bottom of the panel, click on "Import Application". The following window displays: 16) Browse to your application code directory, select your zip deployment file, and then click [Next] 17) When you see the window below, just click [Next]

18) Enter the web path that should be used to access this application. Click [Next]. 19) The Application will now be imported. If this succeeds you will see the success screen as below. Click [Finish]

20) Back in the main view of IIS Manager expand the new web site until you see the listing of the new application. In this case it is /Sites/Web2/ClockTest. 21) In the right Actions pane go to the Manage Application section then click on the http link under the Browse Application section. This will load the application in your Web Browser.

Now we will give the application a virtual date. 22) Start a command line, (click the [Start] button, then select "run", enter CMD, then select [OK] 23) Start the Time Machine service by entering "net start 3stms". 24) Assign a virtual date to the "Web2" account. In this example we will set the date to February 28, 2019 at 11:59 pm. The command will be "tmuser -a -u Web2 -x 022823592019". 25) Verify the virtual date if you wish by running "tmuser -l".

26) Now go back to the recently added.net application in your web browser. You should see the code is now running under the virtual date.

27) The following is a screen shot of a similar version of the same application running in system time concurrently. Following the procedures in this guide you can easily set each of your IIS hosted.net web sites on the same machine to run independently under any time and or date you desire.