Event ID 2776 The worker process failed to initialise correctly and therefore could not be started

Hi All,
I'm getting the dreaded 503 Service Unavailable error on a freshly installed instance of SharePoint 2013 Foundation on a 2008 Server.
I get this error when I try opening the Central Administration Console.
It would appear that the worker process for the Central Administration console is crashing.
In the System event log, I see a stack of 5009 Errors:
Event Id 5009, WAS
A process serving application pool 'SharePoint Central Administration V4' has terminated unexpectedly.
Then I get an error:
Event id 5009, WAS
Application pool 'SharePoint Central Administration V4' is being automatically disabled due to a series of failures.
What I see:
In IIS, Both these application pools have stopped:
SharePoint Central Administration v4
SecurityTokenServiceApplicationPool
If I start them up, then try accessing the Central Administration portal in IE, I get a 503 error, Service Unavailable
When I check out the pools in IIS Manager, both pools have stopped.
What I've tried:
Ensured the password Identity is correct for each pool (the one that was used during the install, DB Account)
Ensured that 32 bit Applications are disabled for both Application pools
Ensured that the DB Account user has the following policy rights:
Logon as a service
Logon as a batch job
Replace a process level token
Any other ideas?
Thanks
Jason

HI Jason,It seems that the issue is with the application pool only.make sure that the application pool is started and set with the correct credentials.please check the links below that explains more details of the issues.
http://expertsharepoint.blogspot.de/2013/11/error-application-pool-keeps-stopping.html
http://expertsharepoint.blogspot.de/2013/11/error-application-pool-keeps-stopping.html
Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

