locked
Error 1026 .Net Runtime RRS feed

  • Question

  • Windows Server Identity Management Service (IdentitySvr) will not start. Event Viewer shows the following:

    Log Name:      Application
    Source:        Application Error
    Date:          7/26/2011 8:56:40 AM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      CB228123-E.c-lancomputer.local
    Description:
    Faulting application name: SharedServiceHost.exe, version: 6.1.1839.0, time stamp: 0x4d38a956
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.17625, time stamp: 0x4de88429
    Exception code: 0xe0434352
    Fault offset: 0x000000000000cacd
    Faulting process id: 0x4114
    Faulting application start time: 0x01cc4b9bd1f648b2
    Faulting application path: C:\Program Files\Windows Server\Bin\SharedServiceHost.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: 15c37db2-b78f-11e0-a6c5-78e3b5e75afd
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2011-07-26T13:56:40.000000000Z" />
        <EventRecordID>113195</EventRecordID>
        <Channel>Application</Channel>
        <Computer>CB228123-E.c-lancomputer.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>SharedServiceHost.exe</Data>
        <Data>6.1.1839.0</Data>
        <Data>4d38a956</Data>
        <Data>KERNELBASE.dll</Data>
        <Data>6.1.7601.17625</Data>
        <Data>4de88429</Data>
        <Data>e0434352</Data>
        <Data>000000000000cacd</Data>
        <Data>4114</Data>
        <Data>01cc4b9bd1f648b2</Data>
        <Data>C:\Program Files\Windows Server\Bin\SharedServiceHost.exe</Data>
        <Data>C:\Windows\system32\KERNELBASE.dll</Data>
        <Data>15c37db2-b78f-11e0-a6c5-78e3b5e75afd</Data>
      </EventData>
    </Event>

     

    ===========================================================================================================================
    Log Name:      Application
    Source:        .NET Runtime
    Date:          7/26/2011 8:56:40 AM
    Event ID:      1026
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      CB228123-E.c-lancomputer.local
    Description:
    Application: SharedServiceHost.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.ArgumentOutOfRangeException
    Stack:

    Server stack trace:
       at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
       at Microsoft.WindowsServerSolutions.Devices.Identity.Internal.MachineIdentityCore._GetTheCurrentMachineCount()
       at Microsoft.WindowsServerSolutions.Devices.Identity.Internal.MachineIdentityCore._Init()
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
       at Microsoft.WindowsServerSolutions.Devices.Identity.Internal.MachineIdentityCore._InitDone(System.IAsyncResult)
       at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
       at System.Threading.ExecutionContext.runTryCode(System.Object)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime" />
        <EventID Qualifiers="0">1026</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2011-07-26T13:56:40.000000000Z" />
        <EventRecordID>113194</EventRecordID>
        <Channel>Application</Channel>
        <Computer>CB228123-E.c-lancomputer.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Application: SharedServiceHost.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.ArgumentOutOfRangeException
    Stack:

    Server stack trace:
       at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
       at Microsoft.WindowsServerSolutions.Devices.Identity.Internal.MachineIdentityCore._GetTheCurrentMachineCount()
       at Microsoft.WindowsServerSolutions.Devices.Identity.Internal.MachineIdentityCore._Init()
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp; outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp; outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
       at Microsoft.WindowsServerSolutions.Devices.Identity.Internal.MachineIdentityCore._InitDone(System.IAsyncResult)
       at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
       at System.Threading.ExecutionContext.runTryCode(System.Object)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
    </Data>
      </EventData>
    </Event>

    ===================================================================

    EventID.net saids the following:

    "Since this is a problem with the application itself, unless you are the programmer, you cannot change it. So, what can be done is to try to install the latest version for that application or any hotfixes or contact the developer. In certain situations, understanding the reason of the failure (the "exception") may help in identifying the nature of the problem and maybe determine ways to avoid it. For example, the System.Net.HttpListenerException, related to a problem with an HTTP request may be caused by a network connection issue or maybe by the local TCP/IP configuration. Other exceptions may point to a permissions problem, lack of space, etc."

    Your help is appriciated.


    Dan Walker
    Tuesday, July 26, 2011 2:14 PM

