********************************** Getting Started ********************************** This file contains instructions on setting up the .NET version of the ICBB application on your machine. The installation assumes that the .NET Framework and IIS are installed on your machine. Before you install the ICBB application, please make sure that you have viewed the pre-requisites and installed the .NET framework SDK on your machine. Please also make sure to install the .NET Service Pack 1. Pre-reqs for the .NET SDK: http://msdn.microsoft.com/netframework/prodinfo/sysreq.asp#SDK 1. Install the .NET SDK. Note, make sure to install the SDK Samples (this is the default option) 1a. To install the .NET SDK, visit http://msdn.microsoft.com/downloads/sample.asp?url=/MSDN-FILES/027/000/976/msdncompositedoc.xml&frame=true. 2. If you do not have access to SqlServer 2000, install Microsoft SqlServer Desktop Engine (MSDE), which gets downloaded with the .NET SDK. 2a. To install MSDE, run InstMSDE.exe -> file:///C:/Program%20Files/Microsoft.NET/FrameworkSDK/samples/Setup/MSDE/InstMSDE.exe 3. Install .NET Framework SP1. 3a. To install SP1, visit http://msdn.microsoft.com/netframework/downloads/sp1/default.asp Note: the .NET SDK requires IIS and MDAC 2.7. If either is missing, you will be prompted to install them before continuing with the SDK installation. To install MDAC 2.7, visit http://www.microsoft.com/data/download_270RTM.htm. ********************************** Setting the System Path ********************************** Before installing the ICBB application, make sure the following executables are in the system path: (Note, if you followed the instructions above, these tools will be in your path.) 1. osql.exe - executes SQL commands against SqlServer 2000 (usually in C:\Program Files\Microsoft SQL Server\80\Tools\Binn) 2. csc.exe - the C# compiler in C:\WINNT\Microsoft.NET\Framework\v1.0.3705 on Windows 2000 machines and C:\Windows\Microsoft.NET\Framework\v1.0.3705 on Windows XP machines. ********************************** Installing the ICBB Application ********************************** To install the ICBB application, please follow these instructions: 1. Extract the contents of the zip file to C: (make sure "Use Folder Names" is checked") 2. Browse to C:\ICBB\Setup 3. Open up ICBB.sql with a text editor (e.g., notepad) 4. In the last few lines in ICBB.sql, replace all references to [MACHINE_NAME] with the name of your machine 5. Run Install.bat. This will setup the ICBB database the virtual directories required for the ICBB application Note: Install.bat will install the ICBB database to a local database instance called NetSDK, which gets installed if you choose to install MSDE. If you want to use a different instance name, edit the "@set constSQLServerName=(local)/NetSDK" appropriately. If you change this constant, you will also have to update the "ConnectionString" in the web.config file to point to the new ICBB database. 6. Check database.log and make sure that no errors are reported 7. Request http://localhost/ICBB/Welcome.aspx 8. Log in as admin/admin to edit and delete products 9. Log in as reseller/reseller to view products only ********************************** Building the ICBB Application ********************************** If you change any of the .aspx files, new requests will automatically see your changes. But, if you modify any of the code behind files (*.aspx.cs or *.ascx.cs), you will need to recompile your application. To do this, run C:\ICBB\Setup\Build.bat.