Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

The platform-independent code with Mono: Client-server application sample

, 24 Mar 2010 CPOL
This article shows how we can develop the platform-independent software with Mono usage
InfoCenter.zip
InfoCenter
ConfigSamples
InfoCenter.Agent
Agent.pidb
Agent.userprefs
bin
Debug
Agent.exe
Agent.exe.mdb
Agent.pdb
Entities
Helpers
ObjectSerializer.cs~
obj
x86
Debug
TempPE
Service
InfoCenterService.wsdl
InfoCenter.Logic
Agent
Entities
Helpers
bin
Debug
Antlr3.Runtime.dll
Iesi.Collections.dll
InfoCenter.Logic.dll
InfoCenter.Logic.dll.mdb
InfoCenter.Logic.pdb
InfoCenter.Persistence.dll
InfoCenter.Persistence.dll.mdb
InfoCenter.Persistence.pdb
log4net.dll
Release
InfoCenter.Logic.pidb
obj
Debug
InfoCenter.Logic.dll
InfoCenter.Logic.pdb
ResolveAssemblyReference.cache
TempPE
Properties
InfoCenter.Logic.Tests
bin
Debug
Antlr3.Runtime.dll
Castle.Core.dll
Castle.DynamicProxy2.dll
Iesi.Collections.dll
InfoCenter.Logic.dll
InfoCenter.Logic.dll.mdb
InfoCenter.Logic.pdb
InfoCenter.Logic.Tests.dll
InfoCenter.Logic.Tests.dll.mdb
InfoCenter.Logic.Tests.pdb
InfoCenter.Persistence.dll
InfoCenter.Persistence.dll.mdb
InfoCenter.Persistence.pdb
log4net.dll
MySql.Data.dll
NHibernate.ByteCode.Castle.dll
nunit.framework.dll
Release
InfoCenter.Logic.Tests.pidb
obj
Debug
InfoCenter.Logic.Tests.dll
InfoCenter.Logic.Tests.pdb
ResolveAssemblyReference.cache
TempPE
Properties
test-results
InfoCenter.Logic.Tests.csproj.test-cache
InfoCenter.Persistence
bin
Debug
Antlr3.Runtime.dll
Iesi.Collections.dll
InfoCenter.Persistence.dll
InfoCenter.Persistence.dll.mdb
InfoCenter.Persistence.pdb
log4net.dll
Release
Core
Entities
InfoCenter.Persistence.pidb
Mapping
obj
Debug
InfoCenter.Persistence.dll
InfoCenter.Persistence.pdb
ResolveAssemblyReference.cache
TempPE
Properties
InfoCenter.Persistence.Test
bin
Debug
Antlr3.Runtime.dll
Castle.Core.dll
Castle.DynamicProxy2.dll
Iesi.Collections.dll
InfoCenter.Persistence.dll
InfoCenter.Persistence.dll.mdb
InfoCenter.Persistence.pdb
InfoCenter.Persistence.Tests.dll
InfoCenter.Persistence.Tests.dll.mdb
InfoCenter.Persistence.Tests.pdb
log4net.dll
MySql.Data.dll
NHibernate.ByteCode.Castle.dll
NHibernate.dll
nunit.framework.dll
Release
InfoCenter.Persistence.Tests.pidb
obj
Debug
InfoCenter.Persistence.Test.dll
InfoCenter.Persistence.Test.pdb
InfoCenter.Persistence.Tests.dll
InfoCenter.Persistence.Tests.pdb
ResolveAssemblyReference.cache
TempPE
Properties
test-results
InfoCenter.Persistence.Tests.csproj.test-cache
InfoCenter.userprefs
InfoCenter.WebConsole
bin
Antlr3.Runtime.dll
Castle.Core.dll
Castle.DynamicProxy2.dll
Iesi.Collections.dll
InfoCenter.Logic.dll
InfoCenter.Logic.dll.mdb
InfoCenter.Logic.pdb
InfoCenter.Persistence.dll
InfoCenter.Persistence.dll.mdb
InfoCenter.Persistence.pdb
InfoCenter.WebConsole.dll
InfoCenter.WebConsole.dll.mdb
InfoCenter.WebConsole.pdb
log4net.dll
MySql.Data.dll
NHibernate.ByteCode.Castle.dll
Global.asax
InfoCenter.WebConsole.pidb
InfoCenter.WebConsole.userprefs
SharedLibs
Antlr3.Runtime.dll
Castle.Core.dll
Castle.DynamicProxy2.dll
Iesi.Collections.dll
log4net.dll
MySql.Data.dll
NHibernate.ByteCode.Castle.dll
NHibernate.dll
nunit.framework.dll
test-results
<?xml version="1.0" encoding="utf-8"?>
<TestRecord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Results>
    <UnitTestResult>
      <TestDate>2010-03-17T21:59:45</TestDate>
      <Status>Failure</Status>
      <TotalFailures>5</TotalFailures>
      <TotalSuccess>0</TotalSuccess>
      <TotalIgnored>0</TotalIgnored>
      <Time />
      <Message>Child test failed</Message>
    </UnitTestResult>
    <UnitTestResult>
      <TestDate>2010-03-17T22:01:12</TestDate>
      <Status>Failure</Status>
      <TotalFailures>5</TotalFailures>
      <TotalSuccess>0</TotalSuccess>
      <TotalIgnored>0</TotalIgnored>
      <Time />
      <Message>Child test failed</Message>
    </UnitTestResult>
    <UnitTestResult>
      <TestDate>2010-03-17T22:02:59</TestDate>
      <Status>Success</Status>
      <TotalFailures>0</TotalFailures>
      <TotalSuccess>5</TotalSuccess>
      <TotalIgnored>0</TotalIgnored>
      <Time />
    </UnitTestResult>
    <UnitTestResult>
      <TestDate>2010-03-17T22:03:45</TestDate>
      <Status>Success</Status>
      <TotalFailures>0</TotalFailures>
      <TotalSuccess>5</TotalSuccess>
      <TotalIgnored>0</TotalIgnored>
      <Time />
    </UnitTestResult>
  </Results>
  <Tests>
    <TestRecord Name="InfoCenter">
      <Results>
        <UnitTestResult>
          <TestDate>2010-03-17T21:59:45</TestDate>
          <Status>Failure</Status>
          <TotalFailures>5</TotalFailures>
          <TotalSuccess>0</TotalSuccess>
          <TotalIgnored>0</TotalIgnored>
          <Time />
          <Message>Child test failed</Message>
        </UnitTestResult>
        <UnitTestResult>
          <TestDate>2010-03-17T22:01:12</TestDate>
          <Status>Failure</Status>
          <TotalFailures>5</TotalFailures>
          <TotalSuccess>0</TotalSuccess>
          <TotalIgnored>0</TotalIgnored>
          <Time />
          <Message>Child test failed</Message>
        </UnitTestResult>
        <UnitTestResult>
          <TestDate>2010-03-17T22:02:59</TestDate>
          <Status>Success</Status>
          <TotalFailures>0</TotalFailures>
          <TotalSuccess>5</TotalSuccess>
          <TotalIgnored>0</TotalIgnored>
          <Time />
        </UnitTestResult>
        <UnitTestResult>
          <TestDate>2010-03-17T22:03:45</TestDate>
          <Status>Success</Status>
          <TotalFailures>0</TotalFailures>
          <TotalSuccess>5</TotalSuccess>
          <TotalIgnored>0</TotalIgnored>
          <Time />
        </UnitTestResult>
      </Results>
      <Tests>
        <TestRecord Name="Logic">
          <Results>
            <UnitTestResult>
              <TestDate>2010-03-17T21:59:45</TestDate>
              <Status>Failure</Status>
              <TotalFailures>5</TotalFailures>
              <TotalSuccess>0</TotalSuccess>
              <TotalIgnored>0</TotalIgnored>
              <Time />
              <Message>Child test failed</Message>
            </UnitTestResult>
            <UnitTestResult>
              <TestDate>2010-03-17T22:01:12</TestDate>
              <Status>Failure</Status>
              <TotalFailures>5</TotalFailures>
              <TotalSuccess>0</TotalSuccess>
              <TotalIgnored>0</TotalIgnored>
              <Time />
              <Message>Child test failed</Message>
            </UnitTestResult>
            <UnitTestResult>
              <TestDate>2010-03-17T22:02:59</TestDate>
              <Status>Success</Status>
              <TotalFailures>0</TotalFailures>
              <TotalSuccess>5</TotalSuccess>
              <TotalIgnored>0</TotalIgnored>
              <Time />
            </UnitTestResult>
            <UnitTestResult>
              <TestDate>2010-03-17T22:03:45</TestDate>
              <Status>Success</Status>
              <TotalFailures>0</TotalFailures>
              <TotalSuccess>5</TotalSuccess>
              <TotalIgnored>0</TotalIgnored>
              <Time />
            </UnitTestResult>
          </Results>
          <Tests>
            <TestRecord Name="Tests">
              <Results>
                <UnitTestResult>
                  <TestDate>2010-03-17T21:59:45</TestDate>
                  <Status>Failure</Status>
                  <TotalFailures>5</TotalFailures>
                  <TotalSuccess>0</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                  <Message>Child test failed</Message>
                </UnitTestResult>
                <UnitTestResult>
                  <TestDate>2010-03-17T22:01:12</TestDate>
                  <Status>Failure</Status>
                  <TotalFailures>5</TotalFailures>
                  <TotalSuccess>0</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                  <Message>Child test failed</Message>
                </UnitTestResult>
                <UnitTestResult>
                  <TestDate>2010-03-17T22:02:59</TestDate>
                  <Status>Success</Status>
                  <TotalFailures>0</TotalFailures>
                  <TotalSuccess>5</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                </UnitTestResult>
                <UnitTestResult>
                  <TestDate>2010-03-17T22:03:45</TestDate>
                  <Status>Success</Status>
                  <TotalFailures>0</TotalFailures>
                  <TotalSuccess>5</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                </UnitTestResult>
              </Results>
              <Tests>
                <TestRecord Name="Test_PacketParser">
                  <Results>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:59:45</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>5</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.MySqlDataDriver.
  ----&gt; System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----&gt; NHibernate.HibernateException : The IDbCommand and IDbConnection implementation in the assembly MySql.Data could not be found. Ensure that the assembly MySql.Data is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use &lt;qualifyAssembly/&gt; element in the application configuration file to specify the full name of the assembly.</Message>
                      <StackTrace>  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.Configure (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaExport.Execute (System.Action`1 scriptAction, Boolean export, Boolean justDrop) [0x00000] in &lt;filename unknown&gt;:0 
--TargetInvocationException
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0012c] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:506 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:515 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:337 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:219 
  at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance (System.Type type) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
--HibernateException
  at NHibernate.Driver.ReflectionBasedDriver..ctor (System.String driverAssemblyName, System.String connectionTypeName, System.String commandTypeName) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Driver.MySqlDataDriver..ctor () [0x00000] in &lt;filename unknown&gt;:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:500 </StackTrace>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:01:12</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>5</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.MySqlDataDriver.
  ----&gt; System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----&gt; NHibernate.HibernateException : The IDbCommand and IDbConnection implementation in the assembly MySql.Data could not be found. Ensure that the assembly MySql.Data is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use &lt;qualifyAssembly/&gt; element in the application configuration file to specify the full name of the assembly.</Message>
                      <StackTrace>  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.Configure (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaExport.Execute (System.Action`1 scriptAction, Boolean export, Boolean justDrop) [0x00000] in &lt;filename unknown&gt;:0 
--TargetInvocationException
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0012c] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:506 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:515 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:337 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:219 
  at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance (System.Type type) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
