After manual updating from 1.4.2. to 1.4.3., all IIS related stuff raise a error, in both of my webservers:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> The user name or password is incorrect.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Providers.Web.WebServer.GetSite(String siteId)
at SolidCP.EnterpriseServer.WebServerController.GetWebSite(Int32 siteItemId)
at SolidCP.EnterpriseServer.esWebServers.GetWebSite(Int32 siteItemId)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.esWebServers.GetWebSite(Int32 siteItemId)
at SolidCP.Portal.WebSitesEditSite.BindWebSite()
And in the Event Viewer on the servers:
[6/18/2019 9:50:57 AM] ERROR: 'Internet Information Services 10.0' GetSite
System.DirectoryServices.DirectoryServicesCOMException (0x8007052E): The user name or password is incorrect.at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
at System.DirectoryServices.DirectorySearcher.FindOne()
at SolidCP.Providers.Utils.SecurityUtils.GetUserObject(DirectoryEntry objRoot, String userName, RemoteServerSettings serverSettings)
at SolidCP.Providers.Utils.SecurityUtils.GetAccountSid(String accountName, RemoteServerSettings serverSettings, String usersOU, String groupsOU)
at SolidCP.Providers.Web.IIs60.CheckWriteAccessEnabled(String path, String anonAccount)
at SolidCP.Providers.Web.IIs70.CheckEnableWritePermissions(ServerManager srvman, WebAppVirtualDirectory virtualDir)
at SolidCP.Providers.Web.IIs70.GetSite(String siteId)
at SolidCP.Providers.Web.IIs100.GetSite(String siteId)
at SolidCP.Server.WebServer.GetSite(String siteId)
Because it's a username/password error, i double checked:
- Enterprise web.config>SolidCP.CryptoKey is the same as in 1.4.2.
- Webservers web.config>SolidCP.server>security>password is the same as in 1.4.2
I also but back the 1.4.2. web.config in the webserver from the backup, unfortunately no solution.
It looks like SolidCP can communicate with the webservers. If I go to Configuration > Servers and I click on the IIS role, there is no error.
Now I don't realy now how to go further?
Hello,
We have not seen this before but i would check the AD Settings to make sure its correct if your using AD.
We can take a look directly at your server using our Premium support. If you are interested in this please click the contact button above.
Thanks,
Trevor
Thanks for your reply! Yesterday I found the solution. It wasn't part of the update.
In the begin I made a type in de username while setup SolidCP on that server. The day of updating SolidCP to 1.4.3. I also cleanup the Active Directory and removed old users.
Due to the typo in the username, I removed the incorrect user so the message username or password is incorrect was totaly valid 🙂