You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Kester's avatar
Kester
Collaborator | Level 8
9 years ago

Windows 7 Event Viewer Error "Failed to connect to the driver: (-2147024894)"

Onthe last few startups of my Windows 7 desktop, the EventViewer has shown the following error  and subsequent information logs as the error is corrected by Windows:

 

Record Number: X 95916
Log Type: Application
Event Type: Error
Source: DbxSvc
Category: 3
Event ID: 320

Failed to connect to the driver: (-2147024894) The system cannot find the file specified.
--------------------------------------------------------------------------------
Record Number: 95931
Log Type: Application
Event Type: Information
Source: ESENT
Category: 3
Event ID: 300

Windows (2500) Windows: The database engine is initiating recovery steps.
---------------------------------------------------------------------------------
Record Number: 95932
Log Type: Application
Event Type: Information
Source: ESENT
Category: 3
Event ID: 301

Windows (2500) Windows: The database engine has begun replaying logfile C:\ProgramData\Microsoft\Search\Data\Applications\Windows\MSS.log.
---------------------------------------------------------------------------------
Record Number: 95933
Log Type: Application
Event Type: Information
Source: ESENT
Category: 3
Event ID: 302

Windows (2500) Windows: The database engine has successfully completed recovery steps.
--------------------------------------------------------------------------------
Record Number: i 95915
Log Type: Application
Event Type: Information
Source: DbxSvc
Category: 2
Event ID: 258

Pipe server thread started.

--------------------------------------------------------------------------------

It seems as if the Dropbox service may be trying to start too soon as, after the initial error, Windows seems to be able to correct the problem and everything works correctly.  This is a very recent happening and I cannot relate the change to any system changes.  Is there anything I can do to stop the error - if I didn't regularly check the Event Viewer I would be none the wiser so perhaps I'm being too sensitive.

 

