Please right-click the folder “C:\AceSA\App_Data\” which contains the database files, open “Property | Security”. Then add ASPNET (or "NetworkService” account, for an application that runs on IIS 6.0) and grant it full access to the folder and all files inside.
For some reasons, we might need to add “SYSTEM” and “ASPNET” account as well under some circumstances.
Based on your current connection string, I think the you would like to attach the database is to SQL Server Express instance not SQL Server Express user instance.
If we don’t work with user instance, the database will be attached in SQL Server instance until we detached it manually. We can find it in SQL Server Management Studio.
Please open SQL Server Management Studio Express, connect to the SQL Server Express instance “.\SQLEXPRESS” and check if you can see the database. If you can see it, which means the database has been attached to your SQL Server Express instance and we can modify the connection string as below:
<add name="testConnectionString" connectionString="Data Source=.\sqlexpress;Initial Catalog=test;Integrated Security=True" providerName="System.Data.SqlClient" />