[ RDS Deployement ]...
 
Notifications
Clear all

[ RDS Deployement ] Cannot index into a null array.

16 Posts
3 Users
0 Reactions
4,201 Views
Posts: 11
(@dr-action)
Active Member
Joined: 8 years ago

Switched complete to Windows 2012R2.
Still same Error.

Adding Collections from Powershell works perfekt.
Importing Collections leads into the same "Cannot index into a null array" Error....

Any Suggestions....?

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

Hello,

 

Can you also check the Enterprise server Event log?

 

The error is a little generic so makes its hard to give you direction on the problem. Can you see any other errors in the application event log either?

 

Kind Regards,

 

Trevor Robinson

Reply
Posts: 11
(@dr-action)
Active Member
Joined: 8 years ago

No entries in Eventlog on Enterprise Server.

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

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

Reply
Posts: 11
(@dr-action)
Active Member
Joined: 8 years ago

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

Reply
Page 2 / 4
Share: