An unknown exception occurred while executing a sandboxed code solution request in the worker process.

Hi i have deployed a sandbox solution using visual stdio2012 on share-point 2013 site at my local machine. when i tried to add web parts from custom folder to web part zone following error comes "An unknown exception occurred while executing a sand
boxed code solution request in the worker process."
how ever this is working on sharepoint online site. but not only on my local sharepoint  site
Can anyone help me . reply will be appreciated.
Thanks in advance.
Ritu Ranjan

GuYuming,
You have not yet addressed the original issue, please DO NOT mark this as answered.  The suggestion to use the ulsviewer would only help in finding out more about the issue, but will not solve the unknown exception.  I have been able to duplicate
the problem in my Development Environment and it seems to be related to permissions or running the SP 2013 "Development" environment on a Windows Server 2012 Domain Controller (to support single machine development).
Ritu Ranjan,
I found a post with a similar issue but might be related to this post as well.
http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/b7408608-c21b-45d9-bc16-e6afff510cd2. I tried switching the User Code Host account from the farm account to the App Pool account but the error stays the same.
Here is information from the ULS to provide more details to anyone who would like to help resolve this issue:
01/27/2013 12:11:38.38  SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe8j Medium    -  - An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0 - userCodeWrapperType.FullName = "Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper", userAssemblyGroup
= ".UserCodeAssemblyGroupId = ", GroupId = "081B51E0AD7645D4A38ADD78D5AA9F9E-uNL2pPMjZ3/km03rur+D1AZ1Qe8Fs6BnPIuoCN/pgcU="", .RootDirectoryPath = "C:\ProgramData\Microsoft\SharePoint\UCCache\8CFCA978EB52EC0\081B51E0AD7645D4A38ADD78D5AA9F9E%2DuNL2pPMjZ3%2547km03rur%2BD1AZ1Qe8Fs6BnPIuoCN%2547pgcU%3D-1"",
siteCollectionId = e116e750-38ff-4c55-aca4-acd04a69aff6 - Inner Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.Remoting.RemotingException: An attempt to connect to the
remote activator ... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.38* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe8j Medium   ...failed with exception 'System.Runtime.Remoting.RemotingException: Cannot resolve 'channel' template reference: 'http client'.     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ReportUnableToResolveTemplateReferenceError(ConfigNode
node, String referenceName, RemotingXmlConfigFileData configData)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessChannelsChannelNode(ConfigNode node, RemotingXmlConfigFileData configData, Boolean isTemplate)    
at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessChannelsNode(ConfigNode node, RemotingXmlConfigFileData configData)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessApplicationNode(ConfigNode
node, RemotingXmlConfigFileData configData)     at System.Runt... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.38* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe8j Medium   ...ime.Remoting.Activation.RemotingXmlConfigFileParser.ParseConfigNode(ConfigNode rootNode)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseDefaultConfiguration()    
at System.Runtime.Remoting.RemotingConfigHandler.LoadMachineConfigIfNecessary()     at System.Runtime.Remoting.RemotingConfigHandler.FindDelayLoadChannelForCreateMessageSink(String url, Object data, String& objectURI)    
at System.Runtime.Remoting.RemotingServices.CreateChannelSink(String url, Object data, IMessageSink& chnlSink)     at System.Runtime.Remoting.RemotingServices.Unmarshal(Type classToProxy, String url, Object data)    
at System.Runtime.Remoting.Activation.LocalActivator.DoRemoteActivation(IConstructionCallMessage ctorMsg)'.     at System.Runtime.Remoting.Activation.LocalActivator.DoRem... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.38* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe8j Medium   ...oteActivation(IConstructionCallMessage ctorMsg)     at System.Runtime.Remoting.Activation.LocalActivator.Activate(IConstructionCallMessage ctorMsg)     at System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.SyncProcessMessage(IMessage
reqMsg)     at System.Runtime.Remoting.Activation.ActivationServices.Activate(RemotingProxy remProxy, IConstructionCallMessage ctorMsg)     at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)    
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     at Microsoft.SharePoint.SPSite_SubsetProxy..ctor()     --- End of inner exception stack trace ---   
Server stack trace:      at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCac... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.38* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe8j Medium   ...hed, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)     at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&
stackMark)     at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)     at System.Activator.CreateInstance(Type type, Boolean nonPublic)    
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)     at System.Activator.CreateInstance(Type type, BindingFlags
bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)     at System.Activator.CreateInstance(Type type,... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.38* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe8j Medium   ... Object[] args, Object[] activationAttributes)     at Microsoft.SharePoint.SPSite.__CreateInstance_SPSite(Boolean forStaticMethod, Object[] constructorParameters)     at Microsoft.SharePoint.SPSite.RegisterCallContextUserCodeToken__Inner(Byte[]
userCodeToken)     at Microsoft.SharePoint.SPSite.RegisterCallContextUserCodeToken(Byte[] userCodeToken)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.SetBinaryTokens(Byte[] binaryUserCodeToken,
Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid
siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionCo... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.38* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe8j Medium   ...ntext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup
userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)     at Microsoft.SharePoint.UserCode.SPUserCodeAppDomain.Execute(Type
userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)    
at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxyForShim.ExecuteIntern... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.38* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe8j Medium   ...al(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)    
at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxy.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)    
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)     at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)   
Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnM... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.38* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe8j Medium   ...essage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.ExecuteDelegate.EndInvoke(IAsyncResult
result)     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, SPUserToken userToken, String currentAffinity, SPUserCodeExecutionContext
executionContext) a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.41  SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag002 Medium    -  - An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0 - Monitored process "ipc://25989203-dc18-4882-8d49-1640047f95e9:7000" has encountered a Pipeline Termination
exception while executing user code. - Inner Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.Remoting.RemotingException: An attempt to connect to the remote activator
failed with exception 'System.Runtime.Remoting.RemotingException: Cannot resolve 'channel' template reference: 'http client'.     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ReportUnableToResolveTemplateReferenceError(ConfigNode
node, String referenceName, RemotingXmlConfigFileData configData)     at... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.41* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag002 Medium   ... System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessChannelsChannelNode(ConfigNode node, RemotingXmlConfigFileData configData, Boolean isTemplate)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessChannelsNode(ConfigNode
node, RemotingXmlConfigFileData configData)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessApplicationNode(ConfigNode node, RemotingXmlConfigFileData configData)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseConfigNode(ConfigNode
rootNode)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseDefaultConfiguration()     at System.Runtime.Remoting.RemotingConfigHandler.LoadMachineConfigIfNecessary()    
at System.Runtime.Remoting.RemotingConfigHandler... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.41* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag002 Medium   ....FindDelayLoadChannelForCreateMessageSink(String url, Object data, String& objectURI)     at System.Runtime.Remoting.RemotingServices.CreateChannelSink(String url, Object data, IMessageSink&
chnlSink)     at System.Runtime.Remoting.RemotingServices.Unmarshal(Type classToProxy, String url, Object data)     at System.Runtime.Remoting.Activation.LocalActivator.DoRemoteActivation(IConstructionCallMessage ctorMsg)'.    
at System.Runtime.Remoting.Activation.LocalActivator.DoRemoteActivation(IConstructionCallMessage ctorMsg)     at System.Runtime.Remoting.Activation.LocalActivator.Activate(IConstructionCallMessage ctorMsg)     at System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.SyncProcessMessage(IMessage
reqMsg)     at System.Runtime.Remoting.Activation.ActivationServices.Activate(... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.41* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag002 Medium   ...RemotingProxy remProxy, IConstructionCallMessage ctorMsg)     at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)     at Microsoft.SharePoint.SPSite_SubsetProxy..ctor()     --- End of inner exception stack trace ---    Server stack trace:      at System.RuntimeTypeHandle.CreateInstance(RuntimeType
type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)     at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean
fillCache, StackCrawlMark& stackMark)     at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackC... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.41* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag002 Medium   ...rawlMark& stackMark)     at System.Activator.CreateInstance(Type type, Boolean nonPublic)     at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder,
Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)     at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)    
at System.Activator.CreateInstance(Type type, Object[] args, Object[] activationAttributes)     at Microsoft.SharePoint.SPSite.__CreateInstance_SPSite(Boolean forStaticMethod, Object[] constructorParameters)     at Microsoft.SharePoint.SPSite.RegisterCallContextUserCodeToken__Inner(Byte[]
userCodeToken)     at Microsoft.SharePoint.SPSite.RegisterCallContextUserCodeT... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.41* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag002 Medium   ...oken(Byte[] userCodeToken)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.SetBinaryTokens(Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext
executionContext)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken,
SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup,
Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExec... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.41* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag002 Medium   ...utionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)     at Microsoft.SharePoint.UserCode.SPUserCodeAppDomain.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup
userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxyForShim.ExecuteInternal(Type
userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxy.Execute(Type
userCodeWrapperType, SPUserCodeCachedAssem... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.41* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag002 Medium   ...blyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[] args, Object server, Object[]& outArgs)     at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)    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 Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.ExecuteDelegate.EndInvoke(IAsyncResult
result)     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.Execute(Type use... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.41* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag002 Medium   ...rCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, SPUserToken userToken, String currentAffinity, SPUserCodeExecutionContext executionContext) a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.42  SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag005 Medium    -  - An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0 - Request executing userSolution Id "081b51e0-ad76-45d4-a38a-dd78d5aa9f9e" for site collection id "
e116e750-38ff-4c55-aca4-acd04a69aff6" has encountered an unhandled exception while executing user code. - Inner Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.Remoting.RemotingException:
An attempt to connect to the remote activator failed with exception 'System.Runtime.Remoting.RemotingException: Cannot resolve 'channel' template reference: 'http client'.     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ReportUnableToResolveTemplateReferenceError(ConfigNode
node, String r... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.42* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag005 Medium   ...eferenceName, RemotingXmlConfigFileData configData)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessChannelsChannelNode(ConfigNode node, RemotingXmlConfigFileData configData,
Boolean isTemplate)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessChannelsNode(ConfigNode node, RemotingXmlConfigFileData configData)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessApplicationNode(ConfigNode
node, RemotingXmlConfigFileData configData)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseConfigNode(ConfigNode rootNode)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseDefaultConfiguration()    
at System.Runtime.Remoting.RemotingConfigHandler.LoadMachineConfigIfNecess... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.42* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag005 Medium   ...ary()     at System.Runtime.Remoting.RemotingConfigHandler.FindDelayLoadChannelForCreateMessageSink(String url, Object data, String& objectURI)     at System.Runtime.Remoting.RemotingServices.CreateChannelSink(String
url, Object data, IMessageSink& chnlSink)     at System.Runtime.Remoting.RemotingServices.Unmarshal(Type classToProxy, String url, Object data)     at System.Runtime.Remoting.Activation.LocalActivator.DoRemoteActivation(IConstructionCallMessage
ctorMsg)'.     at System.Runtime.Remoting.Activation.LocalActivator.DoRemoteActivation(IConstructionCallMessage ctorMsg)     at System.Runtime.Remoting.Activation.LocalActivator.Activate(IConstructionCallMessage ctorMsg)    
at System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)     at Syste... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.42* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag005 Medium   ...m.Runtime.Remoting.Activation.ActivationServices.Activate(RemotingProxy remProxy, IConstructionCallMessage ctorMsg)     at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)    
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     at Microsoft.SharePoint.SPSite_SubsetProxy..ctor()     --- End of inner exception stack trace ---   
Server stack trace:      at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)    
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)     at System.RuntimeType.CreateInstanceDefaultCtor(Boolean pu... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.42* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag005 Medium   ...blicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)     at System.Activator.CreateInstance(Type type, Boolean nonPublic)     at System.RuntimeType.CreateInstanceImpl(BindingFlags
bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)     at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo
culture, Object[] activationAttributes)     at System.Activator.CreateInstance(Type type, Object[] args, Object[] activationAttributes)     at Microsoft.SharePoint.SPSite.__CreateInstance_SPSite(Boolean forStaticMethod,
Object[] constructorParameters)     at Microsoft.SharePoint.SPSite.RegisterCallContextUserCodeToken__Inner(Byte[] userCodeToken)     a... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.42* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag005 Medium   ...t Microsoft.SharePoint.SPSite.RegisterCallContextUserCodeToken(Byte[] userCodeToken)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.SetBinaryTokens(Byte[] binaryUserCodeToken,
Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid
siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type
userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binar... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.42* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag005 Medium   ...yUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)     at Microsoft.SharePoint.UserCode.SPUserCodeAppDomain.Execute(Type
userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)    
at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxyForShim.ExecuteInternal(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext
executionContext)     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessPro... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.42* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag005 Medium   ...xy.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)    
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)     at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)   
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 Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.ExecuteDelegate.EndInvoke(IAsyncResult result)     at Microsoft.Sh... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.42* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ag005 Medium   ...arePoint.UserCode.SPUserCodeWorkerProcess.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, SPUserToken userToken, String currentAffinity, SPUserCodeExecutionContext
executionContext) a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.82  SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe7p Medium    -  - An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0 - Worker Process Pipeline unrecoverable failure: FullName = "Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper",
userAssemblyGroup = ".UserCodeAssemblyGroupId = ", GroupId = "081B51E0AD7645D4A38ADD78D5AA9F9E-uNL2pPMjZ3/km03rur+D1AZ1Qe8Fs6BnPIuoCN/pgcU="", .RootDirectoryPath = "C:\ProgramData\Microsoft\SharePoint\UCCache\8CFCA978EB52EC0\081B51E0AD7645D4A38ADD78D5AA9F9E%2DuNL2pPMjZ3%2547km03rur%2BD1AZ1Qe8Fs6BnPIuoCN%2547pgcU%3D-1"",
siteCollectionId = e116e750-38ff-4c55-aca4-acd04a69aff6 - Inner Exception: Microsoft.SharePoint.UserCode.SPUserCodeExecutionPipelineTerminallyFailedException: An unknown exception occurred while executing a sandboxed code solution request in the... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.82* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe7p Medium   ... worker process.\r\n|0 ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.Remoting.RemotingException: An attempt to connect to the remote
activator failed with exception 'System.Runtime.Remoting.RemotingException: Cannot resolve 'channel' template reference: 'http client'.     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ReportUnableToResolveTemplateReferenceError(ConfigNode
node, String referenceName, RemotingXmlConfigFileData configData)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessChannelsChannelNode(ConfigNode node, RemotingXmlConfigFileData configData, Boolean isTemplate)    
at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessChannelsN... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.82* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe7p Medium   ...ode(ConfigNode node, RemotingXmlConfigFileData configData)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ProcessApplicationNode(ConfigNode node, RemotingXmlConfigFileData configData)    
at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseConfigNode(ConfigNode rootNode)     at System.Runtime.Remoting.Activation.RemotingXmlConfigFileParser.ParseDefaultConfiguration()     at System.Runtime.Remoting.RemotingConfigHandler.LoadMachineConfigIfNecessary()    
at System.Runtime.Remoting.RemotingConfigHandler.FindDelayLoadChannelForCreateMessageSink(String url, Object data, String& objectURI)     at System.Runtime.Remoting.RemotingServices.CreateChannelSink(String url, Object data, IMessageSink&
chnlSink)     at System.Runtime.Remoting.RemotingServices.Unm... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.82* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe7p Medium   ...arshal(Type classToProxy, String url, Object data)     at System.Runtime.Remoting.Activation.LocalActivator.DoRemoteActivation(IConstructionCallMessage ctorMsg)'.     at System.Runtime.Remoting.Activation.LocalActivator.DoRemoteActivation(IConstructionCallMessage
ctorMsg)     at System.Runtime.Remoting.Activation.LocalActivator.Activate(IConstructionCallMessage ctorMsg)     at System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)    
at System.Runtime.Remoting.Activation.ActivationServices.Activate(RemotingProxy remProxy, IConstructionCallMessage ctorMsg)     at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)     at Microsoft.Sha... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.82* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe7p Medium   ...rePoint.SPSite_SubsetProxy..ctor()     --- End of inner exception stack trace ---    Server stack trace:      at System.RuntimeTypeHandle.CreateInstance(RuntimeType
type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)     at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean
fillCache, StackCrawlMark& stackMark)     at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)     at System.Activator.CreateInstance(Type
type, Boolean nonPublic)     at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCraw... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.82* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe7p Medium   ...lMark& stackMark)     at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)    
at System.Activator.CreateInstance(Type type, Object[] args, Object[] activationAttributes)     at Microsoft.SharePoint.SPSite.__CreateInstance_SPSite(Boolean forStaticMethod, Object[] constructorParameters)     at Microsoft.SharePoint.SPSite.RegisterCallContextUserCodeToken__Inner(Byte[]
userCodeToken)     at Microsoft.SharePoint.SPSite.RegisterCallContextUserCodeToken(Byte[] userCodeToken)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.SetBinaryTokens(Byte[] binaryUserCodeToken,
Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)     at Microsoft.SharePoint.UserC... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.82* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe7p Medium   ...ode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext
executionContext, Boolean shouldUsageLog, Int32 currentProcessId)     at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId,
Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)     at Microsoft.SharePoint.UserCode.SPUserCodeAppDomain.Execute(Type userCodeWrapperType,
SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] bin... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.82* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe7p Medium   ...aryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext, Boolean shouldUsageLog, Int32 currentProcessId)     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxyForShim.ExecuteInternal(Type
userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcessProxy.Execute(Type
userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[]... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.82* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe7p Medium   ... args, Object server, Object[]& outArgs)     at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)    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 Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.ExecuteDelegate.EndInvoke(IAsyncResult
result)     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, SPUserToken userToken, String currentAffinity, SPUserCodeExecutionContext
executionContext)     --- End of inner exception stack trace ---     at Microsoft.ShareP... a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.82* SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 fe7p Medium   ...oint.UserCode.SPUserCodeWorkerProcess.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, SPUserToken userToken, String currentAffinity, SPUserCodeExecutionContext
executionContext)     at Microsoft.SharePoint.UserCode.SPUserCodeExecutionHost.Execute(Type userCodeWrapperType, Guid siteCollectionId, SPUserToken userToken, String affinity, SPUserCodeExecutionContext executionContext) a8f2f89b-6d07-b067-8f51-1d9df413faf0
01/27/2013 12:11:38.85  SPUCHostService.exe (0x0E60)             0x0A34 SharePoint Foundation          Sandboxed Code Service       
 ebh5 Monitorable  - Stopping and restarting worker processes because of an unhandled exception. Shim PID: "0x0FD8" Proxy PID: "0x0FC8" 
