System.ArgumentException: Data Source cannot be empty. Use :memory: to open an in-memory database

During a Backup

Error details

System.ArgumentException: Data Source cannot be empty.  Use :memory: to open an in-memory database
   at System.Data.SQLite.SQLiteConnection.Open()
   at PortfolioManager.Core.Model.Portfolio.GetAllPortfolios(Boolean isBullSystem)
   at WebLink.ChartsFramework.PortfolioWatchListFolder.OnExpandNode(TreeNode node)
   at WebLink.ChartsFramework.SymbolManager.treeView_BeforeExpand(Object sender, TreeViewCancelEventArgs e)
   at System.Windows.Forms.TreeView.OnBeforeExpand(TreeViewCancelEventArgs e)
   at WebLink.Controls.WebLinkTreeView.OnBeforeExpand(TreeViewCancelEventArgs e)
   at System.Windows.Forms.TreeView.TvnExpanding(NMTREEVIEW* nmtv)
   at System.Windows.Forms.TreeView.WmNotify(Message& m)
   at System.Windows.Forms.TreeView.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)

Solution

  • At the top menu, select “Tools” > “Preferences”
  • Select “ Files” > Scroll down to “BullCharts Database” and click on “View Location” > File Explorer window appears
  • Please remove any files which have file size = 0

Was this article helpful?

Related Articles