DBLP data -- Unknown exception from NsSAX2Reader

I was trying to read DBLP data (474 MB, [ http://dblp.uni-trier.de/xml/dblp.xml| http://dblp.uni-trier.de/xml/dblp.xml] , + DTD) into Berkeley DB XML container,
but I receive the following exception:
[java] Exception in thread "main" com.sleepycat.dbxml.XmlException: Error:
Unknown exception during NsSAX2Reader parse File: \dbxml-2.4.13\dbxml\src\dbxml\
nodeStore\NsSAX2Reader.cpp Line: 366, errcode = INTERNAL_ERROR
[java] at com.sleepycat.dbxml.dbxml_javaJNI.XmlContainer_putDocumentInt
ernal__SWIG_0(Native Method)
[java] at com.sleepycat.dbxml.XmlContainer.putDocumentInternal(XmlConta
iner.java:884)
[java] at com.sleepycat.dbxml.XmlContainer.putDocument(XmlContainer.jav
a:103)
[java] at com.sleepycat.dbxml.XmlContainer.putDocument(XmlContainer.jav
a:54)
[java] at it.unimore.ir.search.benchmark.tc.Test.main(Unknown Source)
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 1 minute 42 seconds
What could be the reason ?
Below I attach isolated sample application causing the problem.
TIA,
Maciej
public class Test {
public static void main(String[] args) throws DatabaseException, IOException {
EnvironmentConfig config = new EnvironmentConfig();
config.setCacheSize(50 * 1024 * 1024); // 50MB
config.setAllowCreate(true);
config.setInitializeCache(true);
config.setTransactional(false);
config.setInitializeLocking(true);
config.setInitializeLogging(true);
config.setErrorStream(System.err);
Environment dbEnv = new Environment(new File("db/"), config);
// setup manager
XmlManagerConfig mgrConfig = new XmlManagerConfig();
mgrConfig.setAllowExternalAccess(true);
XmlManager mgr = new XmlManager(dbEnv, mgrConfig);
// setup container
XmlContainer openedContainer = mgr.createContainer("test.dbxml");
// put document from file to container
URL url = new URL("file:etc/data/dblp/dblp.xml");
XmlInputStream stream = mgr.createInputStream(url.openStream());
XmlDocument xmlDoc = mgr.createDocument();
xmlDoc.setName(url.getFile());
xmlDoc.setContentAsXmlInputStream(stream);
openedContainer.putDocument(xmlDoc);
}

Hi,
I can try with the reader-2-writer approach. I've taken a look at your suggestion and it looks I only have to write kind of a reader (parser), as the writer for the container is already given, and EventReaderToWriter class I have from the example you told, me, am I right ?
If so, the reader should override com.sleepycat.dbxml.XmlEventReader class and work as standard SAX parser. The XmlEventReader class uses native reader. Do you have or suggest me some documentation about functionality and arguments of functions from this class like the one below:
public void setExpandEntities(boolean value) throws XmlException {
dbxml_javaJNI.XmlEventReader_setExpandEntities(swigCPtr, this, value);
Thank you,
Maciej
ps. The code descibing the idea comes below. Is that what you mean ?
// setup container
XmlContainerConfig cc = new XmlContainerConfig();
cc.setNodeContainer(true);
XmlContainer openedContainer = mgr.createContainer("test.dbxml", cc);
// prepare empty document
XmlDocument xmlDoc = mgr.createDocument();
xmlDoc.setName("some name");          
// get an XmlEventWriter to create the new content
XmlEventWriter writer = openedContainer.putDocumentAsEventWriter(xmlDoc);
// get XmlEventReader to read existing document
XmlEventReader reader = null; // TODO should I write some event-based parser here ?
// copy
EventReaderToWriter r2w = new EventReaderToWriter(reader, writer);
r2w.start();
// clean up (EventReaderToWriter does not close its arguments)
writer.close();
reader.close();

Similar Messages

  • Unknown exception during NsSAX2Reader parse

    Hello!
    I'm using java API for Berkeley DB XML 2.4.13 under Windows XP SP2.
    I have the following peace of code:
    documentConfig = new XmlDocumentConfig();
    XmlResults results = xmlContainer.getAllDocuments(documentConfig);
    while(results.hasNext()) {
    XmlDocument doc = results.next().asDocument();
    After the line "XmlDocument doc = results.next().asDocument()" I get an exception:
    com.sleepycat.dbxml.XmlException: Error: Unknown exception during NsSAX2Reader parse File: \dbxml-2.4.13\dbxml\src\dbxml\nodeStore\NsSAX2Reader.cpp Line: 366, errcode = INTERNAL_ERROR
         at com.sleepycat.dbxml.dbxml_javaJNI.XmlResults_nextInternal(Native Method)
         at com.sleepycat.dbxml.XmlResults.nextInternal(XmlResults.java:162)
         at com.sleepycat.dbxml.XmlResults.next(XmlResults.java:47)
    .... (exceptions in my code)
    Does anybody know how to figure out what is the reason of this error?
    Additional information:
    I added documents to the container via C++ API
    The container has WholeDoc type
    Thanks in advance
    Vyacheslav

    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE omdoc PUBLIC "-//OMDoc//DTD OMDoc V1.2//EN"
    "../../dtd/omdoc.dtd" []>
    <omdoc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://www.mathweb.org/omdoc"
    xml:id="alg1-omdoc">
    <metadata>
    <dc:title>The OpenMath Content Dictionary alg1.ocd in OMDoc form</dc:title>
    <dc:creator role="trl">Michael Kohlhase</dc:creator>
    <dc:creator role="ant">The OpenMath Society</dc:creator>
    <dc:date> 2001-03-12T00:00:00</dc:date>
    <dc:source>Derived from the OpenMath CD http://www.openmath.org/cd/alg1.ocd.</dc:source>
    <dc:type>Text</dc:type>
    <dc:format>application/omdoc+xml</dc:format>
    <dc:rights>Copyright (c) 2000-2002 Michael Kohlhase;
    This OMDoc content dictionary is released under the OpenMath license:
    http://monet.nag.co.uk/openmath/cdfiles/license.html
    </dc:rights>
    <dc:description>
    A CD of basic algebraic concepts
    At present this CD only holds definitions of zero and one. They are
    deliberately defined here without specifying any particular structure
    (e.g. a group) to which they correspond.
    </dc:description>
    </metadata>
    <theory xml:id="alg1">
    <imports xml:id="alg1-imports-quant1" from="quant1.omdoc#quant1"/>
    <imports xml:id="alg1-imports-relation1" from="relation1.omdoc#relation1"/>
    <imports xml:id="alg1-imports-arith1" from="arith1.omdoc#arith1"/>
    <imports xml:id="alg1-imports-logic1" from="logic1.omdoc#logic1"/>
    <imports xml:id="alg1-imports-set1" from="set1.omdoc#set1"/>
    <imports xml:id="alg1-imports-setname1" from="setname1.omdoc#setname1"/>
    <symbol name="zero" xml:id="zero">
    <metadata>
    <dc:description>This symbol represents the additive identity element.</dc:description><dc:subject>zero</dc:subject></metadata>
    <type system="sts.omdoc#sts">
    <OMOBJ xmlns="http://www.openmath.org/OpenMath"><OMV name="AbelianMonoid"/></OMOBJ>
    </type>
    </symbol>
    <presentation xml:id="pr-zero" for="#zero">
    <use format="default">0</use>
    <use format="cmml" element="zero"/>
    </presentation>
    <assertion xml:id="zero-prop-1" type="lemma">
    <CMP> for all a | a + 0 = a </CMP>
    <FMP>
    <OMOBJ xmlns="http://www.openmath.org/OpenMath">
    <OMBIND>
         <OMS cd="quant1" name="forall"/>
         <OMBVAR>
         <OMV name="a"/>
         </OMBVAR>
         <OMA>
         <OMS cd="relation1" name="eq"/>
         <OMA>
         <OMS cd="arith1" name="plus"/>
         <OMV name="a"/>
         <OMS cd="alg1" name="zero"/>
         </OMA>
         <OMV name="a"/>
         </OMA>
    </OMBIND>
    </OMOBJ>
    </FMP>
    </assertion>
    <assertion xml:id="zero-prop-3" type="lemma">
    <CMP> for all a | 0 * a = 0 </CMP>
    <FMP>
    <OMOBJ xmlns="http://www.openmath.org/OpenMath">
    <OMBIND>
         <OMS cd="quant1" name="forall"/>
         <OMBVAR>
         <OMV name="a"/>
         </OMBVAR>
         <OMA>
         <OMS cd="relation1" name="eq"/>
         <OMA>
         <OMS cd="arith1" name="times"/>
         <OMS cd="alg1" name="zero"/>
         <OMV name="a"/>
         </OMA>
         <OMS cd="alg1" name="zero"/>
         </OMA>
    </OMBIND>
    </OMOBJ>
    </FMP>
    </assertion>
    <assertion xml:id="zero-prop-5" type="lemma">
    <CMP>The zero of the integers is 0</CMP>
    <FMP>
    <OMOBJ xmlns="http://www.openmath.org/OpenMath">
    <OMBIND>
         <OMS cd="quant1" name="forall"/>
         <OMBVAR>
         <OMV name="x"/>
         </OMBVAR>
         <OMA>
         <OMS cd="logic1" name="implies"/>
         <OMA>
         <OMS cd="logic1" name="and"/>
         <OMA>
         <OMS cd="set1" name="in"/>
         <OMV name="x"/>
         <OMS cd="setname1" name="Z"/>
         </OMA>
         <OMA>
         <OMS cd="relation1" name="eq"/>
         <OMV name="x"/>
         <OMS cd="alg1" name="zero"/>
         </OMA>
         </OMA>
         <OMA>
         <OMS cd="relation1" name="eq"/>
         <OMV name="x"/>
         <OMI>0</OMI>
         </OMA>
         </OMA>
    </OMBIND>
    </OMOBJ>
    </FMP>
    </assertion>
    <symbol name="one" xml:id="one">
    <metadata>
    <dc:description>This symbol represents the multiplicative identity element.</dc:description><dc:subject>one</dc:subject></metadata>
    <type system="sts.omdoc#sts">
    <OMOBJ xmlns="http://www.openmath.org/OpenMath">
    <OMV name="Monoid"/>
    </OMOBJ>
    </type>
    </symbol>
    <presentation xml:id="pr-one" for="#one">
    <use format="default">1</use>
    <use format="cmml" element="one"/>
    </presentation>
    <assertion xml:id="one-prop-1" type="lemma">
    <CMP> for all a | 1 * a = a </CMP>
    <FMP>
    <OMOBJ xmlns="http://www.openmath.org/OpenMath">
    <OMBIND>
         <OMS cd="quant1" name="forall"/>
         <OMBVAR>
         <OMV name="a"/>
         </OMBVAR>
         <OMA>
         <OMS cd="relation1" name="eq"/>
         <OMA>
         <OMS cd="arith1" name="times"/>
         <OMS cd="alg1" name="one"/>
         <OMV name="a"/>
         </OMA>
         <OMV name="a"/>
         </OMA>
    </OMBIND>
    </OMOBJ>
    </FMP>
    </assertion>
    <assertion xml:id="one-prop-3" type="lemma">
    <CMP> for all a | a * 1 = a </CMP>
    <FMP>
    <OMOBJ xmlns="http://www.openmath.org/OpenMath">
    <OMBIND>
         <OMS cd="quant1" name="forall"/>
         <OMBVAR>
         <OMV name="a"/>
         </OMBVAR>
         <OMA>
         <OMS cd="relation1" name="eq"/>
         <OMA>
         <OMS cd="arith1" name="times"/>
         <OMV name="a"/>
         <OMS cd="alg1" name="one"/>
         </OMA>
         <OMV name="a"/>
         </OMA>
    </OMBIND>
    </OMOBJ>
    </FMP>
    </assertion>
    <assertion xml:id="one-prop-5" type="lemma">
    <CMP>The one of the integers is 1</CMP>
    <FMP>
    <OMOBJ xmlns="http://www.openmath.org/OpenMath">
    <OMBIND>
         <OMS cd="quant1" name="forall"/>
         <OMBVAR>
         <OMV name="x"/>
         </OMBVAR>
         <OMA>
         <OMS cd="logic1" name="implies"/>
         <OMA>
         <OMS cd="logic1" name="and"/>
         <OMA>
         <OMS cd="set1" name="in"/>
         <OMV name="x"/>
         <OMS cd="setname1" name="Z"/>
         </OMA>
         <OMA>
         <OMS cd="relation1" name="eq"/>
         <OMV name="x"/>
         <OMS cd="alg1" name="one"/>
         </OMA>
         </OMA>
         <OMA>
         <OMS cd="relation1" name="eq"/>
         <OMV name="x"/>
         <OMI>1</OMI>
         </OMA>
         </OMA>
    </OMBIND>
    </OMOBJ>
    </FMP>
    </assertion>
    </theory>
    </omdoc>

  • Receive the following error message when trying to approve or reject from Pending "The service threw an unknown exception. See inner exception for details"

    Hi, The server agent was grayed out.  I uninstall it from control panel and removed it from agent managed.  When I tried to install the agent, it failed.  I installed the agent manaully and tried to approve it received the error message
    "The service threw an unknown exception. See inner exception for details"  I have the details but does not tell me much (I can post it).  I removed it from control panel (while still showin in pending),
    and tried to reject it.  Again, received the same error message as above.  This a very critical server, could someone help me with this issue?  Thanks, Ziba

    Thank you Alexey, please see the following details:
    Date: 8/19/2010 7:28:51 AM
    Application: System Center Operations Manager 2007 R2
    Application Version: 6.1.7221.0
    Severity: Error
    Message:
    Microsoft.EnterpriseManagement.Common.UnknownServiceException: The service threw an unknown exception. See inner exception for details. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]:
    Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
    Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException: Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown.
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DataAccessUtility.GetManagedEntityKeyValuePairs(IList`1 baseManagedEntityIds, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.DiscoveryDataManager.DeleteUserActionManagersByAgentPendingActionId(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessTieringWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessExceptionTracingWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at ...).
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.DataAbstractionLayer.SdkDataAbstractionLayer.HandleIndigoExceptions(Exception ex)
       at Microsoft.EnterpriseManagement.DataAbstractionLayer.AdministrationOperations.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Administration.ManagementGroupAdministration.RejectAgentPendingActions(IList`1 monitoringObjects)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Views.PendingManagementView.<>c__DisplayClass8.<OnRejctAgent>b__7(Object , ConsoleJobEventArgs )
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
    System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true,
    whose value is:
    Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException: Exception of type 'Microsoft.EnterpriseManagement.Common.DataItemDoesNotExistException' was thrown.
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DataAccessUtility.GetManagedEntityKeyValuePairs(IList`1 baseManagedEntityIds, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.DiscoveryDataManager.DeleteUserActionManagersByAgentPendingActionId(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccess.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessTieringWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at Microsoft.EnterpriseManagement.Mom.ServiceDataLayer.SdkDataAccessExceptionTracingWrapper.RejectAgentPendingActions(IList`1 agentPendingActionIds)
       at ...).

  • FIM CM Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E)

    Hi,
    I am trying to install FIM Certificate management 2010. I am not able to access the CM Web portal. Whenever I login it shows the following error
    Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E)
    This is the CM Log
    1) Exception Information
    Exception Type: System.Runtime.InteropServices.COMException
    ErrorCode: -2147023570
    Message: Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E)
    Data: System.Collections.ListDictionaryInternal
    TargetSite: Void ThrowExceptionForHRInternal(Int32, IntPtr)
    HelpLink: NULL
    Source: mscorlib
    StackTrace Information
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at Microsoft.Clm.Security.Principal.LoggedOnUser.Logon(String userName, String password)
    "2014-04-16 02:48:50.98 -07" "Microsoft.Clm.Security.Principal.RevertToSelfContext"
    "Microsoft.Clm.Security.Principal.RevertToSelfContext RevertIfImpersonating()"
    "PCEDOMAIN\Administrator" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Reverting to the process identity
    "2014-04-16 02:48:50.99 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Checking if PCEDOMAIN\Administrator is authenticated
    "2014-04-16 02:48:50.99 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    True (is authenticated) PCEDOMAIN\Administrator
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.GlobalASAX"
    "Boolean DoesResxFileExist(System.Globalization.CultureInfo)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    DoesResxFileExist
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.GlobalASAX"
    "Boolean DoesResxFileExist(System.Globalization.CultureInfo)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Resx exists [C:\Program Files\Microsoft Forefront Identity Manager\2010\Certificate Management\web\App_GlobalResources\WebResources.en-US.resx] for culture: en-US? False
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.GlobalASAX"
    "Boolean DoesResxFileExist(System.Globalization.CultureInfo)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    DoesResxFileExist
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.GlobalASAX"
    "Boolean DoesResxFileExist(System.Globalization.CultureInfo)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Resx exists [C:\Program Files\Microsoft Forefront Identity Manager\2010\Certificate Management\web\App_GlobalResources\WebResources.en.resx] for culture: en? True
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.GlobalASAX"
    "Void Application_BeginRequest(System.Object, System.EventArgs)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Web UiCulture: en-US. Web Culture: en-US
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.Authentication.CustomAuthenticationConfiguration"
    "Microsoft.Clm.Web.Authentication.FilteredApplication MapPathToApplication(System.String)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Mapping path: [error.aspx]
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.Authentication.CustomAuthenticationConfiguration"
    "Microsoft.Clm.Web.Authentication.FilteredApplication MapPathToApplication(System.String)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Path: [error.aspx] was not found in the configuration section.
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.Authentication.CustomAuthenticationModule"
    "Void OnAuthenticate(System.Object, System.EventArgs)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Path: [error.aspx], filtered: False
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.Authentication.CustomAuthenticationModule"
    "Void OnAuthenticate(System.Object, System.EventArgs)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Builtin Principal: System.Security.Principal.WindowsPrincipal, Identity: System.Security.Principal.WindowsIdentity
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.Authentication.CustomAuthenticationModule"
    "Void OnAuthenticate(System.Object, System.EventArgs)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Builtin Identity Details:
    Name: PCEDOMAIN\Administrator
     IsAuthenticated: True
     AuthenticationType: Negotiate
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Checking if PCEDOMAIN\Administrator is authenticated
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    True (is authenticated) PCEDOMAIN\Administrator
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.Web.Authentication.CustomAuthenticationModule"
    "Void OnAuthenticate(System.Object, System.EventArgs)"
    "" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Custom Identity Details:
    Name: PCEDOMAIN\Administrator
     IsAuthenticated: True
     AuthenticationType: Negotiate
    Ticket: 
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "PCEDOMAIN\Administrator" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Checking if PCEDOMAIN\Administrator is authenticated
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "PCEDOMAIN\Administrator" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    True (is authenticated) PCEDOMAIN\Administrator
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "PCEDOMAIN\Administrator" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Checking if PCEDOMAIN\Administrator is authenticated
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "PCEDOMAIN\Administrator" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    True (is authenticated) PCEDOMAIN\Administrator
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "PCEDOMAIN\Administrator" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Checking if PCEDOMAIN\Administrator is authenticated
    "2014-04-16 02:48:51.01 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "PCEDOMAIN\Administrator" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    True (is authenticated) PCEDOMAIN\Administrator
    "2014-04-16 02:48:51.03 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "PCEDOMAIN\Administrator" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    Checking if PCEDOMAIN\Administrator is authenticated
    "2014-04-16 02:48:51.03 -07" "Microsoft.Clm.BusinessLayer.UserIdentity"
    "Boolean get_IsAuthenticated()"
    "PCEDOMAIN\Administrator" "PCEDOMAIN\clmWebPool"
    0x000014F8 0x00000004
    True (is authenticated) PCEDOMAIN\Administrator
    Thanks

    On Wed, 16 Apr 2014 10:15:55 +0000, Priyesh92 wrote:
    I am trying to install FIM Certificate management 2010. I am not able to access the CM Web portal. Whenever I login it shows the following error
    Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E)
    1. Make sure that you've got all of the required Kerberos delegation
    settings and SPNs setup correctly.
    2. Make sure that you've added the portal to Trusted Sites in IE and that
    you configure the security settings to for Trusted Sites to log on
    automatically.
    3. Make sure that you have the password for the CLMWebPool account set
    correctly.
    Paul Adare - FIM CM MVP
    But these are not inherent flaws in [NT]. They are the result of deliberate
    and well-thought-out efforts. -- M$ Spokesweenie

  • No more data to read from socket Exception -thin client

    my program is ..
    import java.sql.*;
    class OracleSQL
         OracleSQL()
         public static void connect2DB()
         try
              Class.forName("oracle.jdbc.driver.OracleDriver");
              Connection con=DriverManager.getConnection("jdbc:oracle:thin:@POOJAK:1521:PLSExtProc","System","pooja");
              if(con!=null)
                   Statement stmt=con.createStatement();
                   stmt.executeUpdate("insert into emp values('a',8,8)");
                   stmt.close();
                   con.close();
              else
                   System.out.println("NOT ok");
         catch(Exception e)
              e.printStackTrace();
         public static void main(String args[])
              OracleSQL osql=new OracleSQL();
              osql.connect2DB();
    following error on execution..
    java.sql.SQLException: No more data to read from socket
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :208)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1118)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1070)
    at oracle.jdbc.driver.T4C8TTIpro.receive(T4C8TTIpro.java:131)
    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:867)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    420)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at
    oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at OracleSQL.connect2DB(OracleSQL.java:15)
    at OracleSQL.main(OracleSQL.java:38)
    classpath
    C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\oraclexe\app\oracle\product\10.2.0\server\jlib\orai18n.jar ;C:\bea\weblogic81\server\lib\weblogic.jar;
    path
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN;
    i m using jdk 1.5
    Plz state reason of error as i hv tried many alternatives but in vain.

    When you post code, please use[code] and [/code] tags as described in Formatting tips on the message entry page. It makes it much easier to read.
    Google:
    User StuDerby posted:
    Well, lot's of things could be causing this. Off the top of my head, in rough order of likelihood:
    1) firewall - personal, on your box, or general, around the database, is reaping long-lived connections
    2) connection wrappers on the database - ditto
    3) your pooler is configured to terminate connections that are checked out of the pool for too long and you're exceeding that time for some operations
    4) your database or it's listener is crashing out from under you (and possibly being auto-restarted by the time you look at it).

  • "No more data to read from socket" exception when testing connections

    Hi,
    I will appriciate your help with the following problem.
    We have the follwoing errors in the weblogic.log (We are using weblogic 8.1.0.2 and Oracle 9.2.0.3)
    ####<Dec 20, 2006 10:47:49 AM EET> <Info> <JDBC> <ep> <mfserver> <Thread-14> <<WLS Kernel>> <> <BEA-001128> <Connection for pool "oraclePool" closed.>
    ####<Dec 20, 2006 10:47:49 AM EET> <Info> <JDBC> <ep > <mfserver> <Thread-14> <<WLS Kernel>> <> <BEA-001067> <Connection for pool "oraclePool" refreshed.>
    ####<Dec 20, 2006 10:47:51 AM EET> <Error> <JDBC> <ep > <mfserver> <Thread-14> <<WLS Kernel>> <> <BEA-001112> <Test "select count(*) from DUAL" set up for pool "oraclePool" failed with exception: "java.sql.SQLException: No more data to read from socket".>
    ####<Dec 20, 2006 10:47:51 AM EET> <Error> <JDBC> <ep > <mfserver> <Thread-14> <<WLS Kernel>> <> <BEA-001131> <Received an exception when closing a cached statement for the pool "oraclePool": java.sql.SQLException: Io exception: Broken pipe.>
    These exception occures every hour after the connection pool is being closed and refreshed.
    Also there are a lot of the follwoing warnning in the log :
    <BEA-001074><A JDBC pool connection leak was detected.
    Does these two problems connected? What can we do in order to solve it?
    Thanks
    Edited by RF123 at 01/28/2007 3:41 AM

    R F wrote:
    Hi,
    I will appriciate your help with the following problem.
    We have the follwoing errors in the weblogic.log (We are using weblogic 8.1.0.2 and Oracle 9.2.0.3)
    ####<Dec 20, 2006 10:47:49 AM EET> <Info> <JDBC> <ep> <mfserver> <Thread-14> <<WLS Kernel>
    <> <BEA-001128> <Connection for pool "oraclePool" closed.>
    ####<Dec 20, 2006 10:47:49 AM EET> <Info> <JDBC> <ep > <mfserver> <Thread-14> <<WLS Kernel>
    <> <BEA-001067> <Connection for pool "oraclePool" refreshed.>
    ####<Dec 20, 2006 10:47:51 AM EET> <Error> <JDBC> <ep > <mfserver> <Thread-14> <<WLS Kernel>
    <> <BEA-001112> <Test "select count(*) from DUAL" set up for pool "oraclePool" failed with exception:
    "java.sql.SQLException: No more data to read from socket".>
    ####<Dec 20, 2006 10:47:51 AM EET> <Error> <JDBC> <ep > <mfserver> <Thread-14> <<WLS Kernel>
    <> <BEA-001131> <Received an exception when closing a cached statement for the pool "oraclePool":
    java.sql.SQLException: Io exception: Broken pipe.>
    These exception occures every hour after the connection pool is being closed and refreshed.
    Also there are a lot of the follwoing warnning in the log :
    <BEA-001074><A JDBC pool connection leak was detected.
    Does these two problems connected? What can we do in order to solve it?Hi. The problems are not directly related, but may have the same cause.
    Something is killing your DBMS connections out from under the driver.
    Do you have a firewall between WLS and the DBMS, or a flakey network?
    Contact BEA support to get the 8.1sp2 patch for getting meaningful
    connection leak traces (CR209251_81sp2.jar). When that patch is installed
    the leak messages should show a full stack trace of the application code
    where the connection was obtained. It is that application code that
    somehow failed to close the pool connection, causing a pool leak. I
    suspect that the application code got an unexpected exception, such as
    when/if the DBMS/network/firewall killed a connection. In this case I
    believe the application went through an exception-handling path that
    forgot to close the connection.
    Joe

  • PL-SQL JDBC -- No more data to read from socket Exception

    I have a PL/SQL stored procedure which takes CURSOR as IN parameter.
    I want to execute this procedure by passing a ResultSet object into it.
    Below attached is the piece of code I am using.
    When I execute I am getting the following exception ,
    Thanks in advance
    java.sql.SQLException: No more data to read from socket
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:857)
    at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:731)
    at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:690)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:373)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.ja
    va:1446)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav
    a:1371)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1900)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
    edStatement.java:363)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
    ement.java:407)
    at ECTTestClass.test16(ECTTestClass.java:500)
    at ECTTestClass.main(ECTTestClass.java:51)
    Statement st = con.createStatement();
    String qry = "SELECT * FROM TAB1";
    ResultSet rs = st.executeQuery(qry);
    int cntr = 0;
    while(rs.next()){
    System.out.println("USER ID " + rs.getString("USER_ID"));
    System.out.println("LICENSE " + rs.getString("LICENSE"));
    cntr++;
    System.out.println("No of rows " + cntr);
    CallableStatement cst = con.prepareCall("{call PREM_TEMP.PREM_PROC(?)}");
    cst.setObject(1,rs,OracleTypes.CURSOR);
    System.out.println("set object...... successful");
    cst.execute();
    st.close();
    cst.close();
    con.close();

    I have a PL/SQL stored procedure which takes CURSOR as IN parameter.
    I want to execute this procedure by passing a ResultSet object into it.
    Below attached is the piece of code I am using.
    When I execute I am getting the following exception ,
    Thanks in advance
    java.sql.SQLException: No more data to read from socket
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:857)
    at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:731)
    at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:690)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:373)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.ja
    va:1446)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav
    a:1371)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1900)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
    edStatement.java:363)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
    ement.java:407)
    at ECTTestClass.test16(ECTTestClass.java:500)
    at ECTTestClass.main(ECTTestClass.java:51)
    Statement st = con.createStatement();
    String qry = "SELECT * FROM TAB1";
    ResultSet rs = st.executeQuery(qry);
    int cntr = 0;
    while(rs.next()){
    System.out.println("USER ID " + rs.getString("USER_ID"));
    System.out.println("LICENSE " + rs.getString("LICENSE"));
    cntr++;
    System.out.println("No of rows " + cntr);
    CallableStatement cst = con.prepareCall("{call PREM_TEMP.PREM_PROC(?)}");
    cst.setObject(1,rs,OracleTypes.CURSOR);
    System.out.println("set object...... successful");
    cst.execute();
    st.close();
    cst.close();
    con.close();

  • Receive 'runtime error: Unknown exception' w/99% processed when creating DVD from movie

    Hi,
    I have tried several times to create a DVD of a movie with several Scene (w/Stop) Markers only to receive 'runtime error: Unknown exception' with 99% completion.
    I'm using Adobe Premiere Element 11 ver 11.0 (20120901.B261.425551).
    I'm running Windows 7 Ultimate w/SP1 on a Dell XPS M1530 w/4GB Memory
    I have created DVDs in the past with little or no problems.
    Would appreciate any help with my problem.
    Thanks...

    Harry
    Thanks for the additional information.
    Typically, if you are doing a multi movie Timeline and you want the viewer to be able to navigate to a specific movie followed by return to main menu, then:
    Main Menu Marker at beginning of movie 1 and Stop Marker at end of movie 1....then gap of at least 12 frames...Main Menu Marker at beginning of movie 2 and Stop Marker at end of movie 2....and so on. But for the last, remember no Stop Marker at the end of that last Movie on the Timeline.
    With those 25 .mts video clips, are you sure that you want or need all those return to main menu possibilities.... a scene marker at the beginning of each and a stop marker at the end of each for a return to menu after each of the 25 video clips? Especially if these are small video clips.
    Large project...
    Keep in mind that the DVD disc 4.7 GB/120 minutes is in reality 4.3 GB capacity. So as you can tell my the program's lowering of the Bitrate (8.00 to 7.97 Mbps), the program is trying to make the fit by lowering the bitrate. Depending on how your troubleshooting goes, you may want to start thinking about DVD Double Layer Disc (8.5 GB/240 min) if your project gets much larger. In the case of the DVD double layer, 8.5 GB is in reality 7.3 GB. Typically, lower the Bitrate, the lesser is the Quality of the end product. So you do not want to force the program to lower the Bitrate to low to make the fit.
    As for the Timeline - + slider to which I referred...
    In the above screenshot, please note in the right side of the Premiere Elements 11 Timeline (Expert view)...from left to right at that location,
    the Render Button
    the icon named "Fit to Visible Timeline
    the icon named Zoom Out ( - ) which is related to the slider to its right
    the icon named Zoom In ( +) which is related to the slider to its left
    That slider is moved by either of those icons or by moving the circular button of the slider with the mouse curser.
    We will be watching for further developments.
    Thanks.
    ATR

  • SQL Exception "No more data to read from socket"

    I am running an application that uses a servlet which accesses oracle database 7.3 thru jdbc thin driver 7.3.4.
    It executes some queries and at some or the other point of time while exceuting a query it gives the exception " No more data to read from socket" .
    What is the problem and how should I solve it?

    I am running an application that uses a servlet which accesses oracle database 7.3 thru jdbc thin driver 7.3.4.
    It executes some queries and at some or the other point of time while exceuting a query it gives the exception " No more data to read from socket" .
    What is the problem and how should I solve it?

  • BIB-10310 An unknown Exception Occurred

    Hi ,
    I have developed reports and given the BA,Wokbookbook acces to the USER_Role which is given to the users.
    Now users are able to login and see other workbooks in Discoverer Viewer except 1 report.
    The error message tehy see is as follows :
    Oracle BI Discoverer was unable to find the worksheet that was requested.
    BIB - 10310 An unknown exception occurred.
    L_APPLICANT_V 4.Last_Name
    The report is built based on custom view Report_Cus_V, which join multiple views inside.(One of those multiple views is L_APPLICANT_V ).
    The query is working fine when ran from Toad, I am able to access the report in Discoverer Plus & Viewer.
    Could you please help to solve this issue.?
    I am into production support and this is a high priority issue...All suggestions are very much appreciated.
    Thanks,
    Vj

    Hi All,
    Thanks for your help.
    I had raised an SR for this issue and was discussing with them for last few weeks. Though they said that some of the properties could have been changed as part of EBS upgrade, I have not been provided with the list of such changes. When requested I was told that I can find the change by comparing eex files before and after upgrade.
    As an alternative we are planning to write some scripts which picks up data from the following tables:
    EUL4_US.EUL5_BAS - Business Areas
    EUL4_US.eul5_objs - Folders in Business Areas
    EUL4_US.eul5_ba_obj_links - Link between business areas and folders
    EUL4_US.eul5_expressions - Item's under a folder
    But I have a small question, what does exp_type in the expressions table denote... I was trying to google and learnt that it could be one of these :
    'CI' , 'CO' , 'JP' , 'FIL' , 'PAR'
    But not sure what each of them denotes? Please suggest.

  • Exception from HRESULT: 0x80131904 - Error when creating a team site

    Hi,
    I am a SharePoint Administrator. I have a SharePoint 2010 site collection that had been migrated successfully from MOSS 2007 2 years ago. This site collection has some custom solutions and is very large (~200GB).
    Everything works fine but since last week, I can NOT create any team site as subsite in this site collection. Error message is Exception from HRESULT: 0x80131904 
    I checked SP log and found some errors from SQL Server side:
    05.22.2014 08:30:33.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880k High at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.Library.SPRequest.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.SPField.set_SchemaXml(String value) at Microsoft.SharePoint.SPList.FixFieldsFromColumnTemplate() at Microsoft.SharePoint.SPWeb.SyncNewLists() at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.CreateSite() at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.RenderControl(HtmlTextWriter writer) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderWebPart(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderZoneCell(HtmlTextWriter output, Boolean bMoreParts, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderWebParts(HtmlTextWriter output, ArrayList webParts) at Microsoft.SharePoint.WebPartPages.WebPartZone.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryPage.Render(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP._layouts_addgallery_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Incorrect syntax near 'FC7D0500'.' Source: '.Net SqlClient Data Provider' Number: 102 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'.' Source: '.Net SqlClient Data Provider' Number: 105 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 5586 Critical Unknown SQL Exception 102 occurred. Additional error information from SQL Server is included below. Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzku High ConnectionString: 'Data Source=ch01sw0482;Initial Catalog=SharePoint_Collaboration_GRDRO;Integrated Security=True;Enlist=False;Connect Timeout=15' ConnectionState: Closed ConnectionTimeout: 15 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzkv High SqlCommand: 'BEGIN TRAN;UPDATE AllUserData SET nvarchar3 = REPLACE(nvarchar3, ''', '') WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET float2 = CASE WHEN ISNUMERIC(nvarchar3) = 1 AND nvarchar3 != '$' AND nvarchar3 != '.' AND nvarchar3 != ',' AND nvarchar3 != '+' AND nvarchar3 != '-' THEN nvarchar3 ELSE NULL END WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET nvarchar3 = NULL WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; COMMIT TRAN' CommandType: Text CommandTimeout: 0 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    I also checked my SQL Server. The tempdb is ok. The content database is fine, have enough free space for data files and log file. 
    Here is log entries that are related to this error:
    05.22.2014 08:30:12.20 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://siteurl/_layouts/AddGallery.aspx) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:12.20 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/siteurl 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:12.22 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 90hv Unexpected Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before. Stack trace: at Microsoft.SharePoint.WebControls.ScriptLink.SharePointClientJs_Register(Page page) at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language) at Microsoft.SharePoint.WebControls.ScriptLink.Register(Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strKey, String strFile, Boolean localizable) at Microsoft.SharePoint.WebControls.ScriptLink.RegisterCore(Page page, Boolean defer) at Microsoft.SharePoint.WebPartPages.SPWebPartManager.RegisterOWSScript(Page page, SPWeb web) at Microsoft.SharePoint.WebPartPages.WebPartPage.FormOnLoad(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP._layouts_addgallery_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:12.70 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Fields 88y1 Medium No document templates uploaded for list "$Resources:core,MasterPageGallery;" -- none found for list template "100". 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.08 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Creating Web test). Execution Time=4832.14849932044 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.37 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 85m6 Medium Applying web template 'STS#0' on web url 'http://siteurl/test' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.37 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 85m7 Medium Actual web template to apply to Url 'http://siteurl/test' is 'STS#0' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.37 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72h7 Medium Applying template "STS#0" to web at URL "http://siteurl/test". 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.86 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8l1c Medium Preparing 21 features for activation 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.87 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8l1d Medium Feature Activation: Batch Activating Features at URL http://siteurl/test 'AnnouncementsList' (ID: '00bfea71-d1ce-42de-9c63-a44004ce0104'), 'ContactsList' (ID: '00bfea71-7e6d-4186-9ba8-c047ac750105'), 'CustomList' (ID: '00bfea71-de22-43b2-a848-c05709900100'), 'DataSourceLibrary' (ID: '00bfea71-f381-423d-b9d1-da7a54c50110'), 'DiscussionsList' (ID: '00bfea71-6a49-43fa-b535-d15c05500108'), 'DocumentLibrary' (ID: '00bfea71-e717-4e80-aa17-d0c71b360101'), 'EventsList' (ID: '00bfea71-ec85-4903-972d-ebe475780106'), 'ExternalList' (ID: '00bfea71-9549-43f8-b978-e47e54a10600'), 'GanttTasksList' (ID: '00bfea71-513d-4ca0-96c2-6a47775c0119'), 'GridList' (ID: '00bfea71-3a1d-41d3-a0ee-651d11570120'), 'IssuesList' (ID: '00bfea71-5932-4f9c-ad71-1557e5751100'), 'LinksList' (ID: '00bfea71-2062-426c-90bf-714c59600103'), 'NoCodeWorkflowLibrary' (ID: '00bfea71-f600-43f6-a895-40c0de7b0117'), 'PictureLibrary' (ID: '00bfea71-52d4-45b3-b544-b1c71b620109'), 'SurveysList' (ID: '00bfea71-eb8a-40b1-80c7-506be7590102'), 'TasksList' (ID: '00bfea71-a83e-497e-9ba0-7a5c597d0107'), 'WebPageLibrary' (ID: '00bfea71-c796-4402-9f2f-0eb9a6e71b18'), 'workflowProcessList' (ID: '00bfea71-2d77-4a75-9fca-76516689e21a'), 'WorkflowHistoryList' (ID: '00bfea71-4ea5-48d4-a4ad-305cf7030140'), 'XmlFormLibrary' (ID: '00bfea71-1e1d-4562-b56a-f05371bb0115'), 'TeamCollab' (ID: '00bfea71-4ea5-48d4-a4ad-7ea5c011abe5'), . 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.94 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8l1f Medium Feature Activation: Batch Activated Features at URL http://siteurl/test 'AnnouncementsList' (ID: '00bfea71-d1ce-42de-9c63-a44004ce0104'), 'ContactsList' (ID: '00bfea71-7e6d-4186-9ba8-c047ac750105'), 'CustomList' (ID: '00bfea71-de22-43b2-a848-c05709900100'), 'DataSourceLibrary' (ID: '00bfea71-f381-423d-b9d1-da7a54c50110'), 'DiscussionsList' (ID: '00bfea71-6a49-43fa-b535-d15c05500108'), 'DocumentLibrary' (ID: '00bfea71-e717-4e80-aa17-d0c71b360101'), 'EventsList' (ID: '00bfea71-ec85-4903-972d-ebe475780106'), 'ExternalList' (ID: '00bfea71-9549-43f8-b978-e47e54a10600'), 'GanttTasksList' (ID: '00bfea71-513d-4ca0-96c2-6a47775c0119'), 'GridList' (ID: '00bfea71-3a1d-41d3-a0ee-651d11570120'), 'IssuesList' (ID: '00bfea71-5932-4f9c-ad71-1557e5751100'), 'LinksList' (ID: '00bfea71-2062-426c-90bf-714c59600103'), 'NoCodeWorkflowLibrary' (ID: '00bfea71-f600-43f6-a895-40c0de7b0117'), 'PictureLibrary' (ID: '00bfea71-52d4-45b3-b544-b1c71b620109'), 'SurveysList' (ID: '00bfea71-eb8a-40b1-80c7-506be7590102'), 'TasksList' (ID: '00bfea71-a83e-497e-9ba0-7a5c597d0107'), 'WebPageLibrary' (ID: '00bfea71-c796-4402-9f2f-0eb9a6e71b18'), 'workflowProcessList' (ID: '00bfea71-2d77-4a75-9fca-76516689e21a'), 'WorkflowHistoryList' (ID: '00bfea71-4ea5-48d4-a4ad-305cf7030140'), 'XmlFormLibrary' (ID: '00bfea71-1e1d-4562-b56a-f05371bb0115'), 'TeamCollab' (ID: '00bfea71-4ea5-48d4-a4ad-7ea5c011abe5'), . 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.95 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:17.97 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72ix Medium Not enough information to determine a list for module "mobile". Assuming no list for this module. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4') at URL http://siteurl/test.). Execution Time=48.2382537445402 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.00 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75fb Medium Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053'). 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:18.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:19.31 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e1f High Failed to find the XML file at location '14\Template\Features\FacetedSearch\feature.xml' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:19.31 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8gru Medium Exception thrown while determining definition for Feature with ID '4ad6146d-6ada-4931-ab81-0e179de7008e': Microsoft.SharePoint.SPException: Failed to find the XML file at location '14\Template\Features\FacetedSearch\feature.xml' at Microsoft.SharePoint.SPXmlDocCache.GetGlobalXmlDocument(String pathTemplateRelativeXml, SPFeatureDefinition featdef) at Microsoft.SharePoint.Administration.SPFarmFeatureDefinitionContext.LoadFileAsXmlDocument(SPFeatureDefinition featdef, String featureRelativePath) at Microsoft.SharePoint.Administration.SPFeatureDefinition.EnsureGlobalDefinition() at Microsoft.SharePoint.Administration.SPFeatureDefinition.EnsureElementManifestList() at Microsoft.SharePoint.Administration.SPFeatureDefinition.GetElementDefinitions(CultureInfo ciElements) at Microsoft.SharePoint.SPElementProvider.QueryForElementsJoinOR[TElementType](List`1 lstdictAttrPatterns, List`1 lstfeatdefsOfInterest, List`1 listofOptionalElementsToQuery, CultureInfo ciElements, Int32 webUIVersion). Skipping this feature for element querying consideration. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:19.31 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Template Cache g09v Medium Caching global fields. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (List Creation: SitePages). Execution Time=2121.04722806949 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72k4 Medium <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:20.17 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8kh7 High <nativehr>0x80070002</nativehr><nativestack></nativestack> 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:21.33 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=261.695550691499 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:21.88 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (List Creation: SiteAssets). Execution Time=1697.65654573416 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:22.41 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72nz Medium Videntityinfo::isFreshToken reported failure. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:26.45 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData#1). Execution Time=3056.27083889153 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.14 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (DocId.ItemChangedInternal). Execution Time=5035.19776954892 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.14 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Event Receiver (Microsoft.Office.DocumentManagement, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, Microsoft.Office.DocumentManagement.Internal.DocIdHandler)). Execution Time=5098.96313637627 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.25 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=86.6235792537878 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.78 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData#1). Execution Time=176.816606579887 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.95 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (DocId.ItemChangedInternal). Execution Time=438.837617630174 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:27.95 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Event Receiver (Microsoft.Office.DocumentManagement, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, Microsoft.Office.DocumentManagement.Internal.DocIdHandler)#2). Execution Time=439.110557347372 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.02 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.02 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053') at URL http://siteurl/test.). Execution Time=10017.3097418806 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'RelatedLinksScopeSettingsLink' (ID: 'e8734bb6-be8e-48a1-b036-5a40ff0b8a81') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'RelatedLinksScopeSettingsLink' (ID: 'e8734bb6-be8e-48a1-b036-5a40ff0b8a81') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.08 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.08 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'BaseWeb' (ID: '99fe402e-89a0-45aa-9163-85342e865dc8') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'BaseWeb' (ID: '99fe402e-89a0-45aa-9163-85342e865dc8') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'ObaSimpleSolution' (ID: 'd250636f-0a26-4019-8425-a5232d592c01') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'ObaSimpleSolution' (ID: 'd250636f-0a26-4019-8425-a5232d592c01') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Feature Infrastructure 8e14 Medium Feature 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d') was already activated at scope 'http://siteurl/test'. No further action necessary for this feature. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668') at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75fb Medium Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668'). 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.11 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 75f8 Medium Feature Activation: Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668') was activated at URL http://siteurl/test. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.11 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668') at URL http://siteurl/test.). Execution Time=17.9978181584531 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.75 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Office Parser ey9c Medium Metadata parse dirty the file, Csi PreserveCellStorageStateInFfm skipped 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:28.75 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Office Parser ey9f Medium Metadata demote dirty the file, Csi PreserveCellStorageStateInFfm skipped 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.06 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72ix Medium Not enough information to determine a list for module "Default". Assuming no list for this module. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.09 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General tkmz Medium The WebPartOrder attribute is unspecified, a default of 1 will be used. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.19 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 72h8 Medium Successfully applied template "STS#0" to web at URL "http://siteurl/test". 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:31.19 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Applying Named Web Template: STS#0). Execution Time=13810.9050172578 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:32.66 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=7.89876925698657 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.03 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880i High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880k High at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.Library.SPRequest.UpdateField(String bstrUrl, String bstrListName, String bstrXML) at Microsoft.SharePoint.SPField.set_SchemaXml(String value) at Microsoft.SharePoint.SPList.FixFieldsFromColumnTemplate() at Microsoft.SharePoint.SPWeb.SyncNewLists() at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.CreateSite() at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.RenderControl(HtmlTextWriter writer) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderWebPart(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderZoneCell(HtmlTextWriter output, Boolean bMoreParts, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderWebParts(HtmlTextWriter output, ArrayList webParts) at Microsoft.SharePoint.WebPartPages.WebPartZone.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryPage.Render(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP._layouts_addgallery_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Incorrect syntax near 'FC7D0500'.' Source: '.Net SqlClient Data Provider' Number: 102 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 880j High SqlError: 'Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'.' Source: '.Net SqlClient Data Provider' Number: 105 State: 1 Class: 15 Procedure: '' LineNumber: 1 Server: 'ch01sw0482' 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database 5586 Critical Unknown SQL Exception 102 occurred. Additional error information from SQL Server is included below. Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzku High ConnectionString: 'Data Source=ch01sw0482;Initial Catalog=SharePoint_Collaboration_GRDRO;Integrated Security=True;Enlist=False;Connect Timeout=15' ConnectionState: Closed ConnectionTimeout: 15 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database tzkv High SqlCommand: 'BEGIN TRAN;UPDATE AllUserData SET nvarchar3 = REPLACE(nvarchar3, ''', '') WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET float2 = CASE WHEN ISNUMERIC(nvarchar3) = 1 AND nvarchar3 != '$' AND nvarchar3 != '.' AND nvarchar3 != ',' AND nvarchar3 != '+' AND nvarchar3 != '-' THEN nvarchar3 ELSE NULL END WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; UPDATE AllUserData SET nvarchar3 = NULL WHERE tp_ListID='FC7D0500-F8BD-4974-9852-A70E754354D2' AND tp_RowOrdinal =0; COMMIT TRAN' CommandType: Text CommandTimeout: 0 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Incorrect syntax near 'FC7D0500'. Unclosed quotation mark after the character string ' AND tp_RowOrdinal =0; COMMIT TRAN'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:33.05 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation General 8e1d High Deleting the web at http://siteurl/test . 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:35.36 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Render WebPart AddGalleryWebPart). Execution Time=23135.9471664695 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:35.36 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Render WebPart Zone g_77836901A6DE4DAC9F882928CFDFC358). Execution Time=23136.0167283831 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    05.22.2014 08:30:35.36 w3wp.exe (0x1ECC) 0x0F08 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://siteurl/_layouts/AddGallery.aspx)). Execution Time=23153.4689464722 554975d7-2bb1-479a-bdce-9bdb99cd3efb
    Any suggestions as how to resolve this issue?
    Best regard,
    Nhat Phan
    Nhat Phan

    Hi,
    Please try creating other sites liike publishing site to check if error persists?
    Refer the links
    http://spdiaries.net/fix-exception-hresult-0x80131904/ 
    if you want to shrink the logs.
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • 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 

  • Throwing an exception from XSLT

    Just wanted to share a finding with the Oracle XDB community and possibly suggest an enhancement to the xdb product development team (care of MDRAKE).
    I had a scenario where I wanted to throw an exception from the XSLT.
    A little Googling revealed this helpful post:
    http://weblogs.asp.net/george_v_reilly/archive/2006/03/01/439402.aspx
    ...so I gave it a shot.
    In my XSLT, I have a <xsl:choose> block with the following <xsl:otherwise> block:
    <xsl:otherwise>
        <xsl:message terminate="yes">Unknown Document Type</xsl:message>                          
    </xsl:otherwise>I used a stub test to run this through, giving it a file which would exercise the exception:
    select xmltype(bfilename('XML_RESOURCES', 'data.xml'),0).transform(xmltype(bfilename('XML_RESOURCES', 'sanitize_xml.dev.xsl'),0))
    from dual;..and to my 'joy', I did get an exception:
    ORA-30998: transformation error: execution of compiled XSLT on XML DOM failedHmm...would of been nicer to get something like what Eclipse/Xalan pops out:
    file:/H:/eclipse_indigo_workspace/XSLT/sanitize_xml.xsl; Line #28; Column #59; Unknown Document Type
    (Location of error unknown)Stylesheet directed termination...i.e. my custom error message "Unknown Document Type" isn't output by Oracle.
    Just to be safe, I tried a file which would NOT exercise this xsl:otherwise block and it did run through OK.
    So, could XDB report a better error?
    Thoughts?

    SQL> VAR XSL VARCHAR2(4000)
    SQL> --
    SQL> begin
      2    :XSL :=
      3  '<?xml version="1.0" encoding="UTF-8"?>
      4  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      5     <xsl:output method="xml" indent="yes"/>
      6     <xsl:template match="/">
      7             <Result>
      8                     <xsl:choose>
      9                             <xsl:when test="Input=''1''">
    10                                     <Output>1</Output>
    11                             </xsl:when>
    12                             <xsl:when test="Input=''2''">
    13                                     <xsl:message>The value is 2</xsl:message>
    14                                     <Output>2</Output>
    15                             </xsl:when>
    16                             <xsl:when test="Input=''3''">
    17                                     <xsl:message terminate="no">The value is 3</xsl:message>
    18                                     <Output>3</Output>
    19                             </xsl:when>
    20                             <xsl:otherwise>
    21                                     <xsl:message terminate="yes">Invalid value</xsl:message>
    22                                     <Output>Bad Input</Output>
    23                             </xsl:otherwise>
    24                     </xsl:choose>
    25             </Result>
    26     </xsl:template>
    27  </xsl:stylesheet>';
    28  end;
    29  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.00
    SQL> select XMLTRANSFORM(XMLTYPE('<Input>1</Input>'),XMLTYPE(:XSL))
      2    from dual
      3  /
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <Result>
      <Output>1</Output>
    </Re
    Elapsed: 00:00:00.01
    SQL> select XMLTRANSFORM(XMLTYPE('<Input>2</Input>'),XMLTYPE(:XSL))
      2    from dual
      3  /
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <Result>
      <Output>2</Output>
    </Re
    Elapsed: 00:00:00.00
    SQL> select XMLTRANSFORM(XMLTYPE('<Input>3</Input>'),XMLTYPE(:XSL))
      2    from dual
      3  /
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <Result>
      <Output>3</Output>
    </Re
    Elapsed: 00:00:00.01
    SQL> select XMLTRANSFORM(XMLTYPE('<Input>4</Input>'),XMLTYPE(:XSL))
      2    from dual
      3  /
    ERROR:
    ORA-30998: transformation error: execution of compiled XSLT on XML DOM failed
    no rows selected
    Elapsed: 00:00:00.01
    SQL>
    SQL>The actuall error is not unreasonalbe. The Execution did fail beacuse you terminated it.. Contacting Oralce Support may be a little excessive...
    Now with respect to message the question is where...
    We 'could' output into the same buffer as is used by DBMS_OUTPUT, but that has limits in terms of the amount of output that can be generated.
    We could write it to the trace file, but that may be difficulat for a developer to get to
    We could write it to a log file in the XDB repository, but where and how to name it...
    We could another parameter to XMLTransform, which would be a Message Buffer
    All of these are in effect enhancements..
    BTW I checked with XML Spy and they seem to ignore message too, so I'm wondering how widely used this is...
    We cannot add it to the output of the XSL since XMLTransform defines the output of the XML to be well formed XML, and adding a random set of text nodes would viloate that rule..

  • Java.sql.SQLException: No more data to read from socket

    Hello,
    we're now facing some strange problem which is probably caused by some malfunctioned connections being present in connection pool. The MGP process is failing for some clients with following error message. During the MGP process, some users are processed without any problems and some encounter this exception. I tried to restart the DB and both OL servers (we have 2 OL servers, on one of them is running MGP), but it didn't help.
    Some time before I restarted the servers, we were also occasionally facing "Server connections exceeded" error message, but I don't think this is relevant...
    We're using 10gR2 OL servers and 10gR2 RDBMS.
    Any ideas what could be wrong?
    <pre>
    Applied Record     Counts:
    Insert Count     = 0
    Update Count     = 0
    Delete Count     = 0
    Composed PubItems
    (<PubItem Name>, <Duration     in Milli Seconds>):
    JPOCZ_C$ALL_CLIENTS,16
    JPOCZ_PA_STATESTOCKSUM,1484
    JPOCZ_PA_MEMOS,31
    JPOCZ_TASKMOTYPES,47
    JPOCZ_PA_VISITDETAILS,16
    JPOCZ_PA_STATESTOCK,859
    JPOCZ_DISTRIBS,47
    JPOCZ_ITEMPRICING,438
    Compose Error:
    java.sql.SQLException: No more data to read from socket
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:985)
         at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:746)
         at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:705)
         at oracle.jdbc.ttc7.Ocommoncall.receive(Ocommoncall.java:108)
         at oracle.jdbc.ttc7.TTC7Protocol.rollback(TTC7Protocol.java:427)
         at oracle.jdbc.driver.OracleConnection.rollback(OracleConnection.java:1410)
         at oracle.lite.sync.JupConnection.rollback(Unknown Source)
         at oracle.lite.sync.MGP$MGPG.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    </pre>

    I'm not using localhost, but the host name. We just today notified some other network problems on this server and discovered there're 2 network cards - one of them which wasn't connected was configured for DHCP and the other one was configured properly with fixed IP address. We disabled the disconnected network card and it looks like the problems with other applications is solved so we'll se if the Mobile Server is also cured...

  • STSADM Restore error : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    Hi all,
    I've been struggling figuring out what permission I need to make this restore work. I've successfully restored site collection on the same web app with the following restore command from the same DAT file before.
    stsadm -o restore -url
    http://siteurl -filename
    \\UNCpath –overwrite\filename.dat
    Log file error:
    stsadm: Running restore
    Initializing the configuration database connection
    Starting restore of site collection: 'http://sitename/', requested by: domain\user, source: \\UNCpath\filename.dat
    Deleting the site at http://sitename and not deleting AD accounts.
    Unknown SPRequest error occurred. More information: 0x80070005
    stsadm: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Callstack:   
    at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)    
    at Microsoft.SharePoint.Library.SPRequest.DeleteSite(String bstrUrl, Boolean bDeleteADAccounts)    
    at Microsoft.SharePoint.SPSite.Delete(Boolean bDeleteADAccounts)    
    at Microsoft.SharePoint.SPSite.Delete()    
    at Microsoft.SharePoint.Administration.SPSiteCollection.Restore(String strSiteUrl, String strFilename, Boolean bOverwrite, Boolean hostHeaderAsSiteName)    
    at Microsoft.SharePoint.StsAdmin.SPAdminRestore.RunSiteCollectionRestore(StringDictionary keyValues)    
    at Microsoft.SharePoint.StsAdmin.SPAdminRestore.Run(StringDictionary keyValues)    
    at Microsoft.SharePoint.StsAdmin.SPStsAdmin....
    ...RunOperation(SPGlobalAdmin globalAdmin, String strOperation, StringDictionary keyValues, SPParamCollection pars)
    Now terminating ULS (STSADM.EXE, Microsoft.Office.Server.Native.dll)
    I've made sure I have rights:
    1. Either primary/ secondary site collection administrator on the associated web app
    2. Made myself owner on the related dbs
    3. I'm part of the local admin group on the server running CA and DB.
    I know I may have given too much privilege - but I'm sick of seeing this access denied error. As far as I'm concerned permission-wise nothing has been changed from my last successful restore except the fact that I'm overwriting the site collection this time.
    I also tried with a fresh DAT file to restore with no luck. 
    If someone can give me some other thoughts I would very much appreciate that.
    Many thanks in advance -
    Blue Sky

    Thanks for your reply...
    Now we are trying to restore the minsite first ...
    Only my content database is at the server2 because of the disk space problem...
    Other data bases are at the server1(original) where the website host ...
    now, we run the stsadm restore for minisite
    at that time error occur,
    No content databases are available for this operation. Create a content database, and then try the operation again. To create a content database, click "Content databases" on the Application Management page, select the Web application to use, and then click
    "Add a content database". Callstack:    at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.FindBestContentDatabaseForSiteCreation(Guid siteIdToAvoid, Guid webIdToAvoid)     at Microsoft.SharePoint.Administration.SPSiteCollection.Restore(String
    strSiteUrl, String strFilename, Boolean bOverwrite, Boolean hostHeaderAsSiteName)     at Microsoft.SharePoint.StsAdmin.SPAdminRestore.RunSiteCollectionRestore(StringDictionary keyValues)     at Microsoft.SharePoint.StsAdmin.SPAdminRestore.Run(StringDictionary
    keyValues)  
    we set
    Central Administration >
    Operations >
    Default Database Server  to server1 (original)
    Central Administration >
    Application Management >
    Content Databases   to server2\WSS_Content
    can we separte the servers like that ??
    Thanks ...
    M

Maybe you are looking for