Everything worked well, until I restarted server.
now when I want browse http://portal_site:9001, it says 403 forbidden.
I checked all permissions on solidcp folder.
I checked that windows authentication is disabled.
I checked that all application pools are running.
What to check next?
Can you access it locally from the portal server itself?
Check the IIS bindings for SolidCP Portal website, does it still have the host header for your portal page and is it still using port 9001?
I can’t access locally from the portal server itself.
Bindings are Ok. Host name is blank, ip addresses – *, and port 9001.
IIS stopped working for non-ssl -> I can’t access default IIS web page on port 80. However, may access custom website on port 443.
I checked SSL settings for all websites. “Require SSL” is unchecked.
What to check next?
What if I reinstall “web service” role to reset iis to defaults? Then, may I add SolidCP sites and application pools manually?
Restarting the server should not cause this issue unless you have made changes in IIS settings before rebooting your server. Did you make any changes in IIS before rebooting?
Also, if you do not have any live account in solidCP, you can remove all three components and reinstall it. If you have live data, you should find the root cause of this because you may face this issue again.
Actually, the only change was installing solidcp server. After installing solidcp I’ve never restarted server.
I don’t have any live accounts.
- So first I will remove all 3 components,
- then reinstall IIS (definitely something wrong with iis)
- install again 3 components
The question, is it safe to remove components? Database won’t be removed?
I’m pretty confident this issue isn’t caused by installing SolidCP 🙂
I only seen this in one ocasion where the default IIS dir got removed and IIS had alot of issues running since (it requires it’s default inetpub and sub folders to run proper).
If you remove Enterprise it will remove the database aswell so make sure you take a backup for it.
What I did,
- backup database
- uninstall IIS
- uninstall all three components of solidcp.
- reinstall IIS
- reinstall all three components of solidcp
- restore database.
I didn’t backup “C:SolidCP” folder.
After that, I can’t login to SolidCP site. it says “Wrong credentials
Wrong user name or password have been specified or account is locked.”
What can I do now?
What is the value for ‘OneTimePasswordState’ in the dbo.Users table for serveradmin in the SCP database?
I had an issue where the serveradmin account was locked out (2) and I had to set it manually back to 0 (https://solidcp.com/forum/question/reset-forgotten-serveradmin-password/)
The only other thing I can think of is the cipher key in web.config for Enterprise Server causing an issue because you restored the database but not the config. However I am not 100% sure about this, Marco or Trevor should be able to confirm.
Yeah as Ric mentioned: Wrong password issue is caused by the Enterprise web.config cipher key not matching.
Make sure you open up the backed up enterprise web.config –> look for the Cipher value, and place it in your current web.config.
If I haven’t backed up web.config file, there is no way I can restore backed up database, am I right?
The database can be (and is easy to) be restored.
however there’s no way to do this without password resets (as all passwords do not match encryption so it mis matches passwords)
without backups it means you will need to reset the passwords (starting with serveradmin pass, going all the way down to user passwords)