Click here to Skip to main content
15,908,455 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I designed program using vb.net and access as database. The program run smoothly in development. The problem is after installation the program does not run properly instead it gives me error message which says:

Unhandled exception has occurred in you application. if you click Continue , the application will ignore this error and attempt to continue.if you click Quit, the application will close immediately

Could not find file
C:\Users\Tinyiko\AppData\Local\Apps\2.0\Data\6D0Z5NLW.CLW\K8
C61CGM.MXT\prod..tion_ce24a98353ce1430_0001.0000_969244c44e

What I have tried:

I tried installing access2013 runtime and access database engine.
Posted
Updated 17-Aug-20 0:56am

1 solution

Basically, you've left it in the wrong place.
It's in your project file, which is a very poor idea - it needs to be installed to a read/write folder (i.e. not the application EXE folder either).

Have a look here: Where should I store my data?[^] and make sure your installation program copies it to the right folder as well.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900