Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

attempt to write to readonly database



  • I am trying to install ProGet via Inedohub and after entering the SQL server, IIS, and target directory, it downloads a copy of ProGet and tries to install it. After a few seconds it gives an error stating "attempt to write to readonly database". Any help would be appreciated.

    Unhandled exception: code = ReadOnly (8), message = System.Data.SQLite.SQLiteException (0x800017FF): attempt to write a readonly database
    attempt to write a readonly database
    at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
    at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
    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 System.Data.SQLite.SQLiteCommand.ExecuteScalar(CommandBehavior behavior)
    at Inedo.Romp.Data.RompDb.CreateExecution(DateTime startDate, String statusCode, String runStateCode, Boolean simulation)
    at Inedo.Romp.RompExecutionEngine.RompExecutionEnvironment.<ExecuteAsync>d__30.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Romp.RompPack.PackageInstaller.<RunPlanAsync>d__32.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Romp.RompPack.PackageInstaller.<RunAsync>d__30.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Romp.RompDeploymentJob.<InstallAsync>d__8.MoveNext()


  • inedo-engineer

    Hi @henh-lieu_7061 ,

    This error indicates that you don't have access to the c:\ProgramData\Romp directory, or there is otherwise a file error when writing to that folder.

    You can try deleting that folder, then reinstalling again.

    Best,
    Dean



  • You are an amazing person! Thanks for the assistance, that worked. @dean-houston


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation