Ahh that makes sense. As for 64bit support you don't have much choice  
but to purchase NCover v3 at the moment.

Some people have hacked the Gallio.Echo CLR flags and other apps to  
force execution to be 32bit end to end but it leaves much to be  
desired because anything hosted inside of a 64bit app (such as  
MsBuild) will continue to fail.

That said, I just had an idea for a simple way to get NCover running  
properly with no hacks. I'll try it out and get back to you.



On Apr 16, 2009, at 6:38 AM, "Bruno Wouters" <[email protected]>  
wrote:

> Hi Jeff,
>
>
>
> The account under which the service ran had no rights to edit the  
> registry. I think that this is the cause of the exception in my  
> previous email.
>
> Now I run it under an account that does have rights and I’m getting  
> another error (see end of this email). Probably because it is runnin 
> g on a 64bit machine.
>
>
>
> Could I somehow use this solution?
>
> http://abdullin.com/journal/2008/6/6/how-to-run-free-ncover-on-a-64-bit-machine.html
>
>
>
> Thanks!
>
>
>
> Greets,
>
> Bruno
>
>
>
> [15:24:15]: [gallio] * Starting NCover profiler.
>
> [15:25:15]: [gallio] * Timed out waiting for the NCover profiler to  
> become ready.  The launch may have failed because this version of  
> NCover does not support running programs in 64bit mode.
>
> [15:25:15]: [gallio] * Waiting for NCover to exit.
>
> [15:25:16]: [gallio] Host process encountered an exception.
>
> Gallio.Runtime.Hosting.HostException: Timed out waiting for the  
> NCover profiler to become ready.
>
>    at  
> Gallio. 
> NCoverIntegration. 
> EmbeddedNCoverProcessTask.RegisterAndStartProfiler(ProfilerSettings  
> settings, Boolean redirectOutput)
>
>    at  
> Gallio. 
> NCoverIntegration. 
> EmbeddedNCoverProcessTask.StartProcess(ProcessStartInfo startInfo)
>
>    at Gallio.Concurrency.ProcessTask.StartImpl() in c:\RelEng 
> \Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Concurrency 
> \ProcessTask.cs:line 291
>
>    at Gallio.Concurrency.Task.Start() in c:\RelEng\Projects\MbUnit  
> v3.0.6\Work\src\Gallio\Gallio\Concurrency\Task.cs:line 170
>
> [15:25:16]: [gallio] A fatal exception occurred while running  
> tests.  Possible causes include invalid test runner parameters and  
> stack overflows.
>
> Gallio.Runtime.Hosting.HostException: An exception occurred while  
> connecting to the host service. --->  
> Gallio.Runtime.Hosting.HostException: Error attaching to the host  
> process. ---> Gallio.Runtime.Hosting.HostException: The host process  
> terminated abruptly.
>
>    at  
> Gallio.Runtime.Hosting.IsolatedProcessHost.EnsureProcessIsRunning()  
> in c:\RelEng\Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime 
> \Hosting\IsolatedProcessHost.cs:line 319
>
>    at  
> Gallio. 
> Runtime.Hosting.IsolatedProcessHost.AcquireRemoteHostService() in c: 
> \RelEng\Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime\Hosting 
> \IsolatedProcessHost.cs:line 103
>
>    --- End of inner exception stack trace ---
>
>    at  
> Gallio. 
> Runtime.Hosting.IsolatedProcessHost.AcquireRemoteHostService() in c: 
> \RelEng\Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime\Hosting 
> \IsolatedProcessHost.cs:line 115
>
>    at Gallio.Runtime.Hosting.RemoteHost.AcquireHostService() in c: 
> \RelEng\Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime\Hosting 
> \RemoteHost.cs:line 65
>
>    at Gallio.Runtime.Hosting.BaseHost.Connect() in c:\RelEng\Projects 
> \MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime\Hosting 
> \BaseHost.cs:line 142
>
>    --- End of inner exception stack trace ---
>
>    at Gallio.Runtime.Hosting.BaseHost.Connect() in c:\RelEng\Projects 
> \MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime\Hosting 
> \BaseHost.cs:line 146
>
>    at  
> Gallio.NCoverIntegration.NCoverHostFactory.CreateHostImpl(HostSetup  
> hostSetup, ILogger logger)
>
>    at Gallio.Runtime.Hosting.BaseHostFactory.CreateHost(HostSetup  
> hostSetup, ILogger logger) in c:\RelEng\Projects\MbUnit v3.0.6\Work 
> \src\Gallio\Gallio\Runtime\Hosting\BaseHostFactory.cs:line 37
>
>    at Gallio.Runner.Drivers.HostedTestDriver.CreateRemoteHost(String  
> workingDirectory, Boolean shadowCopy, Boolean debug,  
> ProcessorArchitecture arch) in c:\RelEng\Projects\MbUnit v3.0.6\Work 
> \src\Gallio\Gallio\Runner\Drivers\HostedTestDriver.cs:line 148
>
>    at  
> Gallio. 
> Runner.Drivers.HostedTestDriver.DoWithPartitions(TestPackageConfig  
> testPackageConfig, Action`1 action, Action`1 setStatus) in c:\RelEng 
> \Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runner\Drivers 
> \HostedTestDriver.cs:line 113
>
>    at  
> Gallio. 
> Runner. 
> Drivers. 
> AggregateTestDriver.ExploreOrRunEachPartition(TestPackageConfig  
> testPackageConfig, ITestExplorationListener testExplorationListener,  
> ITestExecutionListener testExecutionListener, PartitionAction  
> action, IProgressMonitor progressMonitor) in c:\RelEng\Projects 
> \MbUnit v3.0.6\Work\src\Gallio\Gallio\Runner\Drivers 
> \AggregateTestDriver.cs:line 74
>
>    at  
> Gallio.Runner.Drivers.AggregateTestDriver.RunImpl(TestPackageConfig  
> testPackageConfig, TestExplorationOptions testExplorationOptions,  
> ITestExplorationListener testExplorationListener,  
> TestExecutionOptions testExecutionOptions, ITestExecutionListener  
> testExecutionListener, IProgressMonitor progressMonitor) in c:\RelEng 
> \Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runner\Drivers 
> \AggregateTestDriver.cs:line 60
>
>    at Gallio.Runner.Drivers.BaseTestDriver.Run(TestPackageConfig  
> testPackageConfig, TestExplorationOptions testExplorationOptions,  
> ITestExplorationListener testExplorationListener,  
> TestExecutionOptions testExecutionOptions, ITestExecutionListener  
> testExecutionListener, IProgressMonitor progressMonitor) in c:\RelEng 
> \Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runner\Drivers 
> \BaseTestDriver.cs:line 92
>
>    at Gallio.Runner.DefaultTestRunner.Run(TestPackageConfig  
> testPackageConfig, TestExplorationOptions testExplorationOptions,  
> TestExecutionOptions testExecutionOptions, IProgressMonitor  
> progressMonitor) in c:\RelEng\Projects\MbUnit v3.0.6\Work\src\Gallio 
> \Gallio\Runner\DefaultTestRunner.cs:line 292
>
> [15:25:16]: [gallio] Generating reports.
>
>
>
>
>
> From: [email protected]  
> [mailto:[email protected]] On Behalf Of Jeff Brown
> Sent: dinsdag 7 april 2009 6:48
> To: [email protected]
> Subject: MbUnit Re: Exception when running tests
>
>
>
> Strange.
>
> I wonder if UAC is somehow tripping this up.  Is the TeamCity agent  
> running as a local admin?
>
>
>
> Jeff.
>
>
>
> From: [email protected]  
> [mailto:[email protected]] On Behalf Of Bruno Wouters
> Sent: Monday, April 06, 2009 6:08 AM
> To: [email protected]
> Subject: MbUnit Exception when running tests
>
> Hi all,
>
>
>
> I installed a TeamCity agent on a Vista machine to run tests while  
> idle. When I let it run tests I get the following exception:
>
>
>
> [14:06:09]: [testncover] gallio
>
> [14:06:09]: [gallio] Host process encountered an exception.
>
> System.IO.IOException: The specified registry key does not exist.
>
>    at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String  
> str)
>
>    at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey,  
> RegistryKeyPermissionCheck permissionCheck, RegistrySecurity  
> registrySecurity)
>
>    at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
>
>    at NCover.Framework.ProfilerDriver.RegisterProfilerForUser()
>
>    at  
> Gallio. 
> NCoverIntegration.EmbeddedNCoverProcessTask.RegisterProfilerIfNeeded()
>
>    at  
> Gallio. 
> NCoverIntegration. 
> EmbeddedNCoverProcessTask.RegisterAndStartProfiler(ProfilerSettings  
> settings, Boolean redirectOutput)
>
>    at  
> Gallio. 
> NCoverIntegration. 
> EmbeddedNCoverProcessTask.StartProcess(ProcessStartInfo startInfo)
>
>    at Gallio.Concurrency.ProcessTask.StartImpl() in c:\RelEng 
> \Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Concurrency 
> \ProcessTask.cs:line 291
>
>    at Gallio.Concurrency.Task.Start() in c:\RelEng\Projects\MbUnit  
> v3.0.6\Work\src\Gallio\Gallio\Concurrency\Task.cs:line 170
>
> [14:06:09]: [gallio] A fatal exception occurred while running  
> tests.  Possible causes include invalid test runner parameters and  
> stack overflows.
>
> Gallio.Runtime.Hosting.HostException: An exception occurred while  
> connecting to the host service. --->  
> Gallio.Runtime.Hosting.HostException: Error attaching to the host  
> process. ---> Gallio.Runtime.Hosting.HostException: The host process  
> terminated abruptly.
>
>    at  
> Gallio.Runtime.Hosting.IsolatedProcessHost.EnsureProcessIsRunning()  
> in c:\RelEng\Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime 
> \Hosting\IsolatedProcessHost.cs:line 319
>
>    at  
> Gallio. 
> Runtime.Hosting.IsolatedProcessHost.AcquireRemoteHostService() in c: 
> \RelEng\Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime\Hosting 
> \IsolatedProcessHost.cs:line 103
>
>    --- End of inner exception stack trace ---
>
>    at  
> Gallio. 
> Runtime.Hosting.IsolatedProcessHost.AcquireRemoteHostService() in c: 
> \RelEng\Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime\Hosting 
> \IsolatedProcessHost.cs:line 115
>
>    at Gallio.Runtime.Hosting.RemoteHost.AcquireHostService() in c: 
> \RelEng\Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime\Hosting 
> \RemoteHost.cs:line 65
>
>    at Gallio.Runtime.Hosting.BaseHost.Connect() in c:\RelEng\Projects 
> \MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime\Hosting 
> \BaseHost.cs:line 142
>
>    --- End of inner exception stack trace ---
>
>    at Gallio.Runtime.Hosting.BaseHost.Connect() in c:\RelEng\Projects 
> \MbUnit v3.0.6\Work\src\Gallio\Gallio\Runtime\Hosting 
> \BaseHost.cs:line 146
>
>    at  
> Gallio.NCoverIntegration.NCoverHostFactory.CreateHostImpl(HostSetup  
> hostSetup, ILogger logger)
>
>    at Gallio.Runtime.Hosting.BaseHostFactory.CreateHost(HostSetup  
> hostSetup, ILogger logger) in c:\RelEng\Projects\MbUnit v3.0.6\Work 
> \src\Gallio\Gallio\Runtime\Hosting\BaseHostFactory.cs:line 37
>
>    at Gallio.Runner.Drivers.HostedTestDriver.CreateRemoteHost(String  
> workingDirectory, Boolean shadowCopy, Boolean debug,  
> ProcessorArchitecture arch) in c:\RelEng\Projects\MbUnit v3.0.6\Work 
> \src\Gallio\Gallio\Runner\Drivers\HostedTestDriver.cs:line 148
>
>    at  
> Gallio. 
> Runner.Drivers.HostedTestDriver.DoWithPartitions(TestPackageConfig  
> testPackageConfig, Action`1 action, Action`1 setStatus) in c:\RelEng 
> \Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runner\Drivers 
> \HostedTestDriver.cs:line 113
>
>    at  
> Gallio. 
> Runner. 
> Drivers. 
> AggregateTestDriver.ExploreOrRunEachPartition(TestPackageConfig  
> testPackageConfig, ITestExplorationListener testExplorationListener,  
> ITestExecutionListener testExecutionListener, PartitionAction  
> action, IProgressMonitor progressMonitor) in c:\RelEng\Projects 
> \MbUnit v3.0.6\Work\src\Gallio\Gallio\Runner\Drivers 
> \AggregateTestDriver.cs:line 74
>
>    at  
> Gallio.Runner.Drivers.AggregateTestDriver.RunImpl(TestPackageConfig  
> testPackageConfig, TestExplorationOptions testExplorationOptions,  
> ITestExplorationListener testExplorationListener,  
> TestExecutionOptions testExecutionOptions, ITestExecutionListener  
> testExecutionListener, IProgressMonitor progressMonitor) in c:\RelEng 
> \Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runner\Drivers 
> \AggregateTestDriver.cs:line 60
>
>    at Gallio.Runner.Drivers.BaseTestDriver.Run(TestPackageConfig  
> testPackageConfig, TestExplorationOptions testExplorationOptions,  
> ITestExplorationListener testExplorationListener,  
> TestExecutionOptions testExecutionOptions, ITestExecutionListener  
> testExecutionListener, IProgressMonitor progressMonitor) in c:\RelEng 
> \Projects\MbUnit v3.0.6\Work\src\Gallio\Gallio\Runner\Drivers 
> \BaseTestDriver.cs:line 92
>
>    at Gallio.Runner.DefaultTestRunner.Run(TestPackageConfig  
> testPackageConfig, TestExplorationOptions testExplorationOptions,  
> TestExecutionOptions testExecutionOptions, IProgressMonitor  
> progressMonitor) in c:\RelEng\Projects\MbUnit v3.0.6\Work\src\Gallio 
> \Gallio\Runner\DefaultTestRunner.cs:line 292
>
> [14:06:10]:
>
>
>
> Any ideas?
>
>
>
> Thanks!
>
>
>
> Greets,
> Bruno
>
> <BR
>
>
> >
> Bruno
> <BR
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google  
> Groups "MbUnit.User" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/MbUnitUser?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
> >
> r>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to