locked
VS2008 Unit Test FileNotFound Exception RRS feed

  • 問題

  •  

    Hi,

    I have written a web application using ASP.NET , in my web, I have use Crystal Report to create some report as a part of my web.

    The web can build/debug/rebuild without error.

    But

    If I use Unit Test Wizard to generate the test code, a "FileNotFound" exception is popup, I have double checked the reference link in my project, but seems there is no error with the reference link.

     

    Error Screen cap:

    http://i32.tinypic.com/15nohe8.jpg

     

    Please help.

    2008年6月11日 上午 01:59

解答

  • try to copy the CrystalDecisions.CrystalReports.Engine.dll to your "bin" folder from

    C:\Program Files\Business Objects\Common\2.8\managed

    or

    C:\Program Files\Common Files\Business Objects\2.7\Managed

     

    if you have found some newer, just copy the newer one

    2008年6月24日 上午 04:39