-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests with csv datasource for platform x64 failing with error "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine." #325
Comments
User needs to install AccessDatabaseEngine_64.exe along with the fix to make this scenario work, Otherwise following error message will appears.
|
I am using the Visual Studio 2017 with the latest update and installed AccessDatabaseEngine_X64.exe. My csv data driven tests are still failing with "Microsoft.VisualStudio.TestTools.DataSource.CSV" when I use x64 in my test settings file. It seems work just fine with x86. Now how do i get this fix that you are talking about in my visual studio. |
What is the test adapter version you are using, Please share sample repro. The fix is not yet release in stable nuget package. You can update your |
I thought I was using MSTest adapter but it looks like I was wrong. I am using CodedUI tests and whatever default adapter Visual Studio 2017 comes with for Coded UI tests. I have a mix of API tests which are written as pure Unit Tests and UI tests which are Coded UI tests. The repro steps are exactly the same as described by you in this issue. |
Also moves the tasks dll to netstandard.library to improve our ability to merge dependencies
Description
CSV datasource tests for /platform:x64 fails with error "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine."
Steps to reproduce
Create MSTest v1/v2 test project
Add CSV datasource tests, example below:
[TestClass]
public class UnitTest1
{
public TestContext TestContext
{
get;
set;
}
}
3 Run tests with /platform:x64
Expected behavior
Tests should pass.
Actual behavior
The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (https://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library.
Error details: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
The text was updated successfully, but these errors were encountered: