Hi guys!
I wrote an application in c#..so..when i debug every think works well!
But...whe i pack it using IstallShield and put it on another computer i don't know why
it does not save data into database.
I put on the machine the Runtime access..so where i'm wrong?
Please help me!
My connection string:
InitializeComponent();
con.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\BDIAI.accdb;Persist Security Info=False;";

Guest UserRank #816 · 2.8K reputationPosted Nov 2, 2016, 6:09 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Nov 6, 2016, 1:45 AM EST
Guest User111 reputationPosted Nov 6, 2016, 8:41 AM EST
Guys i put the link to download the complete project, in this way you can verify the problem that I can not find.
The problem is that once packed (InstallShield, VisualStudio, ClikOnce) in any way the data are stored in the database (access.accdb) .In Debug version everything works fine!
The second computer windows10 where I installed to test the release has:Runtime access 2013, Adonet, ODBC
I really do not know how to solve it
Please help me!
Thank you!
https://www.dropbox.com/sh/r6uqh16zbqv674c/AABwoANP8vRrREdPG2Homn8va?dl=0
Guest User111 reputationPosted Nov 2, 2016, 6:24 AM EDT
I installed Runtime access...is not enought?
No error...simply does not save data...
Guest User111 reputationPosted Nov 2, 2016, 10:32 AM EDT
Guest User111 reputationPosted Nov 4, 2016, 3:49 AM EDT
Yes Man ODBC driver is installed(i cheked to be sure).
No errors..simply does not save data...it happens just in the release..
Guest UserRank #816 · 2.8K reputationPosted Nov 4, 2016, 3:50 AM EDT
Guest User111 reputationPosted Nov 6, 2016, 1:39 AM EDT