01/27/2013 12:11:38.96  SPUCHostService.exe (0x0E60)             0x1164 SharePoint Foundation          Sandboxed Code Service       
 aeqw6 Monitorable  - Stopping shim process. Shim process name: "SPUCWorkerProcess" Shim PID: "0x0FD8" Shim service url: "ipc://25989203-dc18-4882-8d49-1640047f95e9:7000" 
01/27/2013 12:11:39.07  SPUCHostService.exe (0x0E60)             0x1164 SharePoint Foundation          Sandboxed Code Service       
 aeqw7 Monitorable  - Stopping proxy process. Proxy process name: "SPUCWorkerProcessProxy" Proxy PID: "0x0FC8" Proxy service url: "ipc://305d6f3b-f836-4adf-9fcf-ad4687d27fc3:7000" 
01/27/2013 12:11:39.18  SPUCWorkerProcessProxy.exe (0x0FC8)      0x0FCC SharePoint Foundation          Unified Logging Service        8wsw High   
 Now terminating ULS (SPUCWorkerProcessProxy.exe, onetnative.dll) 
01/27/2013 12:11:39.27  SPUCHostService.exe (0x0E60)             0x14B8 SharePoint Foundation          General                      
 84yj Medium   Performance Counter OS (pdh) call failed with error code PDH_INVALID_DATA. 
