Hello! We recently just went from on-prem to the cloud and what an interesting time. However we have some custom MES stations that use Windows Sign in but we use Azure sign in for everyone else, when changing the Auth type to Windows and setting the menu ID for mes I get this error.
Application Error
Exception caught in: Epicor.ServiceModel
Error Detail
Message: The character set provided in ContentType is invalid. Cannot read content as string using an invalid character set.
Inner Exception Message: ââUTF-8ââ is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
Parameter name: name
Program: Epicor.ServiceModel.dll
Method: CallWithCommunicationFailureRetry
Client Stack Trace
at Epicor.ServiceModel.Channels.ImplBase.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer)
at Epicor.ServiceModel.Channels.ImplBase.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
at Epicor.ServiceModel.Channels.ImplBase.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy)
at Ice.Proxy.Lib.SessionModImpl.Login()
at Ice.Core.Session.GetSessionId(String asUrl, String companyId, String plantId)
at Ice.Core.Session.InitSessionMod(String asUrl, Boolean fwVerCheck, String companyID, String plantID, String sessionId)
at Ice.Core.Session.InitSession(Action setCredentials, String asUrl, Guid licenseTypeId, String pathToConfigurationFile, Boolean fwVerCheck, String companyID, String plantID, Boolean useChannelCacheForServices, String sessionId)
at Ice.Core.SessionâŚctor(String userID, String password, String asUrl, Guid licenseTypeId, String pathToConfigurationFile, Boolean fwVerCheck, String companyID, String plantID, Boolean useChannelCacheForServices, String sessionId, String edgeAgentToken)
at Ice.Core.SessionâŚctor(String userID, String password, Guid licenseType)
at Ice.Lib.LogOn.CreateSession(String userID, String password, String appServerUri, Guid licenseType, SessionTokenType sessionTokenType, Object azureADOwnerWindow)
at Ice.Lib.LogOn.logOn(String userID, String password, Boolean promptUpdatePassword, SessionTokenType sessionTokenType)
at Ice.Lib.LogOn.HandleLogon(LogOn logOnDialog, Boolean changingUser)
at Ice.Lib.LogOn.RunDialog(Guid licenseType, Boolean promptForModernStyle)
at Ice.UI.App.Launch.ShowDialog(String args)
Inner Exception
ââUTF-8ââ is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
Parameter name: name
at System.Globalization.EncodingTable.internalGetCodePageFromName(String name)
at System.Globalization.EncodingTable.GetCodePageFromName(String name)
at System.Text.Encoding.GetEncoding(String name)
at System.Net.Http.HttpContent.<>c__DisplayClass13_0.b__0(Task task)