System Requirements
• Windows 2000 (Windows 2003 recommended)
· Internet Information Services
• Either Microsoft SQL Server or Oracle Database
· Oracle client software on application server for Oracle version
• Microsoft .NET Framework (version 1.0 for SQL Server implementation and 1.1 for Oracle)
• Microsoft Visual Studio .NET (to view solution)
• Administrator privileges
Running the Application
• Browse the .NET Pet Shop at: <http://localhost/MSPetShop>
• View web services at: <http://localhost/MSPetShop/WebServices.asmx>
To order pets, create a new account or sign in with an existing one. The following accounts are installed with the application:
User ID: DotNet
Password: DotNet
User ID: ACID
Password: ACID
The second account will allow you to test distributed transactions. If you attempt to place an order while signed in as the ACID user, you will receive an intentional error, triggering a rollback across both databases.
Extra Steps for Windows 2000 Installation
Due to the way the application is constructed using several different assemblies, Windows 2000 users will need to copy some configuration files on their machines.
If you are using the ASP.NET process model (default) then you will need to copy the file, aspnet_wp.exe.Config, which is created by the installation process and can be found in the web folder, to /WINNT/Microsoft.NET/Framework/version where version is the version of the framework you are using. 1.0 of the framework has a version number of 1.0.3705 and version 1.1 has a version number of 1.1.4322.
If you are not using the ASP.NET process model then you will need to copy the file InetInfo.exe.Config which is also created in the web folder and place this in /WINNT/system32/inetsrv/.
Users on WindowsXP or Windows 2003 do not need to complete these steps.
Troubleshooting Installation
If you receive errors during installation, you may need to uninstall previous versions of the Microsoft .NET Pet Shop using Add/Remove Programs in the Control Panel.
If you continue to have problems, confirm that your database servers don’t already contain databases named “MSPetShop” or “MSPetShopOrders”, and that your web server doesn’t have an IIS virtual directory named “MSPetShop” or a COM+ application named “.NET Pet Shop”. You can verify and remove these using Internet Information Services and Component Services in the Microsoft Management Console.