Quantcast
Channel: VBForums - Application Deployment
Viewing all articles
Browse latest Browse all 254

[RESOLVED] Database File Not Found After ClickOnce Installation

$
0
0
I am having what I believe to be an issue publishing a database application. At first, I thought it might be a connection issue, but after a lot of review, I believe that there is something that is not being set correctly prior to publishing the database application.

While running the application in Debug mode, there are no failures of any kind. All queries run successfully and as expected.

Of note. There was a message that popped up the first time I ran the application in debug mode. I was unable to document the message, but I answered no and the application continued. Likely that is very important, but I do not have the information.

I then ran the build process. It succeeded with no errors.

I then ran the publish process. It succeeded with no errors.

At the first request made to any query, from the menu, the message below was generated.

Name:  Message.jpg
Views: 32
Size:  29.8 KB

I checked and the directory exists. As the message indicated, there was no copy of MasterBase.accdb located in that directory. There was, however, other material, as listed below.

Name:  files.jpg
Views: 31
Size:  22.4 KB

I believe that this directory, and it's contents are generated when running the Setup.exe file, but have been unable to verify that. I also believe that a copy of the database, MasterBase.accdb should be in this directory.

It appears to me that I have failed to define some setting in the project properties that points to the database. However, I have no idea what or where to do that. Of course, I could be completely off-base and the issue is something entirely different.
Attached Images
  

Viewing all articles
Browse latest Browse all 254

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>