davy_g
Well-known member
Hi all,
I've made my first version of a program which is based on an Accessdatabase. I now want to let my girlfriend use it and pressed Publish. It asked me if I wanted to install it from a unc share, website or cd-rom and I picked cd-rom.
I've chosen the option not to check for updates and published my app.
I've tried to install the app by clicking setup.exe and it created a shortcut in my startmenu which is ok. Now when I run it it says that it cannot find my database.
I also do not find it in the installdirectory.
The error is following:
System.Data.OleDb.OleDbException: Could not find file 'C:\Documents and Settings\Davy\Local Settings\Apps\2.0\Data\6M1O9467.P35\EZCMRL75.MWK\uren..tion_1b92957e78fea067_0001.0000_ea6fc97507364811\Data\Uren.mdb'.
Why does it search in such a weird directory?
In the creation of my project I've chosen to copy the database to my project so it is really in.
Did I do anything wrong?
I just want to have 1 exe-file and the database and that should work.
How do I do that? I've tried many things but nothing seems to work well.
Thanks
I've made my first version of a program which is based on an Accessdatabase. I now want to let my girlfriend use it and pressed Publish. It asked me if I wanted to install it from a unc share, website or cd-rom and I picked cd-rom.
I've chosen the option not to check for updates and published my app.
I've tried to install the app by clicking setup.exe and it created a shortcut in my startmenu which is ok. Now when I run it it says that it cannot find my database.
I also do not find it in the installdirectory.
The error is following:
System.Data.OleDb.OleDbException: Could not find file 'C:\Documents and Settings\Davy\Local Settings\Apps\2.0\Data\6M1O9467.P35\EZCMRL75.MWK\uren..tion_1b92957e78fea067_0001.0000_ea6fc97507364811\Data\Uren.mdb'.
Why does it search in such a weird directory?
In the creation of my project I've chosen to copy the database to my project so it is really in.
Did I do anything wrong?
I just want to have 1 exe-file and the database and that should work.
How do I do that? I've tried many things but nothing seems to work well.
Thanks
Last edited: