Odd error when going to preferences

For some reason, now when try to go to preferences (the main one in settings) I get the error below and Epicor immediately stops. Everything else seems to be working fine. Also, my pilot system is a copy of our production (it hasn’t been copied for a couple of weeks though) and everything there is working fine, I can get into preferences there. I’ve tried uninstalling epicor and re-installing it, and still get the problem. I just had my co-worker check and it’s kicking him out as well. Any ideas on where I should look to fix this?

Application Error

Exception caught in: mscorlib

Error Detail 
============
Message: The requested service, 'net.tcp://epicor10-1/ERP10-1/Ice/BO/PasswordPolicy.svc' could not be activated. See the server's diagnostic trace logs for more information.
Program: CommonLanguageRuntimeLibrary
Method: HandleReturnMessage

Client Stack Trace 
==================

Server stack trace: 
   at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder, IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper)
   at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open()

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 System.ServiceModel.ICommunicationObject.Open()
   at Epicor.ServiceModel.Channels.ChannelEntry`1.CreateNewChannel()
   at Epicor.ServiceModel.Channels.ChannelEntry`1.CreateChannel()
   at Epicor.ServiceModel.Channels.ChannelEntry`1.GetContract()
   at Epicor.ServiceModel.Channels.ImplBase`1.GetChannel()
   at Epicor.ServiceModel.Channels.ImplBase`1.HandleContractBeforeCall()
   at Ice.Proxy.BO.PasswordPolicyImpl.GetByID(String tenantID)
   at Ice.Lib.UI.PreferencesForm.InitializeCanSavePassword()
   at Ice.Lib.UI.PreferencesForm.Initialize(Session session, UserFileRow user, MenuTabImpl menuTabBO, MenuDataSet menuDS, SessionData sessionData)
   at IceShell.SessionManager.ShowPreferences()
   at IceShell.SettingsApp.generalOptionClicked(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.ContentElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Documents.Hyperlink.OnClick()
   at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender)
   at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender)
   at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
   at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.ContentElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at Ice.Lib.UI.ApplicationWatcher.StartApplication(ApplicationContext context)
   at Ice.Lib.UI.App.IceShellLaunch.<>c__DisplayClass7_0.<CreateMenuUI>b__0()
   at Ice.Lib.UI.App.IceShellLaunch.ShowMenuForm()
   at Ice.Lib.UI.App.LaunchBase.ShowDialog(String[] args)

Check the Application event viewer log on the Epicor server for out of memory errors like this one:

WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/35988427
Exception: System.ServiceModel.ServiceActivationException: The service ‘/E10DemoDB/Ice/BO/ReportMonitor.svc’ cannot be activated due to an exception during compilation. The exception message is: Memory gates checking failed because the free memory (858288128 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element… —>

EDIT: if it is that error, you can have Windows ignore the low memory condition via this post:

1 Like

I went and looked at the server, and sure enough, sitting at 95%. I quit my application, and it dropped to 94%. I reopened and preferences worked fine now.

I will have to get help to find the application event viewer (our server guy @rapat_mark has left already) but it’s probably that.

Thanks for the quick response. I thought the problem was going to be something worse than that.

200

1 Like

Unrelated thread-hijack: @aidacra did you guys ever get to the bottom of errors when clicking preference via touch?

My surface doesn’t do that…

Model and OS? Mines Surface Pro 3 Win8.1 (not RT)

I don’t know where to find the model.

1 Like

I was never able to duplicate it in the latest 10.1.400.x patch at the time you opened the case with our surface pro at on 8.1.
I did retest it later after upgrading to Windows 10 which, as an aside, was not as pain-free as MS led me to believe <-- the irony of that statement is not lost on me.

Did you ever test this in one of the 10.1.400.30+ patches?

There are not any specific SCRs for that issue at the moment.

Lol A for effort at a minimum. I am still stuck on the same version. I have little control over that unfortunately. It is rumored that 10.1.600 is coming “soon”. Let’s all pester @tfenwick11, he probably knows if/when that’s going to happen.

Ok, I’m game. @tfenwick11, when are you going to upgrade to 10.1.600?!?!

1 Like

@aidacra NEVERRRRRRRRRRRRRRRRRRRRR

2 Likes

I can’t believe it worked!

@aidacra can you come to my bank and just ask them to put extra money in my account? I bet they would just do it if you asked them to. Haha

1 Like

@Banderson this wasn’t for chris’s site…LOL

1 Like

2 Likes

I cant tell if this is a meme forum or an E10 forum

1 Like

One meme per thread minimum. State Law. lol

image

1 Like

image

good call. My bad.

200w

1 Like