Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-285985: All MSTests failed because of access denied to a SQL CE database file

$
0
0
Reporter Philippe Peuret (capgemini_ppe) Philippe Peuret (capgemini_ppe)
Created Dec 8, 2011 2:48:52 PM
Updated Dec 27, 2011 5:36:03 PM
Priority Critical
Type Bug
Fix versions 6.1.1
State Submitted
Assignee Victor Kropp (victor.kropp)
Subsystem Unit Testing
Affected versions 6.1
Fixed in build No Fixed in build
Hello,

With Resharper 6.1.25.135, all MSTests failed.

For running of unit tests on Persistance with NHibernate and SQL CE, all files are copied in this folder :
...\Xxx.Infrastructure.Persistance.Tests\bin\Debug\TestResults\MyWindowsLogin_ST3886 2011-12-08 11_13_01\Out

In the "Out" folder, the database files created for tests is created with ReadOnly attribute !
So, impossible to configure database on test initialisation.

The error message :

* Database was not configured through Database method.
—> System.Data.SqlServerCe.SqlCeException: L'accès au fichier de base de données n'est pas autorisé. [ 1884,File name = BaseTestUnitaire.sdf,SeCreateFile ].

Thank you

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>