While opening the project getting the error - Mendix Forum

While opening the project getting the error

1

Mendix.Modeler.Utility.Progress.ProgressException ---> System.Data.SQLite.SQLiteException: file is encrypted or is not a database
file is encrypted or is not a database
   at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
   at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at Mendix.Modeler.Utility.DbConnectors.DbConnector.<>c__DisplayClass12_0.<ExecuteReader>b__0(DbCommand c) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Utility\DbConnectors\DbConnector.cs:line 155
   at Mendix.Modeler.Utility.DbConnectors.DbConnector.CommandDo(String query, Object[] values, Action`1 action) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Utility\DbConnectors\DbConnector.cs:line 173
   at Mendix.Modeler.Utility.DbConnectors.DbConnector.ExecuteReader(String query, Object[] values) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Utility\DbConnectors\DbConnector.cs:line 156
   at Mendix.Modeler.Storage.Mpr.MprLoader.LoadMetadata(IDbConnector db, IProgressInfo info) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Storage\Mpr\MprLoader.cs:line 58
   at Mendix.Modeler.Storage.Mpr.MprLoader.<>c__DisplayClass0_0.<LoadMpr>b__0(IDbConnector db) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Storage\Mpr\MprLoader.cs:line 18
   at Mendix.Modeler.Utility.DbConnectors.SQLiteConnector.<>c__DisplayClass4_0.<Do>b__0(IDbConnector c) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Utility\DbConnectors\SQLiteConnector.cs:line 44
   at Mendix.Modeler.Utility.DbConnectors.DbConnector.WithoutTransactionDo[TResult](Func`1 action) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Utility\DbConnectors\DbConnector.cs:line 64
   at Mendix.Modeler.Utility.DbConnectors.SQLiteConnector.Do[TResult](String filePath, Boolean useTransaction, Func`2 action) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Utility\DbConnectors\SQLiteConnector.cs:line 58
   at Mendix.Modeler.Storage.Mpr.MprLoader.LoadMpr(String filePath, IProgressInfo info, Boolean loadContents) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Storage\Mpr\MprLoader.cs:line 22
   at Mendix.Modeler.VersionControl.Status.RevStatusCache.DoRefresh(IProgressInfo info) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\VersionControl\Status\RevStatusCache.cs:line 69
   at Mendix.Modeler.VersionControl.Status.StatusCacheManager.Initialize(IProject project, IProgressInfo info) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\VersionControl\Status\StatusCacheManager.cs:line 49
   at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(Step step) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 81
   at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 61
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
   --- End of inner exception stack trace ---
   at Mendix.Modeler.UIFramework.Progress.ProcessRunner.Run() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 43
   at Mendix.Modeler.UIFramework.Progress.ProgressUtil.Do(Boolean reportsProgress, Boolean supportsCancellation, Action`1 action) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProgressUtil.cs:line 62
   at Mendix.Modeler.ModelerGui.SetProject(IProject project, Boolean isNewProject) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Core\Gui\ModelerGui.cs:line 149
   at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.DoOpenProject() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 163
   at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.OpenProject() in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 129
   at Mendix.Modeler.ProjectHandling.Openers.ProjectOpenerUI.OpenProject(ISprintrProject sprintrProject) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectOpenerUI.cs:line 141
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

Am getting this error fro every project that is created and running sucessfully once.Please hel p me out on this issue.

asked
1 answers
2

 I got the solution to recover the project.Just delete the mendix cache of the particular project.
 

answered