Similar Messages

  • The analyze process failed to complete correctly.

    Hi,
    I have customer who has a problem with ZPM 10.3.2. The error is "The analyze process failed to complete correctly.{}". Analyze.exe dies and shows message on workstation. I found TID 7009369 in which is explained that fix has been added to the ZENworks Patch Management subscription.
    It is also stated :
    "If you are still experiencing this error, ensure that you have the most current Patch Management updates applied (including updated remediate.exe and analyze.exe files)."
    All workstations have ZCM 10.3.2 agent installed. Does that means that we should apply ZCM 10.3.3 patch to the zone and maybe "ZCM 11.0 and 10.3.3 - remediate error patch - see TID 7008538" (NOVELL: Downloads - ZCM 11.0 and 10.3.3 - remediate error patch - see TID 7008538) patch ?
    Is it possible to use "ZCM 11.0 and 10.3.3 - remediate error patch - see TID 7008538" on ZCM 10.3.2 agents ? I know that has been some changes to the patch remediate function in ZCM 10.3.3 (patch scheduling) ...
    Regards,
    Ivan

    Iuuuuan,
    the 10.3.3 files have not been tested against 10.3.2, but they should
    work; if all goes well, though, we will have a new remediate and
    analyze this week; I've been too busy working at BrainShare last week
    to finish creating the patch, but it's high priority now.
    Shaun Pond

  • FAIL - Application at context path /webapp could not be started

    Hi,
    I have the code under c:\my_name_ccview\source\code\MyWebApplication.
    I use Netbeans 5.5.1 and bundled tomcat 5.5.17. I can compile and build the MyWebApplication.war file.
    In the context file I defined <Context path="/webapp">
    </Context>
    When I try to deploy it to the bundled tomcat I get the error FAIL - Application at context path /webapp could not be started.
    I also tried building the application and then try Run Debug without deploying application. Still the same problem. My application wont start. When I check the runtime tab on netbeans and check applications under bundled tomcat I see /webapp -[stop]
    Please any help is much appreciated

    What you should do is test ur application by deploying it in the examples folder of tomcat and them try to run it and it will work. But this is only the temporary solution.

  • The Firefox 4.0 home icon disappeared and I could not resotre it from custom.

    In the past versions, I had a home icon in the menu bar. The new Firefox 4.0 does not provide a home icon. I tried to use customize to add the icon back, but I just could not find it. Please help!

    Thanks! That icon color is barely visible. I never noticed it was there! I need to change it to more contrast color.

  • FAIL - Application at context path /TemperatureConversion could not be star

    FAIL - Application at context path /TemperatureConversion could not be started
    I get the above error when trying to deploy my web service (which is a very simple web service - very much on the lines of the HelloWorld web service).
    Please help me fix this issue! What am I missing?

    As I had posted elsewhere, post the stacktrace.
    There can be many reasons why your web app did not start.

  • Ipod sync problems ipod 2.2.1 touch OS10.6.8 itunes 10.6.1 The photos sync but the calendars and contents will not.  I keep getting this error message... «iTunes could not sync information to the iPod «name of iPod» because a sync session could not be sta

    ipod sync problems
    ipod 2.2.1 touch OS10.6.8 itunes 10.6.1
    The photos sync but the calendars and contents will not.  I keep getting this error message...
    «iTunes could not sync information to the iPod «name of iPod» because a sync session could not be started.»

    Greetings,
    See this post: https://discussions.apple.com/message/12799057#12799057
    Cheers.

  • DB connect problem,Disp+Work.exe dies and the work processes die on startup

    Dear Experts,
    I am getting the error on SAP startup,Disp+Work.exe dies and the work processes die on startup.
    I found below error in my DEV_W0 trace as below
    *failed to establish conn to np:(local).*
    *C  Retrying without protocol specifier: (local)*
    *C  Provider SQLNCLI could not be initialized. See note #734034 for more information.*
    *C  Using provider SQLOLEDB instead.*
    *C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']*
    *C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.*
    *C  Procname: [ExecuteAndFlush - no proc]*
    But i could see the user 'pec' is availble in my database users list  with db_owner , public permissions also been assigned to it.
    However When trying to delete a user on SQL server 2000, we recieve the message "You cannot drop the selected login ID because that login ID owns objects in one or more databases.".
    Please refer the below work process trace and please suggest the possible solution..
    trc file: "dev_w0", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Sat Feb 14 15:10:21 2009
    B  create_con (con_name=R/3)
    B  Loading DB library 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll' ...
    B  Library 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll' loaded
    B  Version of 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll' is "640.00", patchlevel (0.195)
    B  New connection 0 created
    M sysno      00
    M sid        PEC
    M systemid   560 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    196
    M intno      20020600
    M make:      multithreaded, Unicode
    M pid        3844
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3844) [dpxxdisp.c   1162]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpShMCreate: sizeof(wp_adm)          21120     (1320)
    M  DpShMCreate: sizeof(tm_adm)          29558776     (14772)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpShMCreate: sizeof(comm_adm)          1160000     (580)
    M  DpShMCreate: sizeof(vmc_adm)          0     (424)
    M  DpShMCreate: sizeof(wall_adm)          (384056/329560/64/184)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 07800040, size: 31492672)
    M  DpShMCreate: allocated sys_adm at 07800040
    M  DpShMCreate: allocated wp_adm at 07801B88
    M  DpShMCreate: allocated tm_adm_list at 07806E08
    M  DpShMCreate: allocated tm_adm at 07806E30
    M  DpShMCreate: allocated wp_ca_adm at 09437628
    M  DpShMCreate: allocated appc_ca_adm at 0943D3E8
    M  DpShMCreate: allocated comm_adm_list at 0943F328
    M  DpShMCreate: allocated comm_adm at 0943F340
    M  DpShMCreate: allocated vmc_adm_list at 0955A680
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 0955A6A8
    M  DpShMCreate: allocated wall_adm at 0955A6B0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Sat Feb 14 15:10:22 2009
    M  calling db_connect ...
    C  Thread ID:3868
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      195
    C    patchcomment DBCON: database names must not start with digits (1078650)
    C  np:(local) connection used on CAMBSVR15
    C  CopyLocalParameters: dbuser is 'pec'

    C Sat Feb 14 15:10:23 2009
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: MARS property was not set.

    C Sat Feb 14 15:10:26 2009
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  failed to establish conn to np:(local).
    C  Retrying without protocol specifier: (local)
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  failed to establish conn. 0
    B  ***LOG BY2=> sql error 0      performing CON [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> <message text not available> [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 0      performing CON [dblink#3 @ 428] [dblink  0428 ]
    B  ***LOG BY0=> <message text not available> [dblink#3 @ 428] [dblink  0428 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1280]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9621]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server cambsvr15_PEC_00 on host cambsvr15 (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Sat Feb 14 15:10:26 2009
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        9806
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  254]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3844) [dpnttool.c   357]
    I would greatly appriciate your quick response, Since it is a production issue.
    Many Thanks,
    Vinod

    Hi Rohit and Subhadip,
    My problem was solved, thanks for your effort.
    reason is that, user 'pec' not been associated with login user for the SQL server.
    subha : when i execute the first command which you suggested, but couldn't find any user's list.
    so i didn't  tried with the second command. just to give a final try i have executed the script like below and its worked out.
    USE PEC
    GO
    EXEC sp_change_users_login 'update_one','pec','pec'
    GO
    Now i see that all work process are starting,,,thank you so much rohit and subhadip
    I could have try this first ,when you guys suggested since i couldn't find any output with the first command i didn't proceed with second one.
    Since deleting and creating method doesn't seems to be a good, i have just to give a try executed the second command and its worked.
    Thanks for your time and patience
    Many Thanks,
    Vinod

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

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

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

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

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

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

  • An unknown 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 

  • The worker process for application pool 'MSExchangeAutodiscoverAppPool' encountered an error

    Hello Guys,
    I am getting an event ID 2297 with the description given below.
    The worker process for application pool 'MSExchangeAutodiscoverAppPool' encountered an error 'Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'WSMan'
    ' trying to read global module configuration data from file '\\?\C:\inetpub\temp\apppools\MSExchangeAutodiscoverAppPool\MSExchangeAutodiscoverAppPool.config', line number '275'.  Worker process startup aborted.
    Could someone help me please to resolve this.
    Thanks in Advance. :)
    Regards Rishi Aggarwal

    Hi,
    Based on the error message, it seems the issue is related to that there is a duplicate entry in the file it mentioned.
    I recommend you follow Amit’s suggestions to check result.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Initializing the Installing Process fails at 50%

    I currently use adobe reader 9.5.2 and receive messages that version XI is available now. I tried to update my version fpr at least 20 times and the initializing program for the installing process always fails at 50 %, even when I deactivate my Norton Security software. Can anybody tell me what to do?

    It worked ! Thanks a lot for Your help!
    Greetings from Germany  
    "Pat Willener" <[email protected]> schrieb:
    Re: Initializing the Installing Process fails at 50%
    created by Pat Willener in Adobe Reader - View the full discussion
    Download the installer from http://get.adobe.com/reader/enterprise/
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5360144#5360144
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Re: Initializing the Installing Process fails at 50%
    To unsubscribe from this thread, please visit the message page at Re: Initializing the Installing Process fails at 50%. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Reader by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Andreas Barton
    [signature removed by host]

  • When the Worker.State FAILED occurs in a Task?

    How to detect that a Worker.State FAILED occurs in a Task? or to say when the Worker.State FAILED occurs in a Task? Is it when an exception happens in the call() method of Task?
    Consider the code below:
    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.net.URI;
    import java.net.URISyntaxException;
    import java.net.URL;
    import java.net.URLConnection;
    import javafx.concurrent.Task;
    * Background task to fetch the all classes documentation page from a URL
    public class FetchDocListTask extends Task<String> {
      private final String docsDirUrl;
      public FetchDocListTask(String docsDirUrl) {
      this.docsDirUrl = docsDirUrl;
      @Override
      protected String call() throws Exception {
      System.out.println("---- FetchDocListTask  docsUrl = " + docsDirUrl);
      StringBuilder builder = new StringBuilder();
      try {
      URI uri = new URI(docsDirUrl + "allclasses-frame.html");
      URL url = uri.toURL();
      URLConnection urlConnection = url.openConnection();
      urlConnection.setConnectTimeout(5000); // set timeout to 5 secs
      InputStream in = urlConnection.getInputStream();
      BufferedReader reader = new BufferedReader(
      new InputStreamReader(in));
      String line;
      while ((line = reader.readLine()) != null) {
      builder.append(line);
      builder.append('\n');
      reader.close();
      } catch (URISyntaxException e) {
      e.printStackTrace();
      return builder.toString();
    When the State.FAILED occurs? In fact, I want to write a code to simply detect whether the computer is connected to the internet. Hope for help~

    Yes. If the call() method exits due to an unhandled exception, the state property changes to FAILED. If a return statement is successfully executed, the state property changes to SUCCEEDED. There are no other possibilities.
    You can test with something like:
    import javafx.application.Application;
        import javafx.concurrent.Task;
        import javafx.concurrent.WorkerStateEvent;
        import javafx.event.EventHandler;
        import javafx.scene.Scene;
        import javafx.scene.control.TextArea;
        import javafx.scene.layout.BorderPane;
        import javafx.stage.Stage;
        public class TaskStateTest extends Application {
            public static void main(String[] args) { launch(args); }
            @Override
            public void start(final Stage primaryStage) {
                Task<Void> exceptionHandlingTask = new Task<Void>() {
                    @Override
                    protected Void call() throws Exception {
                        try {
                            throw new Exception("Boom");
                        } catch (Exception exc) {
                            System.out.println(exc.getMessage() + " handled");
                        return null;
                Task<Void> exceptionThrowingTask = new Task<Void>() {
                    @Override
                    protected Void call() throws Exception {
                        throw new Exception("Boom");
            //            return null;
                final BorderPane root = new BorderPane();
                final TextArea textArea = new TextArea();
                root.setCenter(textArea);
                primaryStage.setScene(new Scene(root, 600, 400));
                primaryStage.show();
                registerHandlers(exceptionHandlingTask, "exceptionHandlingTask", textArea);
                registerHandlers(exceptionThrowingTask, "exceptionThrowingTask", textArea);
                Thread t1 = new Thread(exceptionHandlingTask);
                Thread t2 = new Thread(exceptionThrowingTask);
                t1.start();
                t2.start();
            private void registerHandlers(final Task<Void> task, final String msg, final TextArea textArea) {
                task.setOnFailed(new EventHandler<WorkerStateEvent>() {
                    @Override
                    public void handle(WorkerStateEvent event) {
                        textArea.appendText(msg + " failed\n");
                task.setOnSucceeded(new EventHandler<WorkerStateEvent>() {
                    @Override
                    public void handle(WorkerStateEvent event) {
                        textArea.appendText(msg +  " succeeded\n");

  • Internal Memory of the Work Process

    Hi Gurus,
    wat will be stored in the internal memory area that is available exclusively to the work process.
    I know that the memory area that can be accessed by all the work process stores programs,table buffers,
    user context and possible the roll file.
    But here im asking about the memory area that is available exclusively to a workprocess.
    Cheers,
    Abdul Hakim

    Resolved

  • I purchased Fifa13 from the App Store, downloaded it in my pc..,but whrn i am trying to install it in my iad frpm the pc, i couldnt do it. The installation process stops after some time and the ipad shows some thing like "can sync..,failed to install fifa

    I purchased Fifa13 from the App Store, downloaded it in my pc..,but when i am trying to install it in my ipad frpm the pc, i couldnt do it. The installation process stops after some time and the ipad shows some thing like "can sync..,failed to install fifa13"
    What can i do?
    btw....,its happeniing only wth the fifa13,     installed other apps from pc previously.

    anybody answer me fast

Maybe you are looking for

  • Effects seen in this video

    Soccer Tricks by Manchester FC - GoPro - YouTube How can I achieve this kind of effects?

  • Installing x264 plug in into compressor

    i have seen this macbreaks video http://www.youtube.com/watch?v=JSfirGa-Dvg&feature=player_embedded#, i don't have that on my compressor how do I install it?

  • Lot of issues

    i have a lot of problems with the iPod Nano, already checked all the sites and its just not working. First: when i try to re-install the ipod software it tells me to restore ipod, i click ok, then it begins "formatting" and then "rebooting" ipod...bu

  • Movement Type and Special Stock in Reservation

    Hi, I had created a Repair Order and via this Repair Order, system automatically created Service Order also. I had entered a component (Spare Part) in the Service Order. Upon saving System created a Reservation with Movement Type 261 and Special Stoc

  • I have an install disc stuck in a g5 that wont power up is there anyway to get it out

    I have an install disc stuck in a g5 that wont power up is there anyway to get it out