SolidCP Error Codes
14 - 06 - 2017Skype for Business
14 - 07 - 2017Foreword
Learn how to install SolidCP manually (offline) step by step. Please note that this guide is for advanced users only. We recommend to always use the installer or automatic configuration script. However if it's not possible due to lack of internet connection for example you can follow this guide.
In this guide you will have to deal with custom application pool settings, encrypted password generations, and sc commands to add windows services.
Please read every step carefully and into detail.
Resources
Portal (the website front-end):
http://installer.solidcp.com/Files/stable/SolidCP-Portal.zip
Enterprise (The backend + database):
http://installer.solidcp.com/Files/stable/SolidCP-EnterpriseServer.zip
Server asp.net 4.5 (Installed on any server providing hosted services):
http://installer.solidcp.com/Files/stable/SolidCP-Server.zip
Optional: SolidCP Server asp.net v2.0 (Only for Exchange 2010 servers):
http://installer.solidcp.com/Files/stable/SolidCP-Server-asp-v2.zip
Script we use to install IIS/ asp.net resources:
Add-WindowsFeature NET-Framework-core, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Http-Redirect, Web-Asp-Net, Web-Asp-Net45, Web-Net-Ext, Web-Net-Ext45, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Http-Tracing, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Mgmt-Console, Web-Scripting-Tools
Enterprise installation
Before you start please make sure you have an Microsoft SQL database server with mssql 2005 or greater (i would pick 2012, 2014 or 2016).
Website related aspects of SolidCP Enterprise Server:
- Open up Computer Management, or if you want an Active directory based setup AD Users and computers console and create your windows user, i would normally give this user normal user perms and IIS_IUSR as well for segregation / hardening purposes.
- Open up IIS Manager go to Application Pools --> at the right hand side click "Add Application Pool" Give it a name such as SolidCP Enterprise Server, make sure asp.net 4.0 is selected, and Integrated is selected, check Start Application pool immediately.
- Click the SolidCP Enterprise Server application pool and click on Advanced settings. Make sure the following is selected: Start Mode: AlwaysRunning. Identity: Edit it to the user created in step 1. Idle time-out (minutes): 0. Load User Profile: True. Regular Time Interval (minutes): 0. and click OK
- Click on Sites, and Add Website... set the site name to something similar as SolidCP Enterprise. Select the Application pool created in step 2 and 3. set the path to C:\SolidCP\Enterprise Server and binding to http, ip optional, port 9002. I personally leave host name blank.
- Go to the website, make sure authentication only anonymous auth is enabled, and it's set to the Application pool identity. Then go to Machine Key --> on the right side click Generate, and then apply.
- Copy in the enterprise files from the zip in C:\SolidCP\Enterprise Server give the Enterprise Server user created in step 1 Modify, Read & Execute, List folder contents, Read, Write permissions.
- To add the SolidCP Scheduler service open up CMD (or powershell --> cmd) and execute:
sc.exe create "SolidCP Scheduler" binPath= "C:\WebsitePanel\Enterprise Server\bin\SolidCP.SchedulerService.exe" DisplayName= "SolidCP Scheduler" start= auto
Once executed succesfull it should state "[SC] CreateService SUCCESS"
MSSQL Database setup/Configuration
- Open up MSSQL Management
- go to Databases --> right click "New Database" set the name to something like SolidCP
- go to Security --> Logins --> right click "New Login" give it a name like "SolidCP", Select SQL server Authentication and a strong password (max 25 chars) uncheck enforce password experation and user must change password at next login. set default database to SolidCP, in User Mapping go to the SolidCP Database, and select db_owner
- Open up the zip Enterprize.zip --> go to Setup --> and load the install_db.sql inside mssql management. Remove the top 2 lines, and execute.
- Open up the Database SolidCP --> Go to Tables --> dbo.Users --> Edit top 200 --> the first colomn : UserID 1, OwnerID NULL, RoleID 1, StatusID 1, IsDemo False, IsPeer False, Username serveradmin, Password The encrypted password from the below table that matches your web.config CryptoKey,
CryptoKey | Encrypted password to enter in the Database |
---|---|
Duhxgv25uWCR2MO5WB22 | o+VIAPLUCz5GKYtup1JSqqIndJ4aLF1/8hyDBNY2YtM= |
FCq225t6K5eXg5POQaQs | tsW3fHmDi6ZakSXnS88FIagRpgOR3AkyR7MakUQGJsQ= |
kK7BNrcNNWL24ly974Hq | U8z98y1iYu3XclGSXsrAwc9eqblTgBnLvhoEH/wOAVs= |
N65qJC9wskMD1C3uASw1 | g1irobRf1mx8DoWTMqDHb99o/EWRCU2e41ctVyw/0Ac= |
0a5VfTK9nutDXFb5R7T8 | hZF0smX3Gu63z6kvgVR7BCMftlOVlm+vdB5+wyaNTRw= |
O0PF2xBn8Rzci3UV6wD4 | HROS2y8faujZtPMN0BBVOtVOiu1CLX2+oCfi6JtJTXM= |
J36I5KHTFm3urtVeyQ44 | nbJfUCzRdpCdwX+vpyKNLUSL9It1lxMQyuEWXr4Eon4= |
OMnPn1uZDx09RC163tAs | 53ygIfZg+YCh40xEmashIEXbgwqVjDS8ag75eMK5Dps= |
4ocGEOq9ceLRoHT53E31 | /rf0KN35L9GBizmu8s12tmWpEL2brfPRcOvO0jrQ0bs= |
3S01roHXlEImKxsF9D51 | 84ovphjM/RkH8/ihPwKXmzN1IhKCJ2kTHjucQ1iM7ss= |
iCp9Bw68Y78kWD6NEupS | tNe67Pxt0ToWuTlbb9LD2ZdEZh7A4dBH3+UUTf477F4= |
j34IeshWXL944KQo1XFo | HSgC42dDkfeHouHv9KFRMltLy2y/pMsS8KbE98HlfGc= |
31q3lJYHih1SeHTb6ON6 | +qkGFm8bvPLUemnElvKDET0mXljshoqfb7bYaiI6YvY= |
8gzY0F61iWg9CNOv3ZTz | zI4eHijhZVeHbqbNQw51NYRP/oN02/71BQvK+TICHp4= |
YI4qUu2WlbL58n5I9PqB | 2uktxof1NSMxjEY2sEaai0bvaWjpjzkuYKk8Yh2WVS4= |
LI5Pt9lgCu5oM6v4IRX0 | WYvK/cXn0iauZopFjIzCEsPR8mq6VJudjhy/Pwywrjc= |
0B372r0GNsAoxZiDDh4K | rh2i+ntjE0whaGese13JfYocBFOT9Ihbe7f/cdHc1Vc= |
9i3c4AA051YrzPHsWkSQ | VVzwRT0jDj/5VfGV++h6UnF7z6c5OmWbx9H6s7/T7Js= |
G6T5rS5W9DN7Tjo9Tswe | 5VKeRBVyXJCFD2r1lpy3GMx71UO+2xr0K2UOebj1DEs= |
QixS0e15xUUJB5s4P9tJ | vN+MKXiSb4vjryt1norGFShXhfgD84ucTG0lX+N4VP4= |
Enterprise web.config settings
We assume you have completed the Enterprise Database steps above before starting this section.
Chose a crypto key and encrypted password value from the above table list. This will be your crypto key, and your initial ServerAdmin encrypted password.
1. Open up the enterprise web.config in C:\SolidCP\Enterprise Server\Web.config and adjust your connection settings to something like:
<connectionStrings> <add name="EnterpriseServer" connectionString="server=127.0.01;database=SolidCP;uid=SolidCP;pwd=MyPassword;" providerName="System.Data.SqlClient" /> </connectionStrings>
2. Search for the value:
<add key="SolidCP.CryptoKey" value="1234567890" />
and replace it with the crypto key value of one of the above examples.
then simply save the web.config document.
Please repeat the SAME steps for the Scheduler config in:
c:\SolidCP\Enterprise Server\Bin\SolidCP.SchedulerService.exe.config
Portal installation
SolidCP Portal Installation and configuration:
- Open up Computer Management, or if you want an Active directory based setup AD Users and computers console and create your windows user, i would normally give this user normal user perms and IIS_IUSR as well for segregation / hardening purposes.
- Open up IIS Manager go to Application Pools --> at the right hand side click "Add Application Pool" Give it a name such as SolidCP Portal, make sure asp.net 4.0 is selected, and Integrated is selected, check Start Application pool immediately.
- Click the SolidCP Portal application pool and click on Advanced settings. Make sure the following is selected: Start Mode: AlwaysRunning. Identity: Edit it to the user created in step 1. Idle time-out (minutes): 0. Load User Profile: True. Regular Time Interval (minutes): 0. and click OK
- Click on Sites, and Add Website... set the site name to something similar as SolidCP Portal. Select the Application pool created in step 2 and 3. set the path to C:\SolidCP\Portal and binding to http, ip optional, port 9001 (or 80 / 443 whichever you prefer). I personally leave host name blank.
- Go to the website, make sure authentication only anonymous auth is enabled, and it's set to the Application pool identity. Then go to Machine Key --> on the right side click Generate, and then apply.
- Copy in the portal files from the zip in C:\SolidCP\Portal give the Portal user created in step 1 Modify, Read & Execute, List folder contents, Read, Write permissions.
- Go to C:\SolidCP\Portal\App_Data and open up SiteSettings.config if your enterprise server binding configured in the section of Enterprise is different then the default 127.0.0.1:9002 please adjust the connection string in between the and save the document.
Server installation
SolidCP Server Installation and configuration:
- Open up Computer Management, or if you want an Active directory based setup AD Users and computers console and create your windows user, i would normally give this user administrators perms and IIS_IUSR as well for segregation / hardening purposes, additional permissions might be required depending on the services you plan to run, please check out the normal guides for permission specific requirements.
- Open up IIS Manager go to Application Pools --> at the right hand side click "Add Application Pool" Give it a name such as SolidCP Server, make sure the correct asp.net version is selected, and Integrated is selected, check Start Application pool immediately.
- Click the SolidCP Server application pool and click on Advanced settings. Make sure the following is selected: Start Mode: AlwaysRunning. Identity: Edit it to the user created in step 1. Idle time-out (minutes): 0. Load User Profile: True. Regular Time Interval (minutes): 0. and click OK
- Click on Sites, and Add Website... set the site name to something similar as SolidCP Server. Select the Application pool created in step 2 and 3. set the path to C:\SolidCP\Server and binding to http, ip optional, port 9003. I personally leave host name blank.
- Go to the website, make sure authentication only anonymous auth is enabled, and it's set to the Application pool identity. Then go to Machine Key --> on the right side click Generate, and then apply.
- Copy in the Server files from the zip in C:\SolidCP\Server give the Server user created in step 1 Modify, Read & Execute, List folder contents, Read, Write permissions.
SolidCP Server Passwords
Password | Encrypted password to enter in web.config |
---|---|
n9L74c39IsjsI4cE02LY | pv1Knns6edtodAvbTpYNecQ1NbM= |
J601w6wpj8u82G6vDPmj | eJHhQQKEE1hCjM+KWgMjPfoEDyM= |
K6q9842Vodw16u3x5Mfv | TR2KV2EI/XbRs5G+p+VVQ9Be62g= |
Kc1011gV3JmV5V0bnKZA | qp3kIMOOIOcHLetbmdQaVjZDj3w= |
42tA404AtlNmbjvqdphC | M1hklY6b5Ibyrp4KL0pl+A4iwRc= |
ULs41081g05h8vtNGrmB | QfRCm2t4J5qQSkB26gxuR1E4J8w= |
2E622Ay3zd4hnguELAUT | UAJHrD9Ok6T5vcCprJ+47hFKb50= |
3fC813274Tbgft2Ic44I | K697yKghNGny7M4GL5KMdPkoLBY= |
v0O5105lJxmDobGG6Q37 | d6Gx2IFwKqfSCVrDhZflPodG6yk= |
E2n921Ac40MtiOQfdMSa | qzhsAEyvnbEifXGpO6D/KLGI2DE= |
uD25651HaO7jjMERCKDL | abNpl/u24tS9TwCYdPOvNtXolcE= |
4Wc7805T7Kj9B4Qr0Kph | JhoQiBBP/kQfPUzFxO7Hrymyxr4= |
U72n096QS8jdXdFfcUj3 | V6Xg6zwvWk8bcxn0UievqehcKts= |
5Mm0C2L6aR5zAs2T44Vd | 28y2AEN8LbLiFMdQL7+1LGhS8KM= |
gQ82658NzgeaxC7OrVDO | OePgkddzSoVAEgKQRh0Tzutgx60= |
l24X0M8J65SbqHu8dDJy | bcGS32Th4gpmmZHHJoPZRfTX4ww= |
01As37V7KbVcu2gInA7e | 1CmMtlOjaeYk2Ffwnod1VIGoZik= |
Gc0847g3Vr0nrsy20rIH | DqASqgDfXELUknlSlaKyDByHI2o= |
uJ35786YtlqlRWwoatNn | YNR59PBmPU3Wzy5gIrN++uCO4R8= |
PK2x818l83xInJedXG3p | z9MF4BuxGV92PzLnlFGdtGVX5YU= |
$SCPServerPassword = "P@ss1001" $enc = [system.Text.Encoding]::UTF8 $data1 = $enc.GetBytes($SCPServerPassword ) $sha = New-Object System.Security.Cryptography.SHA1CryptoServiceProvider $result1 = $sha.ComputeHash($data1) [System.Convert]::ToBase64String($result1)
SolidCP Server web.config settings
Open up C:\SolidCP\Server\Web.config and enter one of the above SolidCP ENCRYPTED server passwords:
<password value="${installer.server.password}" />
save the web.config
Double check in IIS Manager that the authentication and Machine Key is still set proper and your done.
Thats all, your done!
Now you have completed all steps the only thing left to do is go to your portal url in your favorite web browser.
Login with Serveradmin and password: SolidCPAdmin
Go to Servers --> Add Server, and add your SolidCP Server with the UNENCRYPTED password chosen from the above tables.
From here on all normal configuration guides will apply to your setup.