Also, what assembly(s) are you attempting to load?  If you are attempting to
load an assembly that doesn't include test fixtures, MbUnit may be spitting
them back up.

Marcus

On 11/15/06, Andrew Stopford <[EMAIL PROTECTED]> 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.
> >
> >
> >
> > > >
> >


-- 
Marcus Griep
——
Graduate Student/Teaching Assistant
Departments of Computer Science, Information Technology
Rensselaer Polytechnic Institute
את.ψο´

--~--~---------~--~----~------------~-------~--~----~
 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