QPack Manual Installation 2008 R2 x64 bit (Work around) (works on win7 or win2008) Server Prerequisites 1. Disable user account control From Start > Control Panel > User Accounts > Change User Account Control settings > change settings to 'Never Notify' 2. Install SQL 2005 x64 bit. Download SQL2005 setup from - 32bit: http://orcanos.com/sqlexpress_setup.exe - 64bit: http://orcanos.com/sqlexpress64_setup.exe Please note: If you install SQL2005 manually, select option Mixed mode SQLSERVER 2008 is not supported in setup. Upgrade to SQLSERVER 2008 R2 can be done at the end of the process IMPORTANT: After installing SQLSERVR, make sure SQL Server Browser service in running: - Open Start->All programs->sql SERVER 2005->Configuration Tools->SQL Server Configuration Manager - Make sure it is running and set to Automatic start mode 3. Install IIS & FTP From Start > Control Panel >Programs & features > Turn Windows features on or off >Roles >click button 'Add Roles' > Select the option 'Web Server (IIS)' > select install options as in next images (this might be in Server Manager):
o Click Add Roles Click Next Select Web Server (IIS)
Select the following options
4. Install.net framework 3.5 and SMTP server: Open server manager > Go to 'Features' Click button 'Add features' > select the options '.net framework 3.5' and 'SMTP server' 5. Add QPack FTP site: - Add default FTP site: open server manager > expand Roles > Web Server (IIS)> Internet Information Services (IIS) Manager > right click the folder Sites and select the option
Add FTP Site - If FTP is not visible, you need to exit and enter FTP again - Or use the following image - In case you don t see FTP, right click in order to create FTP site - FTP site name: Default FTP Site, Physical path: C:\inetpub\ftproot (see next images)
-
QPack Installation: - Use QPack Setup for XP you can find it at http://www.orcanos.com/qpackdownloadxpstart.htm
- Run the exe in compatibility mode of windows XP (open Properties > Compatibility), select the option 'Run as Administrator' - Run the setup until it fails (select default yes / next options)
- Setup will popup some warning messages, disregard them until you get the message Failed upgrade QPack - Add QPack FTP: right click 'Default FTP Site' in IIS manager > select the option 'Add Application'
- Add FTP site as described in the image: - Run again QPack setup it should reach upgrade state and upgrade successfully. (QPack Installation Completed successfully)
If you still get the error message, you might need to define the SQL Server by using SQL SERVER management studio (it should be under QPack folder\database) and continue with the following instructions: Allow access to SQLSERVER from remote machines Default SQL Server behavior is to not allow remote access so we have to configure permissions for remote access - On SQL 2008 use this http://www.linglom.com/2009/03/28/enable-remoteconnection-on-sql-server-2008-express/ If you still can't access from remote machines to QPack database see solution bellow Fix remote connections to SQL server To allow remote connections to the SQL server check the following: - Open SQL server 2005 Surface Configuration: (Start- Programs - SQL server 2005)
Ensure SQL Server Browser is running:
Ensure remote connections are allowed. Please note that the selected instance is the same as in SQL Management Studio Make sure Local and remote connections is selected, and Using TCP/IP only or Using both TCP/IP and named pipes is selected.
Fix remote connections to SQL server Open SQL Server Configuration Manager: Verify that the TCP port is enabled
Allow IIS folder permission s for QPack folder (C:\~Progra1\QPack folder) Default security settings on server file system (NTFS) prevent IIS from modifying files in QPack folder To allow IIS to control C:\Program files\qpack folder - add windows user 'Everyone' grant 'Full control' permission Troubleshooting In case setup fails to create QPack database create it manually: 1. Install SQL management studio express x64 (free edition) 2. Open SQL studio express management and add new database, call it 'QPack'. 3. Restore database to QPack from 'C:\program files (x86)\qpack\data\qpack.bak'
4. Add sql user named 'Orca123', password: Qpack1234 De-select enforce password policy checkbox
Set user Orca123 as QPack database owner:
Select the QPack line and select db_owner Run setup again.
If upgrade still fails: Check QPack.xml values (~program files (x86)\qpack\qpack.xml) comply with what you put in SQL SERVER management studio
If you still have no access to QPack database add the mixed mode authentication:
Can't access QPack web site or FTP: Turn off windows fire wall or change settings as follow: - Allow SQL remote connections through firewall
After upgrade If you get the following message after upgrade:
You need to enter IIS and add MIME TYPE.vbd with application/octet-stream If after connecting to QPack you get empty screen check access to QPack FTP
You might need to turn firewall off in order to resolve connection to FTP (port 21)
If you get the following message: Enter FTP in order to check that: Start FTP If you get this message:
You need to enter Windows Services and make FTP service automatic
Sanity Test After Installation Make sure qpack.xml contains SMTP parameters of the customer check DB and FTP connections Browse to QPack Web Services (http://server/qpack/qpackserv/qpackserv.asmx) Install remote client Connect from remote client, Login to QPack demo project Hotel Reservation Select item and click PREVIEW Check mails are sent Add image to item description Add attachment