Andrew & Marcus, Thanks a lot for your help. I just tried to run the same tests on different Win 2000 machine and MbUnit.Console ran them fine. I have to see what's different on that machine. I'll let you know if I find out anything.
Andrew Stopford wrote: > Do the two machines run any different versions of .NET, i.e. does one run > 1.1 as well 2.0 ? > > Thanks > > Andy > > > On 11/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Win 2000 & XP both have the same version .NET which is 2.0. Another > > thing I failed to mentioned that some test reference NUnit.Framework. > > But like I said before it works fine on XP. Assemblies do have test > > fixtures. > > > > Andrew Stopford wrote: > > > Hi, > > > > > > What versions of ,NET do you have installed on your windows 2000 machine > > and > > > does that differ from your XP machine? > > > > > > Thanks > > > > > > Andy > > > > > > > > > On 11/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > I posted this question yesterday in MbUnit.Dev group. I just realized > > > > that it's probably a wrong group to post this type of question. > > > > Because I still have this problem, I'm reposting the question in this > > > > group. Thank you. > > > > > > > > I have the following message when I try to run MbUnit console on > > > > Windows 2000 machine; however, it works fine on XP. > > > > > > > > [info] Loading test assemblies > > > > System.ApplicationException: Failed loading assemblies ---> > > > > System.ApplicationException: Failed loading TestDomain ---> > > > > System.Exception: Failed loadi > > > > ng assembly ---> System.Runtime.Remoting.RemotingException: The > > > > argument type 'MbUnit.Core.Filters.AnyTypeFilter' cannot be converted > > > > into parameter t > > > > ype 'MbUnit.Core.Filters.ITypeFilter'. ---> > > > > System.InvalidCastException: Object must implement IConvertible. > > > > at System.Convert.ChangeType(Object value, Type conversionType, > > > > IFormatProvider provider) > > > > at System.Runtime.Remoting.Messaging.Message.CoerceArg(Object value, > > > > Type pt) > > > > --- End of inner exception stack trace --- > > > > > > > > Server stack trace: > > > > at System.Runtime.Remoting.Messaging.Message.CoerceArg(Object value, > > > > Type pt) > > > > at System.Runtime.Remoting.Messaging.Message.CoerceArgs(MethodBase > > > > mb, Object[] args, ParameterInfo[] pi) > > > > at > > > > System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage > > > > (IMessage > > > > msg, Int32 methodPtr, Boolean fExecuteInContext) > > > > > > > > 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 MbUnit.Core.Remoting.FixtureExplorer.set_TypeFilter(ITypeFilter > > > > value) > > > > at MbUnit.Core.Remoting.TestDomainBase.SetFilters() > > > > at MbUnit.Core.Remoting.TestDomainBase.InitializeEngine() > > > > --- End of inner exception stack trace --- > > > > at MbUnit.Core.Remoting.TestDomainBase.InitializeEngine() > > > > at MbUnit.Core.Remoting.TestDomainBase.Load() > > > > --- End of inner exception stack trace --- > > > > at MbUnit.Core.Remoting.TestDomainBase.Load() > > > > at > > > > MbUnit.Core.Graph.TestDomainDependencyGraph.AddDomain(TestDomainBase > > > > domain) > > > > at MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[] > > > > testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter, > > > > IRunPipeFi > > > > lter runPipeFilter, Boolean verbose) > > > > --- End of inner exception stack trace --- > > > > at MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[] > > > > testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter, > > > > IRunPipeFi > > > > lter runPipeFilter, Boolean verbose) > > > > at MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[] > > > > testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter, > > > > Boolean ve > > > > rbose) > > > > at MbUnit.Core.Cons.MainClass.Main() > > > > > > > > Any idea? > > > > > > > > Thanx. > > > > > > > > > > > > > > > > > > > > > > > ------=_Part_59383_11649840.1163620285637 > > > Content-Type: text/html; charset=ISO-8859-1 > > > X-Google-AttachSize: 3782 > > > > > > <div>Hi,</div> > > > <div> </div> > > > <div>What versions of ,NET do you have installed on your windows 2000 > > machine and does that differ from your XP machine?</div> > > > <div> </div> > > > <div>Thanks</div> > > > <div> </div> > > > <div>Andy<br><br> </div> > > > <div><span class="gmail_quote">On 11/15/06, <b > > class="gmail_sendername"><a href="mailto:[EMAIL PROTECTED]"> > > [EMAIL PROTECTED]</a></b> <<a href="mailto:[EMAIL PROTECTED]"> > > [EMAIL PROTECTED]</a>> wrote:</span> > > > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px > > 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>I posted this question > > yesterday in MbUnit.Dev group. I just realized<br>that it's > > probably a wrong group to post this type of question. > > > <br>Because I still have this problem, I'm reposting the question in > > this<br>group. Thank you.<br><br>I have the following message > > when I try to run MbUnit console on<br>Windows 2000 machine; however, it > > works fine on XP. > > > <br><br>[info] Loading test assemblies<br>System.ApplicationException: > > Failed loading assemblies ---><br>System.ApplicationException: Failed > > loading TestDomain ---><br>System.Exception: Failed loadi<br>ng > > assembly ---> > > > System.Runtime.Remoting.RemotingException: The<br>argument type ' > > MbUnit.Core.Filters.AnyTypeFilter' cannot be converted<br>into parameter > > t<br>ype 'MbUnit.Core.Filters.ITypeFilter'. ---><br> > > System.InvalidCastException: Object must implement IConvertible. > > > <br> at System.Convert.ChangeType(Object value, Type > > conversionType,<br>IFormatProvider provider)<br> at > > System.Runtime.Remoting.Messaging.Message.CoerceArg(Object value,<br>Type > > pt)<br> --- End of inner exception stack trace --- > > > <br><br>Server stack trace:<br> at > > System.Runtime.Remoting.Messaging.Message.CoerceArg(Object value,<br>Type > > pt)<br> at > > System.Runtime.Remoting.Messaging.Message.CoerceArgs(MethodBase<br>mb, > > Object[] args, ParameterInfo[] pi) > > > <br> at<br> > > System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage<br>msg, > > Int32 methodPtr, Boolean fExecuteInContext)<br><br>Exception rethrown at > > [0]:<br> at<br> > > System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage > > > (IMessage<br>reqMsg, IMessage retMsg)<br> at<br> > > System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&<br>msgData, > > Int32 type)<br> at > > MbUnit.Core.Remoting.FixtureExplorer.set_TypeFilter(ITypeFilter<br> > > > value)<br> at > > > MbUnit.Core.Remoting.TestDomainBase.SetFilters()<br> at > > MbUnit.Core.Remoting.TestDomainBase.InitializeEngine()<br> --- > > End of inner exception stack trace ---<br> at > > MbUnit.Core.Remoting.TestDomainBase.InitializeEngine > > > ()<br> at > > > MbUnit.Core.Remoting.TestDomainBase.Load()<br> --- > > End of inner exception stack trace ---<br> at > > MbUnit.Core.Remoting.TestDomainBase.Load()<br> at<br> > > MbUnit.Core.Graph.TestDomainDependencyGraph.AddDomain(TestDomainBase > > > <br>domain)<br> at > > MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[]<br>testAssemblies, > > String[] assemblyPaths, IFixtureFilter fixtureFilter,<br>IRunPipeFi<br>lter > > runPipeFilter, Boolean verbose)<br> --- End of inner exception > > stack trace --- > > > <br> at > > MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[]<br>testAssemblies, > > String[] assemblyPaths, IFixtureFilter fixtureFilter,<br>IRunPipeFi<br>lter > > runPipeFilter, Boolean verbose)<br> at > > MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph > > > (String[]<br>testAssemblies, String[] assemblyPaths, IFixtureFilter > > fixtureFilter,<br>Boolean ve<br>rbose)<br> at > > MbUnit.Core.Cons.MainClass.Main()<br><br>Any > > idea?<br><br>Thanx.<br><br><br> > > > ------=_Part_59383_11649840.1163620285637-- > > > > > > > > > > > ------=_Part_62983_19264741.1163635308983 > Content-Type: text/html; charset=ISO-8859-1 > X-Google-AttachSize: 10412 > > <div>Do the two machines run any different versions of .NET, i.e. does one > run 1.1 as well 2.0 ?</div> > <div> </div> > <div>Thanks</div> > <div> </div> > <div>Andy<br><br> </div> > <div><span class="gmail_quote">On 11/15/06, <b class="gmail_sendername"><a > href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a></b> <<a > href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>> wrote:</span> > <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px > 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Win 2000 & XP both have the same > version .NET which is 2.0. Another<br>thing I failed to mentioned > that some test reference > NUnit.Framework.<br>But like I said before it works fine on XP. > Assemblies do have test<br>fixtures.<br><br>Andrew Stopford wrote:<br>> > Hi,<br>><br>> What versions of ,NET do you have installed on your > windows 2000 machine and > <br>> does that differ from your XP machine?<br>><br>> > Thanks<br>><br>> Andy<br>><br>><br>> On 11/15/06, <a > href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a> <<a > href="mailto:[EMAIL PROTECTED]"> > [EMAIL PROTECTED]</a>> wrote:<br>> ><br>> ><br>> > I > posted this question yesterday in MbUnit.Dev group. I just > realized<br>> > that it's probably a wrong group to post this type of > question.<br> > > > Because I still have this problem, I'm reposting the question in > this<br>> > group. Thank you.<br>> ><br>> > I > have the following message when I try to run MbUnit console on<br>> > > Windows 2000 machine; however, it works fine on XP. > <br>> ><br>> > [info] Loading test assemblies<br>> > > System.ApplicationException: Failed loading assemblies ---><br>> > > System.ApplicationException: Failed loading TestDomain ---><br>> > > System.Exception: Failed loadi<br>> > ng assembly ---> > System.Runtime.Remoting.RemotingException: The<br>> > argument type > 'MbUnit.Core.Filters.AnyTypeFilter' cannot be converted<br>> > into > parameter t > <br>> > ype 'MbUnit.Core.Filters.ITypeFilter'. ---><br>> > > System.InvalidCastException: Object must implement IConvertible.<br>> > > at System.Convert.ChangeType(Object value, Type > conversionType,<br> > > > IFormatProvider provider)<br>> > at > System.Runtime.Remoting.Messaging.Message.CoerceArg(Object value,<br>> > > Type pt)<br>> > --- End of inner exception stack trace > ---<br>> ><br>> > Server stack trace: > <br>> > at > System.Runtime.Remoting.Messaging.Message.CoerceArg(Object value,<br>> > > Type pt)<br>> > at > System.Runtime.Remoting.Messaging.Message.CoerceArgs(MethodBase<br>> > > mb, Object[] args, ParameterInfo[] pi) > <br>> > at<br>> > > System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage<br>> > > (IMessage<br>> > msg, Int32 methodPtr, Boolean > fExecuteInContext)<br>> ><br>> > Exception rethrown at [0]: > <br>> > at<br>> > > System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage<br>> > > reqMsg, IMessage retMsg)<br>> > at<br>> > > System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke > (MessageData&<br>> > msgData, Int32 type)<br>> > > at MbUnit.Core.Remoting.FixtureExplorer.set_TypeFilter(ITypeFilter<br>> > > value)<br>> > at > MbUnit.Core.Remoting.TestDomainBase.SetFilters()<br> > > > at > MbUnit.Core.Remoting.TestDomainBase.InitializeEngine()<br>> > > --- End of inner exception stack trace ---<br>> > > at > MbUnit.Core.Remoting.TestDomainBase.InitializeEngine()<br>> > > at MbUnit.Core.Remoting.TestDomainBase.Load > ()<br>> > --- End of inner exception stack trace > ---<br>> > at > MbUnit.Core.Remoting.TestDomainBase.Load()<br>> > > at<br>> > > MbUnit.Core.Graph.TestDomainDependencyGraph.AddDomain(TestDomainBase > <br>> > domain)<br>> > at > MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[]<br>> > > testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter,<br>> > > IRunPipeFi<br>> > lter runPipeFilter, Boolean verbose) > <br>> > --- End of inner exception stack trace ---<br>> > > at > MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[]<br>> > > testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter, > <br>> > IRunPipeFi<br>> > lter runPipeFilter, Boolean > verbose)<br>> > at > MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[]<br>> > > testAssemblies, String[] assemblyPaths, IFixtureFilter fixtureFilter, > <br>> > Boolean ve<br>> > rbose)<br>> > at > MbUnit.Core.Cons.MainClass.Main()<br>> ><br>> > Any idea?<br>> > ><br>> > Thanx.<br>> ><br>> ><br>> > ><br>> > > > <br>><br>> ------=_Part_59383_11649840.1163620285637<br>> > Content-Type: text/html; charset=ISO-8859-1<br>> X-Google-AttachSize: > 3782<br>><br>> <div>Hi,</div><br>> > <div>&nbsp;</div> > <br>> <div>What versions of ,NET do you have installed on your > windows 2000 machine and does that differ from your XP > machine?</div><br>> <div>&nbsp;</div><br>> > <div>Thanks</div> > <br>> <div>&nbsp;</div><br>> > <div>Andy<br><br>&nbsp;</div><br>> > <div><span class="gmail_quote">On 11/15/06, <b > class="gmail_sendername"><a href="mailto: > <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>"><a > href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a></a></b> > &lt;<a href="mailto:<a href="mailto:[EMAIL PROTECTED]">[EMAIL > PROTECTED] > </a>"><a href="mailto:[EMAIL PROTECTED]">[EMAIL > PROTECTED]</a></a>&gt; wrote:</span><br>> <blockquote > class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px > 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>I posted this > question yesterday in > MbUnit.Dev group.&nbsp;&nbsp;I just realized<br>that it's > probably a wrong group to post this type of question.<br>> > <br>Because I still have this problem, I'm reposting the question in > this<br>group.&nbsp;&nbsp;Thank you.<br><br>I have > the following message when I try to run MbUnit console on<br>Windows > 2000 machine; however, it works fine on XP. > <br>> <br><br>[info] Loading test > assemblies<br>System.ApplicationException: Failed loading assemblies > ---&gt;<br>System.ApplicationException: Failed loading TestDomain > ---&gt;<br> > System.Exception: Failed loadi<br>ng assembly ---&gt;<br>> > System.Runtime.Remoting.RemotingException: The<br>argument type > 'MbUnit.Core.Filters.AnyTypeFilter' cannot be converted<br>into > parameter t<br>ype ' > MbUnit.Core.Filters.ITypeFilter'. > ---&gt;<br>System.InvalidCastException: Object must implement > IConvertible.<br>> <br>&nbsp;&nbsp;at > System.Convert.ChangeType(Object value, Type > conversionType,<br>IFormatProvider > provider)<br>&nbsp;&nbsp;at > System.Runtime.Remoting.Messaging.Message.CoerceArg(Object > value,<br>Type pt)<br>&nbsp;&nbsp;--- End of inner > exception stack trace ---<br>> <br><br>Server stack > trace:<br>&nbsp;&nbsp;at > System.Runtime.Remoting.Messaging.Message.CoerceArg(Object > value,<br>Type pt)<br>&nbsp;&nbsp;at > System.Runtime.Remoting.Messaging.Message.CoerceArgs(MethodBase<br>mb, > Object[] args, ParameterInfo[] pi) > <br>> > <br>&nbsp;&nbsp;at<br>System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage<br>msg, > Int32 methodPtr, Boolean fExecuteInContext)<br><br>Exception > rethrown at [0]:<br>&nbsp;&nbsp;at<br> > System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage<br>> > (IMessage<br>reqMsg, IMessage > retMsg)<br>&nbsp;&nbsp;at<br>System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;<br>msgData, > Int32 type)<br>&nbsp;&nbsp;at > MbUnit.Core.Remoting.FixtureExplorer.set_TypeFilter(ITypeFilter<br><br>> > value)<br>&nbsp;&nbsp;at > MbUnit.Core.Remoting.TestDomainBase.SetFilters()<br>&nbsp;&nbsp;at > MbUnit.Core.Remoting.TestDomainBase.InitializeEngine > ()<br>&nbsp;&nbsp;--- End of inner exception stack trace > ---<br>&nbsp;&nbsp;at > MbUnit.Core.Remoting.TestDomainBase.InitializeEngine<br>> > ()<br>&nbsp;&nbsp;at MbUnit.Core.Remoting.TestDomainBase.Load > ()<br>&nbsp;&nbsp;--- End of inner exception stack trace > ---<br>&nbsp;&nbsp;at > MbUnit.Core.Remoting.TestDomainBase.Load()<br>&nbsp;&nbsp;at<br>MbUnit.Core.Graph.TestDomainDependencyGraph.AddDomain > (TestDomainBase<br>> <br>domain)<br>&nbsp;&nbsp;at > MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[]<br>testAssemblies, > String[] assemblyPaths, IFixtureFilter > fixtureFilter,<br>IRunPipeFi<br>lter runPipeFilter, Boolean > verbose)<br>&nbsp;&nbsp;--- End of inner exception stack trace > --- > <br>> <br>&nbsp;&nbsp;at > MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph(String[]<br>testAssemblies, > String[] assemblyPaths, IFixtureFilter > fixtureFilter,<br>IRunPipeFi<br>lter runPipeFilter, Boolean > verbose)<br>&nbsp;&nbsp;at > MbUnit.Core.Graph.TestDomainDependencyGraph.BuildGraph<br>> > (String[]<br>testAssemblies, String[] assemblyPaths, IFixtureFilter > fixtureFilter,<br>Boolean > ve<br>rbose)<br>&nbsp;&nbsp;at > MbUnit.Core.Cons.MainClass.Main > ()<br><br>Any > idea?<br><br>Thanx.<br><br><br><br>> > ------=_Part_59383_11649840.1163620285637--<br><br><br><br><br></blockquote></div><br> > > ------=_Part_62983_19264741.1163635308983-- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