01/27/2013 12:11:39.27  SPUCHostService.exe (0x0E60)             0x14B8 SharePoint Foundation          Sandboxed Code Service       
 d1ul Unexpected  - Monitoring could not find the perf counters associated with the shim user code process, PID="0", disable monitoring. 
01/27/2013 12:11:45.82  SPUCWorkerProcessProxy.exe (0x1604)      0x1780 SharePoint Foundation          Unified Logging Service        b8fx High   
 ULS Init Completed (SPUCWorkerProcessProxy.exe, onetnative.dll) 
01/27/2013 12:11:46.44  SPUCWorkerProcessProxy.exe (0x1604)      0x1780 SharePoint Foundation          Topology                     
 2myf Medium   Disabling the configuration filesystem and memory caches. 
01/27/2013 12:11:46.50  SPUCWorkerProcessProxy.exe (0x1604)      0x1780 SharePoint Foundation          Upgrade                      
 ajyw6 High     01/27/2013 12:11:46.50 SPUCWorkerProcessProxy (0x1604) 0x1780 SharePoint Foundation Upgrade SPHierarchyManager ajyw6 DEBUG [SPTree Value=SPConfigurationDatabase] added to dependency cache by lookup 00000000-0000-0000-0000-000000000000 
01/27/2013 12:11:46.63  SPUCWorkerProcessProxy.exe (0x1604)      0x1780 SharePoint Foundation          Upgrade                      
 ajyx0 High     01/27/2013 12:11:46.63 SPUCWorkerProcessProxy (0x1604) 0x1780 SharePoint Foundation Upgrade SPDelegateManager ajyx0 DEBUG Waiting for mutex to initialize type dictionary 00000000-0000-0000-0000-000000000000 
01/27/2013 12:11:52.30  SPUCWorkerProcessProxy.exe (0x1604)      0x1780 SharePoint Foundation          Database                     
 8u1d High     Flushing connection pool 'Data Source=SPDB;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15' 