--HibernateException
  at NHibernate.Driver.ReflectionBasedDriver..ctor (System.String driverAssemblyName, System.String connectionTypeName, System.String commandTypeName) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Driver.MySqlDataDriver..ctor () [0x00000] in &lt;filename unknown&gt;:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:500 </StackTrace>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:01:25</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>5</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.MySqlDataDriver.
  ----&gt; System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----&gt; NHibernate.HibernateException : The IDbCommand and IDbConnection implementation in the assembly MySql.Data could not be found. Ensure that the assembly MySql.Data is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use &lt;qualifyAssembly/&gt; element in the application configuration file to specify the full name of the assembly.</Message>
                      <StackTrace>  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.Configure (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.SettingsFactory.BuildSettings (IDictionary`2 properties) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.BuildSettings () [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.BuildSessionFactory () [0x00000] in &lt;filename unknown&gt;:0 
  at InfoCenter.Persistence.Initializer.GetSessionFactory (Boolean isNeedRecreateScheme) [0x0002f] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Initializer.cs:26 
  at InfoCenter.Logic.Tests.Test_PacketParser.InitNHibernate () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic.Tests/Test_PacketParser.cs:30 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 
--TargetInvocationException
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0012c] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:506 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:515 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:337 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:219 
  at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance (System.Type type) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
--HibernateException
  at NHibernate.Driver.ReflectionBasedDriver..ctor (System.String driverAssemblyName, System.String connectionTypeName, System.String commandTypeName) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Driver.MySqlDataDriver..ctor () [0x00000] in &lt;filename unknown&gt;:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:500 </StackTrace>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:01:50</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>5</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:02:28</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>5</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:02:39</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>5</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:02:59</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>5</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:03:45</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>5</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                  </Results>
                  <Tests>
                    <TestRecord Name="CanAddInfoFromAgent">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:12</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:25</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:50</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Logic.PacketParser.AddInfo (System.String compressedInfo) [0x00029] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic/PacketParser.cs:39 
  at InfoCenter.Logic.Tests.Test_PacketParser.CanAddInfoFromAgent () [0x00027] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic.Tests/Test_PacketParser.cs:79 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:28</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.38ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:39</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.38ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.29ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.28ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                    <TestRecord Name="CanAddProcessesFromAgent">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:12</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:25</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:50</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Logic.PacketParser.AddProcesses (System.String compName, System.String compressedProcesses) [0x0001d] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic/PacketParser.cs:84 
  at InfoCenter.Logic.Tests.Test_PacketParser.CanAddProcessesFromAgent () [0x00012] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic.Tests/Test_PacketParser.cs:97 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:28</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.32ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:39</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.46ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.32ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.42ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                    <TestRecord Name="CanCompressAndDecompress">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                    <TestRecord Name="DirtyCanAddInfoFromAgent">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:12</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:25</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:50</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Logic.PacketParser.AddInfo (System.String compressedInfo) [0x00029] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic/PacketParser.cs:39 
  at InfoCenter.Logic.Tests.Test_PacketParser.CanAddInfoFromAgent () [0x00027] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic.Tests/Test_PacketParser.cs:79 
  at InfoCenter.Logic.Tests.Test_PacketParser.DirtyCanAddInfoFromAgent () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic.Tests/Test_PacketParser.cs:117 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:28</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.01ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:39</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.01ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.01ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.01ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                    <TestRecord Name="DirtyCanAddProcessesFromAgent">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:12</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:25</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:50</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Logic.PacketParser.AddProcesses (System.String compName, System.String compressedProcesses) [0x0001d] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic/PacketParser.cs:84 
  at InfoCenter.Logic.Tests.Test_PacketParser.CanAddProcessesFromAgent () [0x00012] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic.Tests/Test_PacketParser.cs:97 
  at InfoCenter.Logic.Tests.Test_PacketParser.DirtyCanAddProcessesFromAgent () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic.Tests/Test_PacketParser.cs:123 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:28</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.47ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:39</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.51ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.36ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.39ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                    <TestRecord Name="CanAAACompressAndDecompress">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:12</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:25</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_PacketParser</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:01:50</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.MySqlDataDriver.
  ----&gt; System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----&gt; NHibernate.HibernateException : The IDbCommand and IDbConnection implementation in the assembly MySql.Data could not be found. Ensure that the assembly MySql.Data is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use &lt;qualifyAssembly/&gt; element in the application configuration file to specify the full name of the assembly.</Message>
                          <StackTrace>  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.Configure (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.SettingsFactory.BuildSettings (IDictionary`2 properties) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.BuildSettings () [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.BuildSessionFactory () [0x00000] in &lt;filename unknown&gt;:0 
  at InfoCenter.Persistence.Initializer.GetSessionFactory (Boolean isNeedRecreateScheme) [0x0002f] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Initializer.cs:26 
  at InfoCenter.Logic.Tests.Test_PacketParser.InitNHibernate () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic.Tests/Test_PacketParser.cs:30 
  at InfoCenter.Logic.Tests.Test_PacketParser.CanAAACompressAndDecompress () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Logic.Tests/Test_PacketParser.cs:38 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 
--TargetInvocationException
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0012c] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:506 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:515 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:337 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:219 
  at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance (System.Type type) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
--HibernateException
  at NHibernate.Driver.ReflectionBasedDriver..ctor (System.String driverAssemblyName, System.String connectionTypeName, System.String commandTypeName) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Driver.MySqlDataDriver..ctor () [0x00000] in &lt;filename unknown&gt;:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:500 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError>22:01:52,193 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlConnection, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
22:01:52,213 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlCommand, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
</ConsoleError>
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:28</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.92ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:39</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.03ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.02ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                  </Tests>
                </TestRecord>
              </Tests>
            </TestRecord>
          </Tests>
        </TestRecord>
      </Tests>
    </TestRecord>
  </Tests>
</TestRecord>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Ilya Builuk
Software Developer (Senior) Nokia
Germany Germany
Interested in design/development of framework functionality using the best patterns and practices.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 24 Mar 2010
Article Copyright 2010 by Ilya Builuk
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid