Trying to create a Hosted Exchange 2019 hosting space returns the following error:
Page URL: http://XXX:9001/Default.aspx?pid=Home&mid=22&ctl=create_space&UserID=3
Logged User: serveradmin
Work on Behalf: alex
Hosting Space: 0
Stack Trace: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on 'Exchange 2019' HOSTING_SPACE_WR ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SolidCP.EnterpriseServer.PackageController.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean createPreviewDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.PackageController.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean createPreviewDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
at SolidCP.EnterpriseServer.esPackages.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean tempDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
--- End of inner exception stack trace ---
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.esPackages.AddPackageWithResources(Int32 userId, Int32 planId, String spaceName, Int32 statusId, Boolean sendLetter, Boolean createResources, String domainName, Boolean tempDomain, Boolean createWebSite, Boolean createFtpAccount, String ftpAccountName, Boolean createMailAccount, String hostName)
at SolidCP.Portal.UserCreateSpace.CreateHostingSpace()
Any suggestions?
EDIT:
I am able to add a domain to the empty hosting space after the error above,
Trying to further add an Organization in the empty hosting space returns the following error:
Error creating organization. See audit log for more details.
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'CREATE_ORG' task on 'exchange.test' ORGANIZATION ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Some or all identity references could not be translated.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.OrganizationController.CreateOrganization(Int32 packageId, String organizationId, String organizationName, String domainName)--- End of inner exception stack trace ---at SolidCP.EnterpriseServer.OrganizationController.CreateOrganization(Int32 packageId, String organizationId, String organizationName, String domainName)at SolidCP.EnterpriseServer.esOrganizations.CreateOrganization(Int32 packageId, String organizationID, String organizationName, String domainName)--- End of inner exception stack trace ---
Event log on CAS also has the following extra errors:
[5/9/2019 10:40:49 AM] ERROR: HostedSolution
System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.NTAccount.Translate(Type targetType)
at System.Security.AccessControl.DirectoryObjectSecurity.ModifyAccess(AccessControlModification modification, ObjectAccessRule rule, Boolean& modified)
at System.Security.AccessControl.DirectoryObjectSecurity.AddAccessRule(ObjectAccessRule rule)
at SolidCP.Providers.HostedSolution.ActiveDirectoryUtils.AddPermission(String objectPath, IdentityReference identity, ActiveDirectoryRights permission, ActiveDirectorySecurityInheritance inheritance)
at SolidCP.Providers.HostedSolution.OrganizationProvider.SetOUAclPermissions(String organizationId)
Hello,
Can you make sure the Active Directory Powershell, and Group Policy management mmc's are installed on the CAS/ Hosted exchange server via windows features?
Regards,
Marco
Hi Marco,
Installed those on both the solidcp server and CAS server but still get this error.
After changing the SCPServer user in Application Pool on CAS to I am able to add organizations and mailboxes and everything works, but still get the initial error while creating a new hosting space.
I've tried switching the solidcp server application pools credentials from local users to AD users, but that doesnt seem to make any difference so I've set them back to local users on the server and ad users on the CAS server.
Alright,
Can you go over our guide: https://solidcp.com/kb/configuration/exchange-2013-2016-configuration/
and make sure you did not skip any step? (the config is pretty much identical for exch 2019).
Hi Marco,
I looked through the steps, i've carried out everything as specified.
Still upon creating a new hosting space i receive this error, but like i said before, afterwards i can go about creating domains and hosted organizations with all changes going through perfect to exchange 2019.
All servers are running Server 2019 (if that makes any difference).
P.S. I don't get any errors anywhere in Event Viewer (CAS nor SolidCP server)