Hi The solidcp team,
We followed the manual about RDS and we have 1.1.2 version everywhere.
Entreprise and portal up and running fine
gateway+rdweb+solidcp server ok
Broker server ok
Certificate ok
adding a RDS server 2012 or 2016 to a customer ok
adding or creating a Collection = not ok
there the error when adding or creating a RDS collection Solidcp for a customer.
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.Exception: Error executing ‘ADD_RDS_COLLECTION’ task on ” REMOTE_DESKTOP_SERVICES —> System.Web.Services.Protocols.SoapException: Server was unable to process request. —> Cannot index into a null array. —> Cannot index into a null array.
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.RemoteDesktopServices.RemoteDesktopServices.CreateCollection(String organizationId, RdsCollection collection)
at SolidCP.EnterpriseServer.RemoteDesktopServicesController.AddRdsCollectionInternal(Int32 itemId, RdsCollection collection)
— End of inner exception stack trace —
at SolidCP.EnterpriseServer.RemoteDesktopServicesController.AddRdsCollectionInternal(Int32 itemId, RdsCollection collection)
at SolidCP.EnterpriseServer.esRemoteDesktopServices.AddRdsCollection(Int32 itemId, RdsCollection collection)
— 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.esRemoteDesktopServices.AddRdsCollection(Int32 itemId, RdsCollection collection)
at SolidCP.Portal.RDS.RDSCreateCollection.btnSave_Click(Object sender, EventArgs e)
Regards
James
Hello,
Seems you have a tricky problems and i am running out of ideas.
Would it be possible for you to try increase the logging on the RDS SolidCP Server web.config to 4.
If you can let me know what errors are in the event log and if you can let me know the 4 before the error as that should allow me to find which pieces of code have the issue.
Kind Regards,
Trevor Robinson
Here are all Eventlog entries created during the Add RDS Collection Safe Process. Loglevel is 4.
[1/20/2017 10:03:13 AM] ERROR: ‘Remote Desktop Services Windows 2012’ CreateCollection
System.Management.Automation.CmdletInvocationException: Cannot index into a null array. —> System.Management.Automation.RuntimeException: Cannot index into a null array.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
at System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
at System.Management.Automation.CommandProcessorBase.Complete()
— End of inner exception stack trace —
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at SolidCP.Providers.RemoteDesktopServices.RdsRunspaceExtensions.ExecuteShellCommand(Runspace runSpace, Command cmd, Boolean useDomainController, String primaryDomainController, Object[]& errors)
at SolidCP.Providers.RemoteDesktopServices.Windows2012.CreateCollection(String organizationId, RdsCollection collection)
at SolidCP.Server.RemoteDesktopServices.CreateCollection(String organizationId, RdsCollection collection)
[1/20/2017 10:03:12 AM] START: ExecuteShellCommand
[1/20/2017 10:03:12 AM] WARNING: powershell: New-RDSessionCollection
[1/20/2017 10:03:12 AM] END: ExecuteShellCommand
[1/20/2017 10:03:09 AM] START: ExecuteShellCommand
[1/20/2017 10:03:09 AM] WARNING: Creating Collection
[1/20/2017 10:03:09 AM] END: OpenRunspace
[1/20/2017 10:03:08 AM] START: OpenRunspace
[1/20/2017 10:03:08 AM] START: ‘Remote Desktop Services Windows 2012’ CreateCollection
[1/20/2017 10:03:08 AM] END: ‘Remote Desktop Services Windows 2012’ CheckRDSServerAvaliable
[1/20/2017 10:03:08 AM] START: ‘Remote Desktop Services Windows 2012’ CheckRDSServerAvaliable