使用SQL Server 2008的DbFit异常

时间:2012-06-11 16:24:22

标签: .net fitsharp dbfit

dbFit新手。下载的版本dbfit 1.1成功执行了查询,但一个查询除外。该查询将超时。

当我使用针对超时的修复程序更新 - https://github.com/jediwhale/fitsharp时,将失败。

然后返回以下错误:

    System.ApplicationException: Type 'dbfit.sqlserver' could not be found in  assemblies.
   Assemblies searched:    file:///C:/fitnesse20090321/fitnesse/dotnet/FitLibrary.DLL
file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
file:///C:/fitnesse20090321/fitnesse/dotnet/FitServer.exe
file:///C:/fitnesse20090321/fitnesse/dotnet/fit.DLL
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
         file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
      Load errors: Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\dotnet\dbfit.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded., Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\dotnet\dbfit.sqlserver.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded., Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\dotnet\dbfit.sybase.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded., Could not load file or assembly           'file:///C:\fitnesse20090321\fitnesse\dotnet\fitSharp.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded., Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\classes' or one of its dependencies. The system cannot find the file specified., Could not load file or assembly 'file:///C:\fitnesse20090321\fitnesse\fitnesse.jar' or one of its dependencies. The module was expected to contain an assembly manifest.
  at fit.Assemblies.FindType(TypeName theName)
  at fit.TypeName.get_Type()
 at fit.TypeName.CreateInstance()
  at fit.Fixture.LoadClass(String theClassName)
  at fit.StoryTest.DoTables()

关于解决方案的任何想法?

1 个答案:

答案 0 :(得分:0)

您获得了哪些下载?听起来你为.Net Framework的不同版本下载了一个zip文件,而其他软件正在使用它(所以4.0而不是2.0。)