Where to put embedded database file for clickonce deploymentUnhandeled exception in applicationSerialPort.Open() --IOException — “The parameter is incorrect.”When reading a Cursor from a resources file an ArgumentException is thrownEF6 error: The specified metadata path is not validCannot use LocalDB on other PC after installing my s/w on other PCLinking 2 C# projects with Entity FrameworkI need to attach .mdb database to C# desktop applicationHow to get one field value from Sqlite request?SQLite.Interop.dll reference.Net project runtime with NuGet HDF5DotNet x86 can't find 'HDF5DotNet.dll' on VirtualBox Windows 10, but runs ok on Windows 10 laptop
Confirming resignation after resignation letter ripped up
What professions would a medieval village with a population of 100 need?
Does travel insurance for short flight delays exist?
Can realistic planetary invasion have any meaningful strategy?
Why don't we use Cavea-B
Mathematical uses of string theory
Compelling story with the world as a villain
Would it be possible to have a GMO that produces chocolate?
Singleton Design Pattern implementation in a not traditional way
Can pay be witheld for hours cleaning up after closing time?
Using `With[...]` with a list specification as a variable
Can you feel passing through the sound barrier in an F-16?
Why is Boris Johnson visiting only Paris & Berlin if every member of the EU needs to agree on a withdrawal deal?
Was Switzerland really impossible to invade during WW2?
Sleeping solo in a double sleeping bag
Why were the crew so desperate to catch Truman and return him to Seahaven?
Why is my Earth simulation slower than the reality?
In an emergency, how do I find and share my position?
How to use "Du hast/ Du hattest'?
What is wrong about this application of Kirchhoffs Current Law?
Would this system work to purify water?
See details of old sessions
C++20 constexpr std::copy optimizations for run-time
How much code would a codegolf golf if a codegolf could golf code?
Where to put embedded database file for clickonce deployment
Unhandeled exception in applicationSerialPort.Open() --IOException — “The parameter is incorrect.”When reading a Cursor from a resources file an ArgumentException is thrownEF6 error: The specified metadata path is not validCannot use LocalDB on other PC after installing my s/w on other PCLinking 2 C# projects with Entity FrameworkI need to attach .mdb database to C# desktop applicationHow to get one field value from Sqlite request?SQLite.Interop.dll reference.Net project runtime with NuGet HDF5DotNet x86 can't find 'HDF5DotNet.dll' on VirtualBox Windows 10, but runs ok on Windows 10 laptop
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Using a SQLite embedded database. I am using Entity Framework 6. I have the database in the bin folder when I am testing. While testing EF connects fine with the following connection string:
public Entities() :
base(@"metadata=DataModel1.csdl|DataModel1.ssdl|DataModel1.msl;provider=Devart.Data.SQLite;provider connection string=""Data Source=database.db;FailIfMissing=False""", "Entities")
this.ContextOptions.LazyLoadingEnabled = true;
OnContextCreated();
When I deploy the app using ClickOnce the app does not connect to the database. I have checked to see that the database file is in the same folder with the exe file and all the dll's. It is. The path is:
C:UsersericsAppDataLocalApps2.03C5PX0RL.NTXCEV4Q75L.OMOther..tion_680a5823070fb75b_0001.0000_db2ce9b27afbcd77
Do I need to control the location of the database.db file? If so, how do I do that with ClickOnce?
Do I need something different for the path to the database file in the connection string?
Exact Error:
> System.Data.Entity.Core.MetadataException: The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension '.csdl', '.ssdl', or '.msl', or a URI that identifies an embedded resource.
at System.Data.Entity.Core.Metadata.Edm.MetadataArtifactLoader.Create(String path, ExtensionCheck extensionCheck, String validExtension, ICollection`1 uriRegistry, MetadataArtifactAssemblyResolver resolver)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.SplitPaths(String paths)
at System.Data.Entity.Core.Common.Utils.Memoizer`2.<>c__DisplayClass2.<Evaluate>b__0()
at System.Data.Entity.Core.Common.Utils.Memoizer`2.Result.GetValue()
at System.Data.Entity.Core.Common.Utils.Memoizer`2.Evaluate(TArg arg)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.GetArtifactLoader(DbConnectionOptions effectiveConnectionOptions)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.GetMetadataWorkspace(DbConnectionOptions effectiveConnectionOptions)
at System.Data.Entity.Core.EntityClient.EntityConnection.GetMetadataWorkspace()
at System.Data.Entity.Core.Objects.ObjectContext.RetrieveMetadataWorkspaceFromConnection()
at System.Data.Entity.Core.Objects.ObjectContext..ctor(EntityConnection connection, Boolean isConnectionConstructor, ObjectQueryExecutionPlanFactory objectQueryExecutionPlanFactory, Translator translator, ColumnMapFactory columnMapFactory)
at System.Data.Entity.Core.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName)
at Model.Entities..ctor()
at ThermalVision.Form1.SetMachineTextBoxOptions()
at ThermalVision.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
c# entity-framework-6 clickonce
add a comment |
Using a SQLite embedded database. I am using Entity Framework 6. I have the database in the bin folder when I am testing. While testing EF connects fine with the following connection string:
public Entities() :
base(@"metadata=DataModel1.csdl|DataModel1.ssdl|DataModel1.msl;provider=Devart.Data.SQLite;provider connection string=""Data Source=database.db;FailIfMissing=False""", "Entities")
this.ContextOptions.LazyLoadingEnabled = true;
OnContextCreated();
When I deploy the app using ClickOnce the app does not connect to the database. I have checked to see that the database file is in the same folder with the exe file and all the dll's. It is. The path is:
C:UsersericsAppDataLocalApps2.03C5PX0RL.NTXCEV4Q75L.OMOther..tion_680a5823070fb75b_0001.0000_db2ce9b27afbcd77
Do I need to control the location of the database.db file? If so, how do I do that with ClickOnce?
Do I need something different for the path to the database file in the connection string?
Exact Error:
> System.Data.Entity.Core.MetadataException: The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension '.csdl', '.ssdl', or '.msl', or a URI that identifies an embedded resource.
at System.Data.Entity.Core.Metadata.Edm.MetadataArtifactLoader.Create(String path, ExtensionCheck extensionCheck, String validExtension, ICollection`1 uriRegistry, MetadataArtifactAssemblyResolver resolver)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.SplitPaths(String paths)
at System.Data.Entity.Core.Common.Utils.Memoizer`2.<>c__DisplayClass2.<Evaluate>b__0()
at System.Data.Entity.Core.Common.Utils.Memoizer`2.Result.GetValue()
at System.Data.Entity.Core.Common.Utils.Memoizer`2.Evaluate(TArg arg)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.GetArtifactLoader(DbConnectionOptions effectiveConnectionOptions)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.GetMetadataWorkspace(DbConnectionOptions effectiveConnectionOptions)
at System.Data.Entity.Core.EntityClient.EntityConnection.GetMetadataWorkspace()
at System.Data.Entity.Core.Objects.ObjectContext.RetrieveMetadataWorkspaceFromConnection()
at System.Data.Entity.Core.Objects.ObjectContext..ctor(EntityConnection connection, Boolean isConnectionConstructor, ObjectQueryExecutionPlanFactory objectQueryExecutionPlanFactory, Translator translator, ColumnMapFactory columnMapFactory)
at System.Data.Entity.Core.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName)
at Model.Entities..ctor()
at ThermalVision.Form1.SetMachineTextBoxOptions()
at ThermalVision.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
c# entity-framework-6 clickonce
Offhand, I think this might be an issue not specifying the path where the current working directory is not where the database file is located. To verify: open a command prompt, change to the directory where the file is, and run the EXE. If it works, the cause is the current working directory not matching the directory where the files are located. If you verify this is the case, we can look at solutions.
– UnhandledExcepSean
Mar 27 at 16:52
What is the full error message you get when you try to run your application and access the SQLite database?
– Progman
Mar 27 at 19:00
@UnhandledExcepSean - I ran the exe file from command prompt from the correct folder. I received the same error.
– Eric Snyder
Mar 27 at 20:35
@Progman - Added the error message to the original text.
– Eric Snyder
Mar 27 at 20:36
add a comment |
Using a SQLite embedded database. I am using Entity Framework 6. I have the database in the bin folder when I am testing. While testing EF connects fine with the following connection string:
public Entities() :
base(@"metadata=DataModel1.csdl|DataModel1.ssdl|DataModel1.msl;provider=Devart.Data.SQLite;provider connection string=""Data Source=database.db;FailIfMissing=False""", "Entities")
this.ContextOptions.LazyLoadingEnabled = true;
OnContextCreated();
When I deploy the app using ClickOnce the app does not connect to the database. I have checked to see that the database file is in the same folder with the exe file and all the dll's. It is. The path is:
C:UsersericsAppDataLocalApps2.03C5PX0RL.NTXCEV4Q75L.OMOther..tion_680a5823070fb75b_0001.0000_db2ce9b27afbcd77
Do I need to control the location of the database.db file? If so, how do I do that with ClickOnce?
Do I need something different for the path to the database file in the connection string?
Exact Error:
> System.Data.Entity.Core.MetadataException: The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension '.csdl', '.ssdl', or '.msl', or a URI that identifies an embedded resource.
at System.Data.Entity.Core.Metadata.Edm.MetadataArtifactLoader.Create(String path, ExtensionCheck extensionCheck, String validExtension, ICollection`1 uriRegistry, MetadataArtifactAssemblyResolver resolver)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.SplitPaths(String paths)
at System.Data.Entity.Core.Common.Utils.Memoizer`2.<>c__DisplayClass2.<Evaluate>b__0()
at System.Data.Entity.Core.Common.Utils.Memoizer`2.Result.GetValue()
at System.Data.Entity.Core.Common.Utils.Memoizer`2.Evaluate(TArg arg)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.GetArtifactLoader(DbConnectionOptions effectiveConnectionOptions)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.GetMetadataWorkspace(DbConnectionOptions effectiveConnectionOptions)
at System.Data.Entity.Core.EntityClient.EntityConnection.GetMetadataWorkspace()
at System.Data.Entity.Core.Objects.ObjectContext.RetrieveMetadataWorkspaceFromConnection()
at System.Data.Entity.Core.Objects.ObjectContext..ctor(EntityConnection connection, Boolean isConnectionConstructor, ObjectQueryExecutionPlanFactory objectQueryExecutionPlanFactory, Translator translator, ColumnMapFactory columnMapFactory)
at System.Data.Entity.Core.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName)
at Model.Entities..ctor()
at ThermalVision.Form1.SetMachineTextBoxOptions()
at ThermalVision.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
c# entity-framework-6 clickonce
Using a SQLite embedded database. I am using Entity Framework 6. I have the database in the bin folder when I am testing. While testing EF connects fine with the following connection string:
public Entities() :
base(@"metadata=DataModel1.csdl|DataModel1.ssdl|DataModel1.msl;provider=Devart.Data.SQLite;provider connection string=""Data Source=database.db;FailIfMissing=False""", "Entities")
this.ContextOptions.LazyLoadingEnabled = true;
OnContextCreated();
When I deploy the app using ClickOnce the app does not connect to the database. I have checked to see that the database file is in the same folder with the exe file and all the dll's. It is. The path is:
C:UsersericsAppDataLocalApps2.03C5PX0RL.NTXCEV4Q75L.OMOther..tion_680a5823070fb75b_0001.0000_db2ce9b27afbcd77
Do I need to control the location of the database.db file? If so, how do I do that with ClickOnce?
Do I need something different for the path to the database file in the connection string?
Exact Error:
> System.Data.Entity.Core.MetadataException: The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension '.csdl', '.ssdl', or '.msl', or a URI that identifies an embedded resource.
at System.Data.Entity.Core.Metadata.Edm.MetadataArtifactLoader.Create(String path, ExtensionCheck extensionCheck, String validExtension, ICollection`1 uriRegistry, MetadataArtifactAssemblyResolver resolver)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.SplitPaths(String paths)
at System.Data.Entity.Core.Common.Utils.Memoizer`2.<>c__DisplayClass2.<Evaluate>b__0()
at System.Data.Entity.Core.Common.Utils.Memoizer`2.Result.GetValue()
at System.Data.Entity.Core.Common.Utils.Memoizer`2.Evaluate(TArg arg)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.GetArtifactLoader(DbConnectionOptions effectiveConnectionOptions)
at System.Data.Entity.Core.Metadata.Edm.MetadataCache.GetMetadataWorkspace(DbConnectionOptions effectiveConnectionOptions)
at System.Data.Entity.Core.EntityClient.EntityConnection.GetMetadataWorkspace()
at System.Data.Entity.Core.Objects.ObjectContext.RetrieveMetadataWorkspaceFromConnection()
at System.Data.Entity.Core.Objects.ObjectContext..ctor(EntityConnection connection, Boolean isConnectionConstructor, ObjectQueryExecutionPlanFactory objectQueryExecutionPlanFactory, Translator translator, ColumnMapFactory columnMapFactory)
at System.Data.Entity.Core.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName)
at Model.Entities..ctor()
at ThermalVision.Form1.SetMachineTextBoxOptions()
at ThermalVision.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
c# entity-framework-6 clickonce
c# entity-framework-6 clickonce
edited Mar 27 at 20:34
Eric Snyder
asked Mar 27 at 16:47
Eric SnyderEric Snyder
3543 silver badges15 bronze badges
3543 silver badges15 bronze badges
Offhand, I think this might be an issue not specifying the path where the current working directory is not where the database file is located. To verify: open a command prompt, change to the directory where the file is, and run the EXE. If it works, the cause is the current working directory not matching the directory where the files are located. If you verify this is the case, we can look at solutions.
– UnhandledExcepSean
Mar 27 at 16:52
What is the full error message you get when you try to run your application and access the SQLite database?
– Progman
Mar 27 at 19:00
@UnhandledExcepSean - I ran the exe file from command prompt from the correct folder. I received the same error.
– Eric Snyder
Mar 27 at 20:35
@Progman - Added the error message to the original text.
– Eric Snyder
Mar 27 at 20:36
add a comment |
Offhand, I think this might be an issue not specifying the path where the current working directory is not where the database file is located. To verify: open a command prompt, change to the directory where the file is, and run the EXE. If it works, the cause is the current working directory not matching the directory where the files are located. If you verify this is the case, we can look at solutions.
– UnhandledExcepSean
Mar 27 at 16:52
What is the full error message you get when you try to run your application and access the SQLite database?
– Progman
Mar 27 at 19:00
@UnhandledExcepSean - I ran the exe file from command prompt from the correct folder. I received the same error.
– Eric Snyder
Mar 27 at 20:35
@Progman - Added the error message to the original text.
– Eric Snyder
Mar 27 at 20:36
Offhand, I think this might be an issue not specifying the path where the current working directory is not where the database file is located. To verify: open a command prompt, change to the directory where the file is, and run the EXE. If it works, the cause is the current working directory not matching the directory where the files are located. If you verify this is the case, we can look at solutions.
– UnhandledExcepSean
Mar 27 at 16:52
Offhand, I think this might be an issue not specifying the path where the current working directory is not where the database file is located. To verify: open a command prompt, change to the directory where the file is, and run the EXE. If it works, the cause is the current working directory not matching the directory where the files are located. If you verify this is the case, we can look at solutions.
– UnhandledExcepSean
Mar 27 at 16:52
What is the full error message you get when you try to run your application and access the SQLite database?
– Progman
Mar 27 at 19:00
What is the full error message you get when you try to run your application and access the SQLite database?
– Progman
Mar 27 at 19:00
@UnhandledExcepSean - I ran the exe file from command prompt from the correct folder. I received the same error.
– Eric Snyder
Mar 27 at 20:35
@UnhandledExcepSean - I ran the exe file from command prompt from the correct folder. I received the same error.
– Eric Snyder
Mar 27 at 20:35
@Progman - Added the error message to the original text.
– Eric Snyder
Mar 27 at 20:36
@Progman - Added the error message to the original text.
– Eric Snyder
Mar 27 at 20:36
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55382514%2fwhere-to-put-embedded-database-file-for-clickonce-deployment%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55382514%2fwhere-to-put-embedded-database-file-for-clickonce-deployment%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Offhand, I think this might be an issue not specifying the path where the current working directory is not where the database file is located. To verify: open a command prompt, change to the directory where the file is, and run the EXE. If it works, the cause is the current working directory not matching the directory where the files are located. If you verify this is the case, we can look at solutions.
– UnhandledExcepSean
Mar 27 at 16:52
What is the full error message you get when you try to run your application and access the SQLite database?
– Progman
Mar 27 at 19:00
@UnhandledExcepSean - I ran the exe file from command prompt from the correct folder. I received the same error.
– Eric Snyder
Mar 27 at 20:35
@Progman - Added the error message to the original text.
– Eric Snyder
Mar 27 at 20:36