Thanks.

  • bn's avatar
    bn
    8 years ago

    Hi everyone!

     

    Sorry for the delay here -- I usually hang out on the client builds forum and missed this.

     

    This error is expected and harmless. We are optimistically checking for features currently in development and logging an error when we don't find them enabled. We shouldn't be logging it as an error, however, perhaps as an Informational-level event and I'll make sure we clean this up in a future release.

     

    If you're suspicious that this has been causing instability -- this hasn't really changed since last summer so it's probably not the droids you are looking for (combined with the fact that the error is indicative of things not happening, rather than things happening that are potentially destabilizing).

     

    -Ben

  • Ross_S's avatar
    Ross_S
    8 years ago
    Hi all,
     
    First: Many apologies for the delay in jumping in here, I wanted to make sure I had a concrete update for you all.
     
    So, for context: What is Dbxsvc? :
     
    I've added a section to the help center article: https://help.dropbox.com/desktop-web/smart-sync (I say section, it's more of a note at the bottom under the driver FAQ).
     
    The file dbxsvc.exe is a file that we use to install the Smart Sync driver. Should you not be a business user, or not have Smart Sync, then this file will never start operating. It is, however, created at install for all users so if you are not a Smart Sync this file will still appear there.
     
    I see we have a number of pretty interesting, creative suggestions on how to disable, coupled with queries if it's safe to disable it. I'm of course not going to endorse a process that disables part of our software, should a feature or functionality cause user pain then we would want to know. Fixability and timeframes can vary depending on the in-depth technical nature of the problem.
    Should you decide to disable it with one of the solutions here, it will prevent the smart sync feature from working in some cases. We need the service to update the driver, as well as to establish new driver<->client connections. This is the services current functionality. Additional functionality could be added over time. My main concern around anyone disabling it is that in the future you may need this process, Smart Sync won't work correctly, you can reach out to support but this custom change you've made will be hard for us to diagnose as the root cause of whatever issue you experience.
     
     
    Why is it failing to connect / what's going wrong?:
     
    It should be failing to connect. This is by design, the actual issue you’re facing is due to the frequency we're writing to the logs. To address any concerns around error with the application, these errors are in no way indicative of a software issue and do not point to any issues with backing up you data. Because it fails to connect, Windows treats this as a trigger to write to the log. Your data is safe, this process is just used to install a driver. As covered in the above section we expect it to do what you are seeing.
     
    With that in mind, we understand that some of you do wish to see this behaviour.
     
     
    Why aren't we fixing this?:
     
    We are, we take our user feedback very seriously and we have spent many hours working on this. As fixes have many dependencies, and are just one components of a version release, I'm always reluctant to jump onto a thread and give a firm release date for a fix as these are regularly subject to change.
    You may have noticed that we took the original connection attempt frequency down from every 1 second to every minute. This was an improvement we took onboard based on the feedback you've supplied here and also via other channels. Our new release, 31.3.15, has further improved this, the process will run 3 times daily. This should reduce the errors written to the logs and not clutter the report.
     
    The new beta version is the first to include a fix:
     
  • thorhebegod's avatar
    thorhebegod
    New member | Level 2
    Same problem here.
    Autoruns (sysinternals) complains of missing dbx.sys in windows/system32/drivers.

    It is missing indeed, can this be the problem?
    • glatzfront's avatar
      glatzfront
      Explorer | Level 4

      thorhebegod wrote:
      Same problem here.
      Autoruns (sysinternals) complains of missing dbx.sys in windows/system32/drivers.

      It is missing indeed, can this be the problem?

      This could be it? But would still have to find what is calling this key.

       

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\dbx

       

      Unchecking it wont correct the error

      • glatzfront's avatar
        glatzfront
        Explorer | Level 4

        glatzfront wrote:

        thorhebegod wrote:
        Same problem here.
        Autoruns (sysinternals) complains of missing dbx.sys in windows/system32/drivers.

        It is missing indeed, can this be the problem?

        This could be it? But would still have to find what is calling this key.

         

        HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\dbx

         

        Unchecking it wont correct the error

         


        Event viewer error: EventID 320 DbxSvc (-2147024894) The system cannot find the file specified.
        Reg entry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\dbx

         

        I think the cause of this error IS NOT the Autoruns entry (dbx, Dropbox Mini-Filter Driver, File not found: system32\DRIVERS\dbx.sys).

         

        I created an empty dbx.sys file for system32\DRIVERS and after rebooting the Autoruns entry was not present but the Event viewer error was present.

    • vkapartzianis's avatar
      vkapartzianis
      Helpful | Level 6

      thorhebegod wrote:
      Same problem here.
      Autoruns (sysinternals) complains of missing dbx.sys in windows/system32/drivers.

      It is missing indeed, can this be the problem?

      That's it. There are three files in %windir%\System32\drivers: dbx-canary.sys, dbx-dev.sys and dbx-stable.sys. There should be only one, dbx.sys obviously.

       

      Someone messed up the installation package and they've yet to realize it. Doesn't look very professional to me.

      • thorhebegod's avatar
        thorhebegod
        New member | Level 2

        If that's all then it should not be to difficult to fix, but I wonder: why is everything working OK without the missing dbx.sys?

  • vielmetter's avatar
    vielmetter
    New member | Level 2

    Affecting Windows 10 Pro with all patches applied with Drobpox desktop client v29.4.20 installed and dbxsvc running.

     

    Event log filled with eventid 320 events stating the following:

    Failed to connect to the driver: -2147024894, retrying in 1000 milliseconds

     

    Events appear every 10th of a second and fill event log in a matter of hours pushing out any useable event logs that may have existed there limiting the ability to use the windows application event log for troubleshooting.

     

    Screenshot illustrating the issue: http://imgur.com/a/vLHXT

     

    System details:

    Windows 10 Pro with all patches applied including the latest Cumulative Security Rollup 6.

    Dropbox v29.4.20 client.

     

    Work-around:

    Stop the dbxsvc service and set to manual startup. Once done the events immediately stop logging.

     

    Thank you in advance for looking into this,

    David Vielmetter

    • revjimb's avatar
      revjimb
      Helpful | Level 7

      Since my client, running Windows 10 with Creator Update, loaded 29.4.20 it logs the following error once per second in application log:

       

      "Failed to connect to the driver: -2147024894, retrying in 1000 milliseconds" 

       

      Source Dbxsvc

       

      Event Id 320

       

      Is there a way to turn error off? Is there some kind of fix coming?

    • revjimb's avatar
      revjimb
      Helpful | Level 7

      Also posted on this.

       

      If you install 30.3.15 it will reduce frequency of logging to once per minute.

       

      This is still not a fix. I am leaving it shut down for the time being, hoping the fix is coming soon.

      • andrejp's avatar
        andrejp
        New member | Level 2
        Thanks, yes, the retries are now at 6000 ms intervals. At least the system resources abuse is reduced.
  • BoomerM3's avatar
    BoomerM3
    New member | Level 2
    It appears that the last update was 10/28. This is about the time the errors began.
    • Kester's avatar
      Kester
      Collaborator | Level 8

      Thanks Boomer, so it's nothing I've done - hopefully the next update (or at least one soon) will sort the problem.  I say problem but everything is working so I can put up with the little red error symbol in the Event Viewer for a while longer.

      • Kester's avatar
        Kester
        Collaborator | Level 8

        This is not yet resolved - I was emailed by the forum and asked if the problem has been solved.  As yet it hasn't but I am now in contact with Theo who is a member of the Dropbox support team.  I would be interested to hear if any other forum members have experienced the same problem and, ifso, if it originates from the last full week of October.  Unless the Dropbox user checks the Event Viewer, he or she will not be aware if the problem exists as Windows recovers the situation almost immediately and Dropbox behaves normally throughout the session.

    • Sting M.'s avatar
      Sting M.
      Explorer | Level 3

      The problem started occurring on October 27th, 2016 on my Windows 10 machine.

       

      That appears to correspond to when 13.4.21 was installed on my notebook. The error message in the event viewer occurs on every single reboot.

       

      Note: I do not have dropbox set to automatically start during the boot process. The error occurs even though dropbox is not starting.

  • orion44's avatar
    orion44
    Helpful | Level 6

    - System

    - Provider

    [ Name] DbxSvc

    - EventID 320

    [ Qualifiers] 49154

    Level 2

    Task 3

    Keywords 0x80000000000000

    - TimeCreated

    [ SystemTime] 2016-11-07T16:42:58.000000000Z

    EventRecordID 75095

    Channel Application

    Computer PC

    Security

    - EventData

    (-2147024894) The system cannot find the file specified.

      • Kester's avatar
        Kester
        Collaborator | Level 8

        I still await contact from Theo at Dropbox Support but as I am a Dropbox Basic user this takes a few days.  In a way it has been reassuring that Orion44 and Maze have reported the same problem - at one time I thought I might have a problem on my Windows 7 system. As Orion44 has also submitted a bug report, I trust we will soon have some response from Dropbox.