Answers

All replies

  • When did this first occur, what has changed on the box recently?
    Robert Pearman SBS MVP (2011) | www.titlerequired.com | www.itauthority.co.uk
    Thursday, July 28, 2011 10:57 AM
  • This issue started in May 2011, see my intial Post http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver2011essentials/thread/f053a754-5ca8-4af9-ba33-bea5f805068a. I thought I resolved the issue but, it came back back after June 12, 2011 updates. I reinstalledthe HP drivers but, the issuse remains. These four services will no stay started when Windows Initialization System Service is started, when this service is stopped only Windows Server Identity Management Service will not stay started.  

    Process Manager example, hundreds of these with the drivers and TID changing but, the rest stays the same.

    Date & Time: 7/28/2011 9:04:37 AM
    Event Class: File System
    Operation: FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION
    Result: FILE LOCKED WITH ONLY READERS
    Path: C:\Windows\System32\drivers\volmgrx.sys
    TID: 19816
    Duration: 0.0000018
    SyncType: SyncTypeCreateSection
    PageProtection: 


    Dan Walker
    Thursday, July 28, 2011 2:15 PM
  • Someone else posted to find out about your driver issue.

     

    Is it worth now going back to HP and saying the issue has occured again?


    Robert Pearman SBS MVP (2011) | www.titlerequired.com | www.itauthority.co.uk
    Friday, July 29, 2011 11:34 AM
  • Already contacted HP, they listen but could offer no help.
    Dan Walker
    Friday, July 29, 2011 4:16 PM
  • What driver was it that caused the issue?
    Robert Pearman SBS MVP (2011) | www.titlerequired.com | www.itauthority.co.uk
    Monday, August 1, 2011 10:15 AM
  • Did you manage to fix the issue monte515?
    Tuesday, August 2, 2011 2:55 PM
  • No the issure continues. I working with Microsoft Support. I post the result once the issue is solved.
    Dan Walker
    Thursday, August 4, 2011 1:02 PM
  • Did you hear back from Microsoft - I'm having the same issue now.
    QC Solutions
    Wednesday, August 10, 2011 1:34 PM
  • Issue solved, per Microsoft support this problem is caused by the way the OS handles Certificates.  If you have any Certificates with a blank subject line fill in the subject line or revoke the certificate.  The Initialization Service is set to Automatic so when the Server is rebooted it can start the other three services, after it starts the three services is stops; this is by design.  


    Dan Walker
    Saturday, August 20, 2011 2:00 PM
  • I've got the same issue and I can find no certs without a subject.  How did you find yours.  I'm using the mmc and loading certificats local machine.
    Friday, September 2, 2011 12:36 PM
  •  On the server: Start | Administrative Tools | Certification Authority | Issued Certificates. I opened each issued certificate clicked the Details tab and if the subject line was blank I revoked the certificate. In my case none of the issued Certificates were needed.  Remember, Windows Server Initialization Service (InitMonitor) while set to start automatic will only run when needed.

    I did not find this solution, Microsoft Support did. The issue has something to do with the way the OS handles Certificates with a blank suject line. A future fix may be in coming.


    Dan Walker
    Friday, September 2, 2011 1:06 PM
  • Shoot! I have three certs there and they all have subjects.  But my symtoms are identical to what you've described.
    Friday, September 2, 2011 1:24 PM
  • I do not have an answer; Microsoft Suport solved my issue. I'd try revoking each Cerrtificate, one at a time, to see if this soved the issue. If that did not work I would contact Microsoft Support.
    Dan Walker
    Friday, September 2, 2011 1:34 PM
  • How did you get them involved?
    Friday, September 2, 2011 3:26 PM
  • 1-800-Microsoft follw the prompts.
    Dan Walker
    Friday, September 2, 2011 3:30 PM
  • +1
    www.interactif-live.com
    Thursday, September 8, 2011 2:25 PM
  • on SBS 2011 Ess, I was able to resolve the Windows Server Identity Management Service failing and taking the other services with it by

    * modifying the certificate template for Domain Controller Authentication and for Directory Email Replication so that the subject was the DNS name (instead of blank) (Certtmpl.msc)
    * renewing both personal certificates in the Certificate Manager MMC (local computer)
    * then revoking the old certificates in the Certificate Authority
    * starting the services

    Where I was stumped was the fact that even though the certificates were renewed and the subject line for the certificates was no longer blank after editing the templates, the problem persisted until I revoked the certificates in the Certificate Authority. Once the certificates with a blank Issued Common Name were revoked, the services started and remained started.

    The users now also appear in the Dashboard and I can login through remote.<domain>.com again.

    Tuesday, November 1, 2011 8:57 PM
  • Hi,

    If you have a blank subject in your cert, and are having this error, we are already aware of this issue, and are working on a solution beyond this thread.

    If you see the same error message, but do have subject with your certificate, please either call the Microsoft support or file a connect bug with your logs, so we can evaluate whethere the same solution works for you.

    Thanks,


    This post is "AS IS" and confers no rights. Ning Kuang[MSFT] Windows HSBS Program Manager
    Wednesday, November 23, 2011 4:36 AM
  • Hello,

    I am too experiencing the same issue! In my case, none of my certificates have subject set to blank. Nevertheless, I noticed there is a bunch of invalid or expired certs with the certicate authority (Issued certificats container). As described above, I do have those "error 1026 .Net Runtime" messages in Application Event log such as the following one.

    Faulting application name: SharedServiceHost.exe, version: 6.1.1839.0, time stamp: 0x4d38a956
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e21213c
    Exception code: 0xe0434352
    Fault offset: 0x000000000000cacd
    Faulting process id: 0x3aa8
    Faulting application start time: 0x01ccb0743471b565
    Faulting application path: C:\Program Files\Windows Server\Bin\SharedServiceHost.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: 75491cb8-1c67-11e1-9c24-00155d018302

    Also, the following messages;

    Fault bucket , type 0
    Event Name: CLR20r3
    Response: Not available
    Cab Id: 0
    
    Problem signature:
    P1: sharedservicehost.exe
    P2: 6.1.1839.0
    P3: 4d38a956
    P4: CertManaged
    P5: 6.1.0.0
    P6: 4e1c6dd3
    P7: a
    P8: 1b
    P9: System.ArgumentNullException
    P10: 
    
    Attached files:
    
    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_sharedservicehos_5b83e6ae3a2b680e02275cf7f6fd08a80ee5328_143df6d9
    
    Analysis symbol: 
    Rechecking for solution: 0
    Report Id: 75491cb8-1c67-11e1-9c24-00155d018302
    

    ...and this one;

    Fault bucket 2269576714, type 5
    Event Name: CLR20r3
    Response: Not available
    Cab Id: 0
    
    Problem signature:
    P1: sharedservicehost.exe
    P2: 6.1.1839.0
    P3: 4d38a956
    P4: CertManaged
    P5: 6.1.0.0
    P6: 4e1c6dd3
    P7: a
    P8: 1b
    P9: System.ArgumentNullException
    P10: 
    
    Attached files:
    
    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_sharedservicehos_5b83e6ae3a2b680e02275cf7f6fd08a80ee5328_48a60c94
    
    Analysis symbol: 
    Rechecking for solution: 0
    Report Id: 75491cb8-1c67-11e1-9c24-00155d018302
    Report Status: 0

    One last thing I noticed, service "DomainManagerProviderSvc" is not running, i.e., starts then stops almost instantly!

    What should I do from now on?

    Regards,

     

    Yves Leduc - MCSE





    Yves Leduc
    Thursday, December 1, 2011 10:30 PM
  • Hello All,

    Is there anybody taking care of this issue? I didn't get any feedback so far!

     

    Cheers.

     

    Yves Leduc

     


    Yves Leduc
    • Edited by Yves Leduc Thursday, December 8, 2011 6:35 PM
    Thursday, December 8, 2011 6:34 PM
  • Look at this thread:

    http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver2011essentials/thread/46f558ec-9884-45ac-8021-7fbec962fe5f

    If your case is different, please file a connect bug or open a CSS case. Thanks,


    This post is "AS IS" and confers no rights. Ning Kuang[MSFT] Windows HSBS Program Manager
    Friday, December 16, 2011 10:06 AM