Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to reconnect to the same database #10

Open
Rekkonnect opened this issue May 31, 2023 · 1 comment
Open

Option to reconnect to the same database #10

Rekkonnect opened this issue May 31, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Rekkonnect
Copy link
Owner

Rekkonnect commented May 31, 2023

Sometimes, the connection might break due to having used the database from another place and causing potential corruptions or memory invalidations. This renders the engine unusable until reloaded.

  • Add a button in the menu to quickly reconnect to the database.
  • Add a toolstrip menu button above the editor with an icon.
  • Add the button in the context menu of the tree view item of the database.
  • Add behavior option to automatically reconnect to the database upon detecting the corrupted memory error, and potentially other discovered errors in the future.
@Rekkonnect Rekkonnect added this to the 1.5.x milestone May 31, 2023
@Rekkonnect Rekkonnect self-assigned this May 31, 2023
@Rekkonnect Rekkonnect added the enhancement New feature or request label Jun 5, 2023
@Rekkonnect
Copy link
Owner Author

Here is an example of the error:

Unable to connect to shared memory region of the SQL Server Compact database. This is because of another process, owning the shared memory region lock, has exited abnormally in the lock acquired state. This is an intermittent problem. Closing and restarting the database connection should fix the problem. [ Thread id = 166640,Process id = 194956,Db name = C:\Users[redacted]\My database.sdf ]

The error's native error code for SQL CE is 25155.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant