I'm doing testing where I want to shut down and restart a service connector. If Neuron has been running for a while, when I stop, and try to restart the service connector, it goes back to being stopped. The Neuron event log shows the following:
Event Info: Service_svc
Exception: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)
Method: CreateInstance
Stack: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
at Neuron.Esb.EsbService.ServiceConnectorEndpointController.StartEndpoint(String id)
If I restart the Neuron ESB service, I am able to start and restart individual service connectors.
-Nick N
Tags:
Hi Nick,
Can you please open a support ticket on this so we can diagnose. You'll want to send us the affected Neuron logs and the event log.
Thanks
Marty
Interesting....just did a quick search. This may be a .NET framework 2.0 bug:
http://blogs.msdn.com/b/jaskis/archive/2010/01/05/intermittently-ge...
also could be a fusion issue:
http://social.msdn.microsoft.com/Forums/en-AU/vsdebug/thread/d4a0da...
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by