Unable to login on …
 
Notifications
Clear all

Unable to login on webgui after DB move

6 Posts
2 Users
0 Likes
6,638 Views
Posts: 11
Topic starter
(@barry)
Active Member
Joined: 9 years ago

Hi Jason,

After moving the SQL DB to another disk i ran into problems to login to the webgui.
After logon i get?Error: Login failed. Please try again or contact support.

After DB move i had to recreate the correct SQL user permissions on the DB ( public and db_owner) for the user mentioned in SQL connectionstring in settings.xml

I can acces the \\localhost\admin\settings without problems and already saved the username and password without problems on this page.

The error log looks like

2016-12-29 16:48:34,574 ::: [15] DEBUG ::: CloudPanel.Bootstrapper — Configuring stateless authentication
2016-12-29 16:48:34,590 ::: [15] DEBUG ::: CloudPanel.ActiveDirectory.ADUsers — Retrieving the PrincipalContext…
2016-12-29 16:48:34,590 ::: [15] DEBUG ::: CloudPanel.ActiveDirectory.ADUsers — Attempting to authenticate user ks\administrator
2016-12-29 16:48:34,965 ::: [15] DEBUG ::: CloudPanel.ActiveDirectory.ADUsers — User was found in AD. Validating credentials for ks\administrator
2016-12-29 16:48:34,965 ::: [15] ERROR ::: CloudPanel.UserMapper — Error logging in user ks\administrator: System.Exception: Login failed. Please try again or contact support.?at CloudPanel
? ? ? ? ? ? ? ?.UserMapper.ValidateUser(String username, String password)
2016-12-29 16:48:34,981 ::: [15] DEBUG ::: CloudPanel.Modules.BrandingModule — Processing branding request for cloudpanel.smart-email.nl
2016-12-29 16:48:35,106 ::: [25] DEBUG ::: CloudPanel.Bootstrapper — Configuring stateless authentication

AD Username and password are 100% correct.

Do you have any suggestions on how to solve the problem ?
If needed a RDP session to the server van be arranged.

Greetings Barry

?

?

?

5 Replies
Posts: 1563
Admin
(@jdixon)
Noble Member
Joined: 9 years ago

That error message is talking about the connect to Active Directory. You need to make sure your CloudPanel application in IIS is running under its own Application Pool that has the same username/password you specified on the settings page.

Take a look at solution 2 on this page:? http://knowmoreit.com/kb/winrm-client-sent-request-http-server-got-response-saying-requested-http-url-not-available/

Reply
Posts: 11
Topic starter
(@barry)
Active Member
Joined: 9 years ago

Hi Jason,

?

I’ve checked the AppPool and it’s running with with admin credentials which are the same as on the settings page.
The apppool hasn’t changed during the time the DB was from to another disk on the SQL server.

If needed i can arrange ?a RDP connection for you. Perhaps you can have a look.

?

Greetings Barry

?

Reply
Posts: 1563
Admin
(@jdixon)
Noble Member
Joined: 9 years ago

Please email me at support@knowmoreit.com so I can connect and take a look for you.

Reply
Posts: 11
Topic starter
(@barry)
Active Member
Joined: 9 years ago

Hello Jason,

The email should be in the support mailbox by now 🙂

Greetings Barry

Reply
Page 1 / 2
Share: