none
Cannot start your application. The workgroup information file is missing or opened exclusively by another user RRS feed

  • Question

  • Hello, i got some issues. can someone help me :(

    System.Data.OleDb.OleDbException: 'Cannot start your application. The workgroup information file is missing or opened exclusively by another user.'

    System.Data.OleDb.OleDbException
      HResult=0x80040E4D
      Message=Cannot start your application. The workgroup information file is missing or opened exclusively by another user.
      Source=System.Data
      StackTrace:
       at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
       at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.OleDb.OleDbConnection.Open()
       at Paneldeneme.Form1.Verilerigoster() in E:\Eski PC Program kayıtları\Visual Studio Kayıtlar\source\repos\Paneldeneme\Paneldeneme\Form1.cs:line 26
       at Paneldeneme.Form1.button1_Click(Object sender, EventArgs e) in E:\Eski PC Program kayıtları\Visual Studio Kayıtlar\source\repos\Paneldeneme\Paneldeneme\Form1.cs:line 43
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at Paneldeneme.Program.Main() in E:\Eski PC Program kayıtları\Visual Studio Kayıtlar\source\repos\Paneldeneme\Paneldeneme\Program.cs:line 19
    

    Friday, October 25, 2019 10:33 AM

All replies

  • Hello,

    It tends to be a guessing game with only an error message. My guess is your connection string is not proper, see the following page and if that does not help we need a good deal more in details from you (and more details means we don't need to ask follow up questions so much).

    https://www.connectionstrings.com/access/


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Friday, October 25, 2019 11:27 AM
    Moderator
  • It doesn't work for me :/ 

    Still same

    System.Data.OleDb.OleDbException: 'Cannot start your application. The workgroup information file is missing or opened exclusively by another user.'

    Friday, October 25, 2019 1:58 PM
  • It doesn't work for me :/ 

    Still same

    System.Data.OleDb.OleDbException: 'Cannot start your application. The workgroup information file is missing or opened exclusively by another user.'

    What doesn't work, be very specific rather say it doesn't work for me. I can't read your mind. As I said in my first reply, give details. So until you provide more details I'm not going to be able to help you.

    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Friday, October 25, 2019 2:54 PM
    Moderator