01/27/2013 12:11:52.30  SPUCWorkerProcessProxy.exe (0x1604)      0x0E04 SharePoint Foundation          Database                     
 8u1d High     Flushing connection pool 'Data Source=SPDB;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15' 
01/27/2013 12:11:52.30  SPUCWorkerProcessProxy.exe (0x1604)      0x1780 SharePoint Foundation          General                      
 avew High     An application domain named SPUCWorkerProcessProxy.exe has just been loaded. 
01/27/2013 12:11:52.32  SPUCWorkerProcessProxy.exe (0x1604)      0x0E04 SharePoint Foundation          Topology                     
 2myf Medium   Enabling the configuration filesystem and memory caches. 
01/27/2013 12:11:52.32  SPUCWorkerProcessProxy.exe (0x1604)      0x0E04 SharePoint Foundation          Topology                     
 aik7t High     Set the certificate validation policy for this app domain to the SharePoint certificate validator. 
01/27/2013 12:11:52.33  SPUCWorkerProcessProxy.exe (0x1604)      0x1780 SharePoint Foundation          Topology                     
 2q0j Medium   The configuration subsystem was initialized by multiple threads.  One of the caches will be disposed. 
01/27/2013 12:11:52.33  SPUCWorkerProcessProxy.exe (0x1604)      0x1780 SharePoint Foundation          Topology                     
 2q0k Medium   Disposing of an SPConfigurationDatabase reference from:  
01/27/2013 12:11:52.33  SPUCWorkerProcessProxy.exe (0x1604)      0x1780 SharePoint Foundation          Monitoring                   
 b4ly High     Leaving Monitored Scope (Initializing Admin OM). Execution Time=6138.56866568698 
01/27/2013 12:11:52.33  SPUCWorkerProcessProxy.exe (0x1604)      0x0E04 SharePoint Foundation          Monitoring                   
 b4ly High     Leaving Monitored Scope (Initializing Admin OM). Execution Time=5221.37511562071 
01/27/2013 12:11:52.71  SPUCWorkerProcessProxy.exe (0x1604)      0x1230 SharePoint Foundation          General                      
 00000 Medium   Microsoft SharePoint Foundation log file                                                                                                                                                                                                                                                                                                                                                                   
01/27/2013 12:11:52.71  SPUCWorkerProcessProxy.exe (0x1604)      0x1230 SharePoint Foundation          General                      
 94vw Medium   Primary Domain = DEV15, Computer Name = SPDEVBOX 
01/27/2013 12:11:52.82  SPUCWorkerProcessProxy.exe (0x1604)      0x1230 SharePoint Foundation          Object Cache                 
 9j6t High     SPXmlDocCache cache parameters are: high water mark 10485760 bytes, low water mark 5242880 bytes, interval 180000 ms 

Similar Messages

  • Deploying simple SharePoint 2013 feature causing error: "Error occurred in deployment step 'Add Solution': An unknown exception occurred while executing a sandboxed code solution request in the worker process."

    When trying to deploy a sandboxed solution containing only a feature with a simple associated event receiver from VS 2013, I'm getting the following error:
    Error occurred in deployment step 'Add Solution': An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0
    I'm working in Visual Studio 2013, deploying to SharePoint 2013.
    The SharePoint project is very basic. I've only added a feature and an associated event receiver. It works without the event receiver. Then after I simply add the event receiver I get the error.
    I've tried deploying directly from VS 2013 as well as publishing to a .WSP and uploading via web interface. Same error reported using both methods. I'm doing this using an Administrator account that I've confirmed is a site collection administrator.
    Additionally, I've found that if I change Sandboxed Solution to False, deploy it, retract it, then change Sandboxed Solution back to True, then I can successfully deploy it. But this doesn't seem to be a permanent solution as the error will resurface a day
    or two later...

    Hi Steve,
    Are you running your SharePoint 2013 on domain controller? 
    http://www.learningsharepoint.com/2013/08/09/sharepoint-2013-error-an-unknown-exception-occurred-while-executing-a-sandboxed-code-solution-request-in-the-worker-process-rn0/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b7408608-c21b-45d9-bc16-e6afff510cd2/installed-sharepoint-2013-foundation-on-window-2010-server-issues-activating-sandbox-solutions?forum=sharepointadmin
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • An unknown error occurred while executing the PowerShell script:

    Hello all,
    Not the most descriptive title, granted. I'm hoping this may prompt the next version toprovide additional valuable content.
    Kindly requesting any help on this problem. I'm running VMM 2012 R2 version 3.2.7668
    When I try to look at properties of an existing Private Cloud, I get this error, only if I "look" at certain attributes. If I stay away from the specific attributes, everything is hunky dory. For reasons unknown, after I get this error, I have
    to exit and go back into VMM in order to get anything else to run.
    The text in the error dialogue box is not entirely applicable because I was connected to the VMM server and will connect again, when I exit/relaunch.
    An unknown error occurred while executing the PowerShell script:
    The connection to the VMM management server scvmm2.mmmmmm.com was lost.
    Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager service is started
    on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Try the operation again. If the issue persists, contact Microsoft Help and Support.
    ID: 27235
    This is what I get in Events
    Warning 4/9/2015 3:27:04 PM PowerShell (Microsoft-Windows-PowerShell) 4100 Executing Pipeline
    Log Name:      Microsoft-Windows-PowerShell/Operational
    Source:        Microsoft-Windows-PowerShell
    Date:          4/9/2015 3:27:04 PM
    Event ID:      4100
    Task Category: Executing Pipeline
    Level:         Warning
    Keywords:      None
    User:          mmmmmm\paufra
    Computer:      tools-francis.mmmmmm.com
    Description:
    Error Message = The connection to the VMM management server scvmm2.mmmmmm.com was lost. (Error ID: 1610)
    Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager service is started
    on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Fully Qualified Error ID = 1610,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.GetSCReplicationGroupCmdlet
    Recommended Action = Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager
    service is started on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Context:
            Severity = Warning
            Host Name = Default Host
            Host Version = 4.0
            Host ID = 94963cd4-5979-4786-9da2-c8814de8c7c3
            Host Application = C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmAdminUI.exe
            Engine Version = 4.0
            Runspace ID = 359d7a46-3752-4929-8c09-0de4152d10e4
            Pipeline ID = 16
            Command Name = Get-SCReplicationGroup
            Command Type = Cmdlet
            Script Name =
            Command Path =
            Sequence Number = 91
            User = mmmmmm\paufra
            Shell ID = Microsoft.PowerShell
    User Data:
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-PowerShell" Guid="{A0C1853B-5C40-4B15-8766-3CF1C58F985A}" />
        <EventID>4100</EventID>
        <Version>1</Version>
        <Level>3</Level>
        <Task>106</Task>
        <Opcode>19</Opcode>
        <Keywords>0x0</Keywords>
        <TimeCreated SystemTime="2015-04-09T22:27:04.993655700Z" />
        <EventRecordID>285</EventRecordID>
        <Correlation ActivityID="{48059811-1A63-41E1-9057-7498D0E4FC20}" />
        <Execution ProcessID="2344" ThreadID="4076" />
        <Channel>Microsoft-Windows-PowerShell/Operational</Channel>
        <Computer>tools-francis.mmmmmm.com</Computer>
        <Security UserID="S-1-5-21-4008432563-1984933819-4238309236-2721" />
      </System>
      <EventData>
        <Data Name="ContextInfo">        Severity = Warning
            Host Name = Default Host
            Host Version = 4.0
            Host ID = 94963cd4-5979-4786-9da2-c8814de8c7c3
            Host Application = C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmAdminUI.exe
            Engine Version = 4.0
            Runspace ID = 359d7a46-3752-4929-8c09-0de4152d10e4
            Pipeline ID = 16
            Command Name = Get-SCReplicationGroup
            Command Type = Cmdlet
            Script Name =
            Command Path =
            Sequence Number = 91
            User = mmmmmm\paufra
            Shell ID = Microsoft.PowerShell
    </Data>
        <Data Name="UserData">
        </Data>
        <Data Name="Payload">Error Message = The connection to the VMM management server scvmm2.mmmmmm.com was lost. (Error ID: 1610)
    Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager service is started
    on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Fully Qualified Error ID = 1610,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.GetSCReplicationGroupCmdlet
    Recommended Action = Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager
    service is started on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    </Data>
      </EventData>
    </Event>

    Hi Sir,
    First , please try to run the VMM configuration analyzer on that computer :
    http://www.microsoft.com/en-us/download/details.aspx?id=41555
    In addition , please try to use "VMMTrace" mentioned in following article to collect trace log and find some useful information :
    http://blogs.technet.com/b/jonjor/archive/2011/01/07/vmmtrace-simplified-scvmm-tracing.aspx
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Retail Execution 3.2 Failure occurred while executing user supplied code in the server

    Hello,
    I am having sync issues while trying to sync data between device and CRM server.
    I can register the device in SUP and the app navigates to the home screen of the Rex application. When I try to perform a customer sync for example I get this error in the SUP logs.
    2014-07-15 16:26:19.831 ERROR Mobilink Thread-213 [com.sybase.ml.sup.Logger] [-10225] Failure occurred while executing user supplied code in the server
    I read on some other post for some other package that the issue was that the package deployed to the SUP server didnt match the application version on the device.
    So I went to the SAP marketplace and downloaded the patch for SUP and Rex.
    I patched the SUP server to 2.3 SP4.
    I then tried deploying the patch for the Rex MBO but get the error below.
    Anyone know a way around this?
    Regards
    Jared

    Hello,
    Apply the Patch-10510 as per SAP note 1999833 to resolve this error. The patch has to be asked via OSS to component MOB-SUP-RT.
    Best Regards,
    Rajat.

  • SharePoint Foundation Sandboxed Code Service - Unable to activate worker process proxy object within the worker process

    Issue:
    On a vanilla installation, the sandboxed code service (e.g. SPUCHostService.exe) is started; however, SPUCWorkerProcessProxy.exe and subsequently SPUCWorkerProcess.exe fails to start.
    Resolution/Workarounds attempted:
    Attempted 2 different Load balancing settings – local and remote (i.e. affinity)
    Ensured local computer policy on server for ‘RPC Endpoint Mapper Client Authentication’ and ‘Restrictions for Unauthenticated RPC clients’ is disabled.
    Ensured following key in registry is set properly - HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\RPC
    Attempted to bypass SharePoint’s check for certificate revocations at crl.microsoft.com
    Ensured the service account is added to the respective groups (e.g. Performance Log Users, Performance Monitor Users, IIS_IUSRS, WSS_ADMIN_WPG, WSS_WPG)
    Increased limit of ‘AbnormalProcessTerminationCount’ of SPUserCodeService via Powershell
    We have tried all possible workarounds from the following MSDN reference:
    http://blogs.msdn.com/b/sharepointdev/archive/2011/02/08/error-the-sandboxed-code-execution-request-was-refused-because-the-sandboxed-code-host-service-was-too-busy-to-handle-the-request.aspx
    ULS:
    02/21/2014 05:24:50.64  SPUCHostService.exe (0x0230)  0x0F74  SharePoint Foundation Sandboxed Code Service              fe8a               
    Medium               -  - Unable to activate worker process proxy object within the worker process: ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000  
    02/21/2014 05:24:50.64  SPUCHostService.exe (0x0230)  0x0F74  SharePoint Foundation Sandboxed Code Service              fe8c               
    Medium               -  - Error activating the worker process manager instance within the worker process. - Inner Exception: System.InvalidOperationException: Unable to activate worker
    process proxy object within the worker process: ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies()    
    02/21/2014 05:24:50.64  SPUCHostService.exe (0x0230)  0x0F74  SharePoint Foundation Sandboxed Code Service              ei0t               
    Medium               - Process creation/initialization threw an exception. Stopping this process. "ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000"
    02/21/2014 05:24:50.65  SPUCHostService.exe (0x0230)  0x0F74  SharePoint Foundation Sandboxed Code Service             
    fe87                Medium               -  - Error activating the worker process manager instance within
    the worker process. - Starting worker process threw - Inner Exception: System.InvalidOperationException: Unable to activate worker process proxy object within the worker process: ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies()   
    Any other insights on how I can troubleshoot the issue described?
    Thanks in advance!

    Hi ,
    For resolving your issue , you can do as the followings:
    1. Logged into the Web Server with the Timer Service Account.
    2. Ran the powershell command to check the SID of the account running the spucworkerprocessproxy.exe:  
    $(Get-SPManagedAccount -Identity "THE SERVICE ACCOUNT").Sid.Value
    3. Checked the registry :
    HKEY_USERS\[SID OF THE SERVICE ACCOUNT]\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing\State
    4. Changed the value 0x00023c00 to 0x00023e00
    In addition, here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/aae497df-5f0d-4f86-a724-c7b805ccd07f/sharepoint-sandboxed-code-service-troubles?forum=sharepointgeneralprevious
    http://blogs.technet.com/b/operationsguy/archive/2011/01/17/sharepoint-2010-sandboxed-code-solutions-and-web-proxy.aspx
    http://social.msdn.microsoft.com/Forums/en-US/c21e2c3a-a259-4d5f-8071-eff52b7bddc3/issue-sandbox-solution-too-busy-to-handle-the-request?forum=sharepointgeneralprevious
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • I cannot print, get error 'An unknown error occurred while printing."

    I can see that hundreds of other people also have this problem and I can't understand why Mozilla don't fix it.
    When I go to print an email or a receipt, whether by printer or by PDF, I *sometimes* get the error, 'An unknown error occurred while printing.'
    It is very frustrating as the problem is intermittent. Sometimes it works, sometimes it doesn't... even with the same page being printed. Incidentally, that page can be printed in both Chrome and Internet Explorer without a problem.
    I have tried other "solutions" in similar, now closed, threads. However, 'reset' is not working for me. Closing Firefox and reopening doesn't work either. I have the latest version of Firefox: 14.0.1 and have Windows x64. There is enough available space in the cache...
    I'm just at my wits end with this.

    With the latest updates FF 19 BETA and Acrobat X. The new one with the black PDF screen), I'm having difficulty too printing to Adobe PDF. System Win 7 x 64.
    Printing to physical printers not an issue.
    No errors, but (Not Responding either in FF or Acrobat.) Printing to the PDF printer directly sometimes works. Using the work-around fast enough, it seems to always work.
    I found a work-around:
    Goto Print Preview
    Select Print
    Type in your file name
    IMMEDIATELY press OK and Minimize Firefox.
    All of the progress boxes/windows are getting confused otherwise. With FF opened as a normal page, there are too many different progress boxes.
    Acrobat has one, the windows print driver has one, FF seems to have one and they all can't be on top.
    They will if FF is minimized.
    Incidentally if FF is killed, the "Creating Adobe PDF" shows its face from being hidden.
    I did reset Firefox.
    This is seriously messed up now. It used to work fine until the last round of updates from M$, Adobe and FF.

  • Error: 28005, Severity: 16, State: 2...An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impe

    I've seen some similar questions, but want to make sure I can get an answer quickly and how to fix.
    Thanks,
    Paul
    spid24s     Error: 28005, Severity: 16, State: 2
    spid24s     An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated,
    or you do not have permission.

    Hi Paul,
    I also had the same error on one of my servers, and it was because the user that created the database no longer worked for the company.
    So when his AD account got deleted, the database had NULL as owner
    Using the following query I asked for the owners of the databases:
    select name, suser_sname(sid) from master.dbo.sysdatabases
    So changing the owner of the databases that had a NULL owner solved the issue for me.
    use <databasesname>
    go
    exec sp_changedbowner 'sa'
    Thanks for triggering the solution.
    Peter

  • Sys.webforms.page request manager server error exception:An unknown error occured while processing the request on server. The status code returned from the server was:0

    sys.webforms.page request manager server error exception:An unknown error occured while processing the request on server. The status code returned from the server was:0 We got this response(In firebug console) when we try to click on link (after leave webpage for 3 minuts ideal) which is AJAX based. Please reply ASAP because its urgent.

    Hi SP,
    Please check if the following web config appSettins value settings from SSRS server could fix the issue (Note, back up your original web config file before any modification).
    http://stackoverflow.com/questions/10911610/ssrs-webpage-error-status-code-500
    http://srinivasbn.blogspot.in/2013/09/syswebformspagerequestmanagerservererro.html
    http://connect.microsoft.com/SQLServer/feedback/details/782155/ssrs-2012-failed-with-win32-error-0x03e3
    If you have more questions about the SSRS error logs related to this issue, you can post in the SSRS forum for a better assistance with more experts.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • An exception occured while creating a query in EntityManager

    I was directed to create a new topic rather than resurrect a long dead thread. I appreciate the correction in this.
    Persistence, Entity Manager, NetBeans 6.7.1, GlassFish v2.1, Database
    I am getting the following Stack Trace:
    [#|2009-12-08T16:22:06.171-0500|SEVERE|sun-appserver2.1|javax.faces|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=390db479-49c0-47e5-bcdc-e5e07f871644;|javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
    javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
         at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:82)
         at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:416)
         at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.broadcastEvents(PartialTraversalViewRootHelper.java:500)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.processValidators(PartialTraversalViewRootHelper.java:267)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.processValidators(PartialTraversalViewRootImpl.java:152)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
         at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.executeServlet(CometEngine.java:609)
         at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.handle(CometEngine.java:356)
         at com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:84)
         at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:175)
         at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:153)
         at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:92)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.createQuery(EntityManagerImpl.java:209)
         at com.davisco.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:165)
         at com.davisco.web.jpa.controllers.EmpdataJpaJpaController.findEmpdataJpaEntities(EmpdataJpaJpaController.java:155)
         at com.davisco.web.jpa.controllers.EmpdataJpaJpaController.findEmpdataJpaEmpnoEntities(EmpdataJpaJpaController.java:214)
         at com.davisco.web.jsf.EmpdataController.getEmployeesByEmpno(EmpdataController.java:471)
         at com.davisco.web.jsf.EmpdataController.addEmployeeEmpnos(EmpdataController.java:439)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         ... 48 more
    Caused by: Exception [TOPLINK-8034] (Oracle TopLink Essentials - 2.1 (Build b60e-fcs (12/23/2008))): oracle.toplink.essentials.exceptions.EJBQLException
    Exception Description: Error compiling the query [select object(o) from Empdata as o]. Unknown abstract schema type [Empdata].
         at oracle.toplink.essentials.exceptions.EJBQLException.unknownAbstractSchemaType(EJBQLException.java:494)
         at oracle.toplink.essentials.internal.parsing.ParseTreeContext.classForSchemaName(ParseTreeContext.java:163)
         at oracle.toplink.essentials.internal.parsing.SelectNode.getClassOfFirstVariable(SelectNode.java:366)
         at oracle.toplink.essentials.internal.parsing.SelectNode.getReferenceClass(SelectNode.java:354)
         ... 65 more
    It appears that problem
    |javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
    is actually caused by
    Exception Description: Error compiling the query [select object(o) from Empdata as o]. Unknown abstract schema type [Empdata].
    The Query is a very basic query.
         private EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("PersistPU");
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
         private List<Empdata> findEmpdataEntities(boolean all, int maxResults, int firstResult) {
              EntityManager em = getEntityManager();
              try {
                   Query q = em.createQuery("select object(o) from Empdata as o"); // Problem line
                   if (!all) {
                        q.setMaxResults(maxResults);
                        q.setFirstResult(firstResult);
                   return q.getResultList();
              } finally {
                   em.close();
    I have reviewed my Configuration Files and Source Packages without solution.
    Where do I need to look or what do I need to do to determine the error?

    After reading similar discussion in the OTN Discussion page ( [Thread: Unknown abstract schema type |http://forums.oracle.com/forums/thread.jspa?threadID=602826] ) I reviewed how I was creating my EntityManagerFactory. I realize also more information is required for a more complete understanding of the circumstances.
    I originally created a project in Netbeans using the wizard to create a JSF Project from Entity Classes. Through trial and error I produced from the resulting JSF Web pages a maintenance project for a given table in the database. I was then given the task to split the table and build a new project utilizing the existing entity classes in a production project.
    After the table was split and the new entity classes created I then entered the task of starting a new project using the entity classes in the production project. To do this I used the Netbeans wizard to create the JpaControllers in the production project. I copied as much code as I could from the working table maintenance project I had just completed. I have now started to connect the two projects. I have included the production project with the entities as a library project. I created the persistence.xml file in the new project with the same persistence unit name as the production project. I have included the Toplink Extensions as a library in the new project (even though the production project has the entity classes). From what I have been able to glean I am thinking my EntityManagerFactory declaration may be misdirecting the finding of the Empdata schema in my new project. Here is how I declared my EntityManager in the example given:
    private EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("DvPersistPU");
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
    Here is the wizard generated method which fails with a NullPointerException in the return statement:
         @PersistenceUnit(unitName = "PersistPU")
         private EntityManagerFactory emf = null;
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
    Hopefully this will better help someone to direct me to determining the cause of my error or the error of my ways.
    NullPointerException stacktrace just mentioned:
    EmpdataController: getEmployeesByEmpno [0]
    AbortProcessingException thrown when processing event of type 'javax.faces.event.ValueChangeEvent' during phase 'PROCESS_VALIDATIONS 3' for component with ID or Client ID of 'srchEmp'
    javax.faces.event.AbortProcessingException: java.lang.NullPointerException
    javax.faces.event.AbortProcessingException: java.lang.NullPointerException
    at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:82)
    at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
    at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:416)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.broadcastEvents(PartialTraversalViewRootHelper.java:500)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.processValidators(PartialTraversalViewRootHelper.java:267)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.processValidators(PartialTraversalViewRootImpl.java:152)
    at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    Caused by: java.lang.NullPointerException
    at com.company.web.jpa.controllers.EmpdataJpaController.getEntityManager(EmpdataJpaController.java:71)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:163)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:155)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEmpnoEntities(EmpdataJpaController.java:214)
    at com.company.web.jsf.EmpdataController.getEmployeesByEmpno(EmpdataController.java:471)
    at com.company.web.jsf.EmpdataController.addEmployeeEmpnos(EmpdataController.java:439)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ... 49 more
    Would someone please help me know where to look next or point me in the direction to find the cause of the error(s)?
    Thank you.

  • Exception occured while retrieving the Flowtrace XML for the Composite Instance; java.lang.ClassNotFoundException: Failed to load class oracle.bpel.services.workflow.WorkflowException

    When i try to view the FlowTrace i'm getting the following exception in EM
    Unable to display Flowtrace due to exception while initializing object, please review logs for detailed information.
    >> Exception occured while retrieving the Flowtrace XML for the Composite Instance; ECID: 0000JzmIFk95EgPquci8UH1HtzlR0000HC
    >> java.rmi.UnmarshalException: Problem finding error class; nested exception is:
    >>> java.lang.ClassNotFoundException: Failed to load class oracle.bpel.services.workflow.WorkflowException
    >>> at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
    >>> at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
    >>> at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1036_WLStub.getAuditTrail(Unknown Source)
    >>> at oracle.soa.management.internal.ejb.EJBLocatorImpl.getAuditTrail(EJBLocatorImpl.java:473)
    >>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.setFloatraceModelInfo(FlowTraceModel.java:172)
    >>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.initialize(FlowTraceModel.java:79)
    >>> at oracle.sysman.emai.model.sca.EMEntityModel._initializeEntityData(EMEntityModel.java:28)
    >>> at oracle.sysman.emai.model.sca.common.SCAEntityObject.initializeSCAData(SCAEntityObject.java:124)
    >>> at oracle.sysman.emai.model.sca.SCAObject.initializeData(SCAObject.java:66)
    >>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.initOrResetEMObject(ModelUtil.java:319)
    >>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.access$000(ModelUtil.java:280)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeMBEMObjects(ModelUtil.java:231)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:128)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:101)
    >>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.doPrePrepareModel(EMPagePhaseListener.java:867)
    >>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.beforePhase(EMPagePhaseListener.java:795)
    >>> at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
    >>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
    >>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:191)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    >>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
    >>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
    >>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    >>> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    >>> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    >>> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    >>> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:164)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    >>> at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    >>> at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    >>> at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    >>> at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    >>> at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    >>> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    >>> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    >>> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    >>> at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    >>> at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    >>> at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    >>> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    >>> at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >>> Caused by: java.lang.ClassNotFoundException: Failed to load class oracle.bpel.services.workflow.WorkflowException
    >>> at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:208)
    >>> at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:135)
    >>> at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:305)
    >>> at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:436)
    >>> at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:268)
    >>> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
    >>> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
    >>> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
    >>> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
    >>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
    >>> at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:208)
    >>> at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:599)
    >>> at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:235)
    >>> at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
    >>> at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1036_WLStub.getAuditTrail(Unknown Source)
    >>> at oracle.soa.management.internal.ejb.EJBLocatorImpl.getAuditTrail(EJBLocatorImpl.java:473)
    >>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.setFloatraceModelInfo(FlowTraceModel.java:172)
    >>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.initialize(FlowTraceModel.java:80)
    >>> at oracle.sysman.emai.model.sca.EMEntityModel._initializeEntityData(EMEntityModel.java:29)
    >>> at oracle.sysman.emai.model.sca.common.SCAEntityObject.initializeSCAData(SCAEntityObject.java:125)
    >>> at oracle.sysman.emai.model.sca.SCAObject.initializeData(SCAObject.java:66)
    >>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.initOrResetEMObject(ModelUtil.java:319)
    >>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.access$000(ModelUtil.java:280)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeMBEMObjects(ModelUtil.java:231)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:131)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:102)
    >>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.doPrePrepareModel(EMPagePhaseListener.java:869)
    >>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.beforePhase(EMPagePhaseListener.java:795)
    >>> at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:552)
    >>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
    >>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:276)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:77)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:54)
    >>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
    >>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
    >>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    >>> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    >>> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    >>> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    >>> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:166)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    >>> at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    >>> at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:183)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    >>> at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    >>> at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    >>> at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> ... 9 more

    Hi Manish,
    It seems that you are using a custom security provider and the weblogic server is not able to find the class / jar file that contains the class.
    java.lang.ClassNotFoundException: Failed to load class com.msl.security.providers.SessionPrincipal]
    Make sure you have all the required jar files in the server classpath.
    You can use the JarScan utility to find the jar that contains the class.
    Refer the below link regarding the jarScan.
    http://weblogic-wonders.com/weblogic/2011/01/26/finding-jar-files-using-jarscan/
    Regards,
    Anandraj
    http://weblogic-wonders.com

  • Error during Portal Setup: An error occurred while executing a custom action:_GrantLocalPermissionsToWCSAccount

    Error:
    Configure Portal Setup
    An error occurred while executing a custom action:_GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6
    This upgrade attempt has failed before permanent modifications were made. Upgrade has successfully rolled back to the original state of the system. Once the correction are made, you can retry upgrade for this role.
    Errors in the Log:
    MSI (s) (38:14) [21:30:36:094]: NOTE: custom action _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
    CustomAction _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (38:94) [21:30:36:115]: User policy value 'DisableRollback' is 0
    MSI (s) (38:14) [21:30:36:094]: NOTE: custom action _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
    CustomAction _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (38:94) [21:30:36:115]: User policy value 'DisableRollback' is 0
    I cannot get past this error. I am running Sharepoint Foundation 2010 with Sp1. This is on a Windows Server 2008 R2 Server +Sp1.
    Any ideas?
    David Baur

    I finally figured this out, The issue was that I had put in the Self Service Portal Computer Name and Service account into the Service Manager SQL as SysAdmin, once I removed it flew through just fine.
    David Baur

  • ERROR: Exception occured while encrypting the configuration and database

    I'm facing below issue/error during the OIM 11g R2 configuration (fresh install).  Resolutions from other blog with same error (DOMAIN_HOME misconfigured) isn't helping in my case.
    Thanks for your help
    updateMLSLocale:ORACLE_HOME :/fmw/Oracle_IDM1
    updateMLSLocale:LOCALE_PROPERTIES_FILE :/fmw/Oracle_IDM1/inventory/Scripts/ext/jlib/oim/OIMLocales.properties
    java.lang.Exception: Exception occured while encrypting the configuration and database
      at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:239)
      at oracle.as.install.oim.config.OIMConfigManager.encryptDB(OIMConfigManager.java:1035)
      at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:891)
      at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:583)
      at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
      at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
      at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
      at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
      at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
      at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured while encrypting the database
      at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:159)
      at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:230)
      ... 12 more
    Caused by: java.lang.Exception: Exception occured in updateMLSLocale method while updating Locale to OIM DB
      at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:318)
      at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:125)
      ... 13 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
      at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
      at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:310)
      ... 14 more

    Hi
    I faced this issue before ,Reinstall is the option you have .Verify the version of RCU before you start creating schema .Set all Pre DB setting ,hostname and IP Address ,If DB and OIM  are in ifferent machines check pinging from both the sides .
    Please Drop all OLD schema ,Create a New "Prefix" for fresh installation , don't use old schema .
    Let me know .
    Thanks,
    Ari

  • VLD-0917: An unknown error occured while generating FACT

    I'm trying to move my OWB repository from machine_1 to machine_2 this is what I did:
    1. Export of the OWB metadata for the entire project. (machine_1)
    2. Import of the OWB project in machine_2, import is successfull.
    3. Configure locations for the source/target schemas (double, triple checked)
    4. deploy the objects...
    Here comes the problem: all tables referencing shared tables from other locations (i.e. modules), fail to generate with error
    VLD-0917: An unknown error occured while generating FACT.
    An unknown error occurred while generating FACT.
    Error details: java.lang.NullPointerException.
    following is the Design Center client log for the error:
    **** Exception when generating ****
    java.lang.NullPointerException
    at oracle.wh.repos.sdk.environment.WBEnvironmentHelper.getDbLinkName(WBEnvironmentHelper.java:775)
    at oracle.wh.service.impl.generation.common.WBGenerationUtils.isSameInstance(WBGenerationUtils.java:355)
    at oracle.wh.service.impl.generation.ddl.TableGenerator.getMapSchemaName(TableGenerator.java:914)
    at oracle.wh.service.impl.generation.ddl.TableGenerator.generateForeignKey(TableGenerator.java:1047)
    at oracle.wh.service.impl.generation.ddl.TableGenerator.generateForeignKeys(TableGenerator.java:894)
    at oracle.wh.service.impl.generation.ddl.TableGenerator.generatePhysical(TableGenerator.java:612)
    at oracle.wh.service.impl.generation.ddl.DDLGenCommon.generate(DDLGenCommon.java:463)
    at oracle.wh.service.impl.generation.ddl.TableGenerator.generate(TableGenerator.java:145)
    at oracle.wh.service.impl.generation.ddl.DDLGenCommon.generate(DDLGenCommon.java:306)
    at oracle.wh.service.impl.generation.ddl.DDLGeneratorManager.generateAUX(DDLGeneratorManager.java:186)
    at oracle.wh.service.impl.generation.ddl.DDLGeneratorManager.generate(DDLGeneratorManager.java:101)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:423)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:311)
    at oracle.wh.service.impl.generation.service.WhValidationGenerationTransaction.run(WhValidationGenerationTransaction.java:251)
    Even more, this happens when I create a new FACT and a new shared table (located in another location) so it isn't the repository metadata being imported. If I remove the constrainsts referencing tables in other schemas then deployment is successfull.
    Repository resides in an oracle database 10g r2 and OWB is 10.2.0.3 running on a cluster machine with AIX 5...
    Any ideas how to solve this or a possible workaround?
    Thanks,
    German

    Hi,
    I realized that I'm getting this error for all fact tables. I cannot deploy any of them. What could be happening? I have a dimension that is linked to all facts which I changed recently: had to redefine its default hierarchy as a value-based one. I don't know if this affected my cubes.
    Any idea what might be happening here?
    Best Regards,
    --oswaldo.
    [osantos]

  • Concurrency Visualizer Extension (VS2013): "An unknown error occurred while trying to start the collection process."

    Not sure if this is the right place to ask about this but since my question concerns an extension I'll give it a shot.
    I'm trying to use the Visual Studio 2013 Concurrency Visualizer extension to debug a simple test console application. I've set executive paging to disabled in the registry as it directed and hit "add SDK to project" in the concurrency
    visualizer menu options. And of course, restarted my computer to apply the settings. When I try to "start [the concurrency visualizer] with current project" I get an error popup:
    "An unknown error occurred while trying to start the collection process."
    I really need the concurrency profiling to start debugging contention in my multithreaded application. Prompt assistance would be much appreciated.

    Hi,
    This forum is to discuss and ask questions about extending and integrating with Visual Studio (using the Extension Manager, building VSX containers for deployment, Visual Studio SDK, and more), Visual Studio Online (REST APIs, service hooks, and OAuth),
    and Team Foundation Server.
    You have problems when using Concurrency Visualizer Extension, please ask in
    the page under "Q AND A". Since Concurrency Visualizer is a diagnostic tool, you can post this issue in
    Visual Studio Diagnostics (Debugger, Profiler, IntelliTrace) forum too.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Occurred while executing line 5 of valid BeanShell script

    Hello Everyone,
    I am a newbie to Endeca Guided Search. I had created a new Developer project.
    I updated its input source, Properties and Dimension. after doing this when i go to my application directory
    C:\apps\TestApp\control> and try to execute initialize_services.batb
    I am getting the following error.
    [06.20.12 12:15:57] SEVERE: Utility 'emgr_update_update_mgr_settings' failed. Re
    fer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    Occurred while executing line 5 of valid BeanShell script:
    2|
    3| if (ConfigManager.isWebStudioEnabled()) {
    4| log.info("Updating Oracle Endeca Workbench configuration...");
    5| ConfigManager.updateWsConfig();
    6| log.info("Finished updating Oracle Endeca Workbench.");
    7| }
    8|
    [06.20.12 12:15:57] SEVERE: Caught an exception while invoking method 'run' on o
    bject 'InitialSetup'. Releasing locks.
    some one please help me solve this.
    following is the Dgraph1's configuration from AppConfig.xml
    <dgraph id="Dgraph1" host-id="MDEXHost" port="15000">
    <properties>
    <property name="restartGroup" value="A" />
    <property name="updateGroup" value="a" />
    </properties>
    <log-dir>./logs/dgraphs/Dgraph1</log-dir>
    <input-dir>./data/dgraphs/Dgraph1/dgraph_input</input-dir>
    <!-- <update-dir>./data/dgraphs/Dgraph1/dgraph_input/updates</update-dir> -->
    </dgraph>
    some one please help me solve this.

    Usually this happens when a under privileged user tries to access particular service, or folders.
    Please try
    1) Grant user access to the service account (since it is windows) if current user is not local administrator.
    2) Check out folder permissions
    3) Check your system path
    We had faced similar problems of ‘Releasing locks’ where some changes were made by "root" user and the service was expecting "endeca" user(On Linux system). The solution that worked for us was to taking ownership of the entire endeca installation directory to "endeca" user.

Maybe you are looking for

  • Tags won't update

    Hello, I'm a DJ and I use Traktor as my DJ software and iTunes to manage my MP3 collection. Sometimes when I update a genre i Traktor, iTunes won't update the tag. Sometimes it does. I checked the file in another software, and the change is there, bu

  • Exchange rate in MIRO

    Hi SAP gurus... I have this problem: When I post the "goods/service items" in MIRO, the exchange rate reamins exactlye the same as I entered in my Purchase Order, however, when I post the "planned delivery costs" the exchange rate changes to the sugg

  • MTO(Diff between complex make to order and sales order based mass prod)

    Hi We are using MTO...Can anyone tell me what is the Diff between complex make to order and sales order based mass prod in finance perspective?

  • .mov files appear as Unix after recovery, adding extension doesn't work

    (Also posted in Quicktime forum) Whilst backing up (with Synchronise X) a drive, I accidentally clicked to allow around 15GB worth of Quicktime files to be deleted, in two folders.  Realising my mistake, I stopped the back up immediately, and recover

  • JDeveloper & Oracle Applications 11i

    Had anyone an experience in using JDeveloper for Oracle Applications 11i development? Especially I'm interested in JRAD issues. Tanx in advance