楼主
PVS报错
实在是绝望了
??????????????????: System.Management.Automation.CmdletInvocationException: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter
http://tempuri.org/:propertyValue. The InnerException message was 'Invalid enum value 'L7_6' cannot be deserialized into type 'Citrix.Broker.Admin.SDK.FunctionalLevel'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.'. Please see InnerException for more details. ---> Citrix.Broker.Admin.SDK.SdkOperationException: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter
http://tempuri.org/:propertyValue. The InnerException message was 'Invalid enum value 'L7_6' cannot be deserialized into type 'Citrix.Broker.Admin.SDK.FunctionalLevel'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.'. Please see InnerException for more details. ---> System.ServiceModel.FaultException: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter
http://tempuri.org/:propertyValue. The InnerException message was 'Invalid enum value 'L7_6' cannot be deserialized into type 'Citrix.Broker.Admin.SDK.FunctionalLevel'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.'. Please see InnerException for more details.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Citrix.Broker.Admin.SDK.IBrokerAdminService.NewChbCatalog(Catalog& sdkObject, Version snapinVersion, String[] propertyName, Object[] propertyValue, Nullable`1 loggingId)
at Citrix.Broker.Admin.SDK.NewBrokerCatalogCommand.DoProcessRecord()
--- End of inner exception stack trace ---
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
--- End of inner exception stack trace ---
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at System.Management.Automation.Runspaces.Pipeline.Invoke()
at XenDesktopAccess.PowerShell.PSInvoke(Command Cmd)
at XenDesktopAccess.PowerShell.PSInvoke(String command, Dictionary`2 parameters)
at XenDesktopAccess.XenDesktopAccess6.CreateCatalog(XdControllerContext ddcContext, String catalogName, String catalogDescription, String sessionSupport, String allocationType, String persistUserChanges, String scope, String pvsAddress, String pvsDomain)
at EnterpriseManager.XdSetupFinish.createCatalog()