Something's not right here

Topics: Troubleshooting
Apr 1, 2011 at 4:47 PM

I downloaded C1 vers 2.1 and installed it in the wwwroot directory within IIS on Windows XP.  Created the application, gave write permissions and switched it to .net 4.  After several false starts I finally was able to get logged in.  But my administrator account dissappeard when I attempted to add a language.  (There was a message that no languages were assigned.) I was able to pull this log file:

20110401 09:22:24.1669 2  5 Critical GlobalInitializerFacade  ConfigurationChange
20110401 09:22:24.1825 2  5 Critical GlobalInitializerFacade  System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
   at System.Diagnostics.PerformanceCounter.InitializeImpl()
   at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
   at System.Workflow.Runtime.PerformanceCounterManager.CreateCounters(String name)
   at System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService.OnStarted()
   at System.Workflow.Runtime.Hosting.WorkflowRuntimeService.HandleStarted(Object source, WorkflowRuntimeEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
   at Composite.C1Console.Workflow.WorkflowFacadeImpl.DoInitialize()
   at Composite.C1Console.Workflow.WorkflowFacadeImpl.EnsureInitialization()
   at Composite.C1Console.Workflow.WorkflowFacade.EnsureInitialization()
   at Composite.GlobalInitializerFacade.DoInitialize()
   at Composite.GlobalInitializerFacade.InitializeTheSystem()

20110401 09:22:24.1825 2  5 Critical GlobalInitializerFacade  ConfigurationChange
20110401 09:22:24.1825 2  5 Critical GlobalInitializerFacade  System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
   at System.Diagnostics.PerformanceCounter.InitializeImpl()
   at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
   at System.Workflow.Runtime.PerformanceCounterManager.CreateCounters(String name)
   at System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService.OnStarted()
   at System.Workflow.Runtime.Hosting.WorkflowRuntimeService.HandleStarted(Object source, WorkflowRuntimeEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
   at Composite.C1Console.Workflow.WorkflowFacadeImpl.DoInitialize()
   at Composite.C1Console.Workflow.WorkflowFacadeImpl.EnsureInitialization()
   at Composite.C1Console.Workflow.WorkflowFacade.EnsureInitialization()
   at Composite.GlobalInitializerFacade.DoInitialize()
   at Composite.GlobalInitializerFacade.InitializeTheSystem()
   at Composite.GlobalInitializerFacade.ReinitializeTheSystem(RunInWriterLockScopeDelegage runInWriterLockScopeDelegage, Boolean initializeHooksInTheSameThread)
   at Composite.C1Console.Events.GlobalEventSystemFacade.FlushTheSystem(Boolean waitForHooksInitialization)
   at Composite.GlobalInitializerFacade.DoInitialize()
   at Composite.GlobalInitializerFacade.InitializeTheSystem()

20110401 09:22:25.0107 2 15 Critical GlobalInitializerFacade  Exception recorded:00:00:00.8281356 ago
20110401 09:22:47.7297 3 16 Critical GlobalInitializerFacade  None
20110401 09:22:47.7453 3 16 Critical GlobalInitializerFacade  System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
   at System.Diagnostics.PerformanceCounter.InitializeImpl()
   at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
   at System.Workflow.Runtime.PerformanceCounterManager.CreateCounters(String name)
   at System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService.OnStarted()
   at System.Workflow.Runtime.Hosting.WorkflowRuntimeService.HandleStarted(Object source, WorkflowRuntimeEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
   at Composite.C1Console.Workflow.WorkflowFacadeImpl.DoInitialize()
   at Composite.C1Console.Workflow.WorkflowFacadeImpl.EnsureInitialization()
   at Composite.C1Console.Workflow.WorkflowFacade.EnsureInitialization()
   at Composite.GlobalInitializerFacade.DoInitialize()
   at Composite.GlobalInitializerFacade.InitializeTheSystem()

20110401 09:40:17.2119 4 41 Critical GlobalInitializerFacade  BinDirChangeOrDirectoryRename
20110401 09:40:17.2119 4 41 Critical GlobalInitializerFacade  System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
   at System.Diagnostics.PerformanceCounter.InitializeImpl()
   at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
   at System.Workflow.Runtime.PerformanceCounterManager.CreateCounters(String name)
   at System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService.OnStarted()
   at System.Workflow.Runtime.Hosting.WorkflowRuntimeService.HandleStarted(Object source, WorkflowRuntimeEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
   at Composite.C1Console.Workflow.WorkflowFacadeImpl.DoInitialize()
   at Composite.C1Console.Workflow.WorkflowFacadeImpl.EnsureInitialization()
   at Composite.C1Console.Workflow.WorkflowFacade.EnsureInitialization()
   at Composite.GlobalInitializerFacade.DoInitialize()
   at Composite.GlobalInitializerFacade.InitializeTheSystem()

20110401 09:40:17.4150 4 49 Critical GlobalInitializerFacade  Exception recorded:00:00:00.2031276 ago
20110401 09:40:22.8995 5 41 Critical GlobalInitializerFacade  None
20110401 09:40:22.8995 5 41 Critical GlobalInitializerFacade  System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
   at System.Diagnostics.PerformanceCounter.InitializeImpl()
   at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
   at System.Workflow.Runtime.PerformanceCounterManager.CreateCounters(String name)
   at System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService.OnStarted()
   at System.Workflow.Runtime.Hosting.WorkflowRuntimeService.HandleStarted(Object source, WorkflowRuntimeEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
   at Composite.C1Console.Workflow.WorkflowFacadeImpl.DoInitialize()
   at Composite.C1Console.Workflow.WorkflowFacadeImpl.EnsureInitialization()
   at Composite.C1Console.Workflow.WorkflowFacade.EnsureInitialization()
   at Composite.GlobalInitializerFacade.DoInitialize()
   at Composite.GlobalInitializerFacade.InitializeTheSystem()

20110401 09:40:24.1339 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:01.2343908 ago
20110401 09:40:26.0558 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:03.1562904 ago
20110401 09:40:26.0558 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:03.1562904 ago
20110401 09:40:29.1964 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:06.2969556 ago
20110401 09:40:29.6183 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:06.7188360 ago
20110401 09:40:29.6183 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:06.7188360 ago
20110401 09:40:32.0402 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:09.1407420 ago
20110401 09:40:32.0402 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:09.1407420 ago
20110401 09:40:35.6809 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:12.7814136 ago
20110401 09:40:37.2590 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:14.3595588 ago
20110401 09:40:37.2747 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:14.3751840 ago
20110401 09:40:46.1185 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:23.2190472 ago
20110401 09:40:47.8529 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:24.9534444 ago
20110401 09:40:47.8685 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:24.9690696 ago
20110401 09:40:50.7279 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:27.8284812 ago
20110401 09:40:50.8217 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:27.9222324 ago
20110401 09:40:53.8217 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:30.9222708 ago
20110401 09:40:57.1343 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:34.2348132 ago
20110401 09:40:57.1343 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:34.2348132 ago
20110401 09:41:01.5250 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:38.6254944 ago
20110401 09:41:01.5250 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:38.6254944 ago
20110401 09:41:03.5719 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:40.6723956 ago
20110401 09:41:03.5719 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:40.6723956 ago
20110401 09:41:05.7438 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:42.8442984 ago
20110401 09:41:12.4470 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:49.5475092 ago
20110401 09:41:12.4470 5 41 Critical GlobalInitializerFacade  Exception recorded:00:00:49.5475092 ago
20110401 09:41:20.9315 5 41 Critica

I keep seeing the message: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.

Thanks for your help

Apr 5, 2011 at 9:45 AM

I have never seen this error before. It seems that there is something wrong with your Windows Workflow Foundation. I did a quick google and found this: http://blogs.msdn.com/b/wael/archive/2008/01/11/workflow-failed-on-start-retrying.aspx

It might be worth a try.

 

Apr 5, 2011 at 1:45 PM

Getting errors during installation and at some point being able to log in to the Console in the end has proven to be very risky for me. The installation procedure doesn't seem to be 100% failsafe with rolling back in the event of an error and i have experienced both missing languages and the base packages when finally being able to log in.

I would note down the steps needing to make a successful installation and try to start from fresh.

Coordinator
Apr 5, 2011 at 1:52 PM

Windows XP come with IIS 5.1 which we never test on and don't claim to support. I suggest you forget about using it and grab WebMatrix - it's IIE Express wrapped in a easy-to-use UI and will give you an up-to-date IIS and a ton more features than XP IIS got.

To get everything installed, (Web Platform Installer, WebMatrix and then Composite C1) click this link: http://bit.ly/InstallCompositeC1 and say 'yes', 'OK' etc. Worst case you may need to reboot. This should get you going.