The unit test adapter failed to connect to the data source or to read the data.
2011-08-23 10:03
417 查看
When you encounter the error descripted as title during your unit test work, please try to change value of "Copy to Output Directory" property of your datasource file (maybe excel/xml...) to "Copy if newer".
That works to me. Hope it's also helpful for you guys.
That works to me. Hope it's also helpful for you guys.
相关文章推荐
- Unable to connect to data source (DSN: shangjihuiclient; Network Address: ; Port Number: 53397). Cannot connect to TimesTen Server. Verify that the TimesTen Server is running or verify that your TCP PORT is set correctly.
- "Failed to update database "c:\inetpub\wwwroot\WebSite1\App_Data\ASPNETDB.MDF" because the database is read-only."的解决办法
- Failed to connect to database. This release of the GeoDatabase is either invalid or out of date
- Error:The Citrix Presentation Server failed to Connect to the Data Store
- 错误解决:SharePoint Designer 2010编辑后,出现数据源控件未能执行插入命令,data source control failed to execute the insert command
- WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). .
- "Failed to update database "c:\inetpub\wwwroot\WebSite1\App_Data\ASPNETDB.MDF" because the database is read-only."的解决办法
- 【转】Vmware ESX 3.0出现“error connecting: can not connect to host x.x.x.x: a connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed……的解决方法
- fedora14下gedit出错:Failed to connect to the session manager 问题解决(su和su -两个命令的区别)
- 【解决】Xstart连接服务器桌面报错:Failed to connect to the session manager: IO error occurred opening connection
- android Failed to install *.apk on device 'emulator-5554' timeout 或者 the user data image is used解决办法
- ubuntu gedit出错:Failed to connect to the session manager
- This application failed to start because it could not find or load the Qt platform plugin "windows"
- loadrunner 连接负载机时"Failed to connect to the load generator.Check the output window for more details"
- Simple Excel to connect to the database and display filtered data.
- Consuming the Object Data Source--Binding the Object Data Source to the GridView
- startkde出现$DISPLAY is not set or cannot connect to the X server
- Centos安装mysql后无法启动,提示 Unit mysql.service failed to load:No such file or directory
- ubuntu gedit出错:Failed to connect to the session manager的问题
- git error:gpg failed to sign the data fatal: failed to write commit object