Was this page helpful?

ctor error in api log

    Table of contents
    1. 1. Overview
    2. 2. Symptoms
    3. 3. Resolution
    4. 4. Related

    Overview

    Loading MindTouch in the browser gives a site Settings error.

    Symptoms

    Loading the MindTouch install shows site settings and if you open the API log you will see the following:

    2010-08-17 15:11:03,249 [1] ERROR MindTouch.Dream.Http.HttpHandler - ctor
    
    
    System.TypeInitializationException: The type initializer for 'MindTouch.Tasking.Async' threw an exception. ---> System.TypeInitializationException: The type initializer for 'MindTouch.Threading.DispatchThreadScheduler' threw an exception. ---> System.FormatException: Input string was not in a correct format.
       at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
       at System.Int32.Parse(String s, IFormatProvider provider)
       at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
       at System.Diagnostics.PerformanceCounterLib.get_NameTable()
       at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
       at System.Diagnostics.PerformanceCounterLib.CounterExists(String category, String counter, Boolean& categoryExists)
       at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
       at System.Diagnostics.PerformanceCounter.Initialize()
       at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
       at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
       at MindTouch.Threading.DispatchThreadScheduler..cctor()
       --- End of inner exception stack trace ---
       at MindTouch.Threading.DispatchThreadScheduler.RequestThread(Int32 minRequired, Action`1 callback)
       at MindTouch.Threading.ElasticThreadPool..ctor(Int32 minReservedThreads, Int32 maxParallelThreads)
       at MindTouch.Tasking.Async..cctor()
       --- End of inner exception stack trace ---
       at MindTouch.Tasking.Async.get_CurrentDispatchQueue()
       at MindTouch.Tasking.TaskEnv.get_Current()
       at MindTouch.Tasking.AResult.MindTouch.Tasking.IYield.CanContinueImmediately(IContinuation continuation)
       at MindTouch.Tasking.Coroutine.Invoke(Func`1 invocation)
       at System.SysUtil.Rethrow(Exception exception)
       at MindTouch.Tasking.AResult.Confirm()
       at MindTouch.Tasking.Result`1.Wait()
       at MindTouch.Dream.DreamHostService.Initialize(XDoc config)
       at MindTouch.Dream.Http.HttpHandler..ctor()

    Resolution

    1. Open up the Windows Command Line
    2. Type the following and hit Enter lodctr /r
    3. Wait until you receive a command prompt again
    4. Access MindTouch
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by