MDF database become read only after creating setup file

  • Thread starter Thread starter kachani_anil
  • Start date Start date
K

kachani_anil

Guest
HI,

I created a setup file for my project using local database (SQL Server) project is working fine but unable to update or add any data in database coz it become read only database unable to understand why this happening.

Please help

here is my app.config string

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="Agrasen_enterprises.My.MySettings.AgrasenentConnectionString"
connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\db\Agrasenent.mdf;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>

Continue reading...
 

Similar threads

D
Replies
0
Views
768
DexterCamarillo
D
D
Replies
0
Views
714
DexterCamarillo
D
D
Replies
0
Views
305
DexterCamarillo
D
G
Replies
0
Views
126
Gidmaestro
G
Back
Top