Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 8 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      henh.lieu_7061
      last edited by

      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()

      dean-houstonD 1 Reply Last reply Reply Quote 0
      • dean-houstonD Offline
        dean-houston inedo-engineer @henh.lieu_7061
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H Offline
          henh.lieu_7061
          last edited by

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

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation