【问题标题】:DbFit exception using SQL server 2008使用 SQL Server 2008 的 DbFit 异常
【发布时间】:2012-06-11 16:24:21
【问题描述】:

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()

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

【问题讨论】:

    标签: .net fitsharp dbfit


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2014-01-11
      • 2013-04-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多