Failed add RDS Serv...
 
Notifications
Clear all

Failed add RDS Server : Object reference not set to an instance of an object.

7 Posts
2 Users
0 Reactions
4,857 Views
Posts: 4
Topic starter
(@tgalibert)
New Member
Joined: 8 years ago

Here's the PowerShelle error on the GATEWAY server:

Error Message = Cannot index into a null array.
Fully Qualified Error ID = NullArray,Get-ResourceString

 

Otherwise here is the SolidCP error on the GATEWAY server:

[8/18/2017 11:43:52 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) in e:SolidCPV1.0SolidCPSourcesSolidCP.Providers.TerminalServices.Windows2012RdsRunspaceExtensions.cs:line 255
at SolidCP.Providers.RemoteDesktopServices.RdsRunspaceExtensions.ExecuteShellCommand(Runspace runSpace, Command cmd, Boolean useDomainController, String primaryDomainController) in e:SolidCPV1.0SolidCPSourcesSolidCP.Providers.TerminalServices.Windows2012RdsRunspaceExtensions.cs:line 229
at SolidCP.Providers.RemoteDesktopServices.Windows2012.CreateCollection(String organizationId, RdsCollection collection) in e:SolidCPV1.0SolidCPSourcesSolidCP.Providers.TerminalServices.Windows2012Windows2012.cs:line 338
at SolidCP.Server.RemoteDesktopServices.CreateCollection(String organizationId, RdsCollection collection) in e:SolidCPV1.0SolidCPSourcesSolidCP.ServerRemoteDesktopServices.asmx.cs:line 74

 

Can you help me?

Thank you.

Best Regards.

Reply
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

 

Can i firstly check which version of SolidCP you are using? v1.1.1 to v1.2.1 has alot of RDS fix's made inside it, So i would highly recommend the latest version.

 

Can you confirm if the SolidCP Server user on the gateway is a member of the domain with Domain Admin rights? (you will need a iisreset if you alter the groups).

 

Thanks,

 

Trevor Robinson

Reply
Page 2 / 2
Share: