We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Kester
9 years agoCollaborator | Level 8
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 T...
- 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
- 8 years agoHi 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:
orion44
Helpful | Level 6
The don't tell us because their development team is off-shore and not accessible to the application support team. So in other words, they don't know themselves. I admire your persistence in this matter, however I gave up weeks ago myself. Google Drive is working very well for my needs.
bn
8 years agoDropbox Staff
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
- NickG_UK8 years agoHelpful | Level 5
Do you know when this will be fixed? It currently logs this error once per second on the event log, which makes it very difficult to find any other useful information. If DropBox needs to log something as often as every second, it should perhaps only do it when a debug flag is set or perhaps to it's own log file somewhere.
Nick
- vielmetter8 years agoNew member | Level 2
Not sure whether cumulative update 6 for Windows 10 or the Dropbox v29.4.20 update caused it, but this issue is back with Windows 10. My Application event log is full of these generating one every second. This is pretty annyoing if you're trying to use the event log to for anything but useless dbxsvc events. The only work-around for now seems to be to stop the dbxsvc and set it to manual startup.
Screenshot: http://imgur.com/a/vLHXT
- mat-glock8 years agoHelpful | Level 5
Installed in Nov... started the computer shutdowns.. uninstalled, no more shutdowns.
I have office with 5 TB of space for less than $100 and get 5 installs of microsoft office with it...
My entire experience with DB was really disappointing, having picked up the service for cheap in Nov... I was really happy.
Maybe loginmein will buy them and restore confidence in the company again. Not sure how DB makes it with support like this.
- Loopback8 years agoHelpful | Level 6
Are you sure that service DbxSvc is the culprit for producing an event "-2147024894" once per second?
On my Win7(x64) sytem I see this event at level "Information" (EventID 320) within the Application branch of the event log only once every time the DbxSvc service starts (that is after a system boot), and it always comes along with two other informational DbxSvc log entries: EventID 336 (Service started (1.0.22.0).) and EventID 258 (Pipe server thread started.)
- asynchronos8 years agoNew member | Level 2
(This is in reply to the accepted "solution" by a Dropboxer early in the thread.)
Now in 29.4.20, it logs similar "Failed to connect to the driver: -2147024894, retrying in 1000 milliseconds", *every second*. This drowns out any useful events from other apps that I might try to troubleshoot.
- JCoady8 years agoExplorer | Level 4
Hi, I have had over 25,000 occurences of this event today, 7 July, 2017, in a little over six hours, so I believe it has to be having an effect on my system - which has crashed twice today.
- Kester8 years agoCollaborator | Level 8
Hi JCoady,
If you haven't already disabled DbxSvc, open the Windows Task Manager, open the Services tab, click the 'Services' button and then scroll down to 'DbxSvc' in the 'Services (Local) pane, right click 'DbxSvc', click 'Properties' and choose 'Disabled' in the 'Startup type' dropdown menu then click 'Apply'.
You should still be able to use Dropbox but the Event Viewer continuous logging of the driver problem should cease.
- Loopback8 years agoHelpful | Level 6
Hi again,
I created a workaround that consists of a task in the Windows task scheduler, that is triggered only if the well known unwanted event occurs (e.g. after a Dropbox update to the latest version, where the problem still isn't fixed).
If triggered, the task tries to "repair" the dbx driver in that it is configured to use dbx-stable.sys (if present) and to start automatically, so that the annoying per second events disappear, because afterwards the starting DbxSvc finds the running dbx driver to connect to.
Otherwise, if some set of conditions isn't met (e.g. if after a Dropbox update file dbx-stable.sys isn't present anymore), as an alternative workaround DbxSvc is simply stopped and its start type is set to disabled.
Here is how you can configure this workround (tested in Win7 x64, maybe that it must be adapted to other Windows systems):
First create some Folder, e.g. D:\CMD. Within this folder create a batch file named dbx.cmd
Open dbx.cmd (e.g. using notepad) and copy the following code to the file:
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
set ROOT=%~dp0
set LOG=%ROOT%dbx.log
call :clear "%LOG%"
echo Log for last execution: >>"%LOG%"
echo ----------------------- >>"%LOG%"
echo %DATE% %TIME% >>"%LOG%"
if not exist %windir%\System32\drivers\dbx.sys (
echo File system32\DRIVERS\dbx.sys not found. >>"%LOG%"
for /f "tokens=3" %%i in ('sc qc dbx ^| find "BINARY_PATH_NAME"') do (
if /I "%%i"=="system32\DRIVERS\dbx.sys" (
echo But file system32\DRIVERS\dbx.sys is referenced by Dropbox Mini-Filter Driver dbx^^! >>"%LOG%"
call :svc DbxSvc stop
if "!RETURN!"=="FALSE" (
goto :EOF
)
if exist %windir%\System32\drivers\dbx-stable.sys (
echo File dbx-stable.sys exists, trying to fix Dropbox Mini-Filter Driver dbx: >>"%LOG%"
call :svc dbx stop
if "!RETURN!"=="FALSE" goto :EOF
sc config dbx start= auto binPath= system32\DRIVERS\dbx-stable.sys >nul
echo Changing parameters of Dropbox Mini-Filter Driver dbx: >>"%LOG%"
echo Setting ImagePath to System32\drivers\dbx-stable.sys >>"%LOG%"
echo Setting Start type to auto >>"%LOG%"
call :svc dbx start
if "!RETURN!"=="FALSE" goto :EOF
call :svc DbxSvc start
if "!RETURN!"=="FALSE" goto :EOF
) else (
sc config DbxSvc start= disabled >nul
echo File dbx-stable.sys doesn't exist, disabling service DbxSvc: >>"%LOG%"
echo Setting Start type to disabled >>"%LOG%"
)
)
)
)
goto end
rem - function :clear (file)
rem Deletes "file", if present.
:clear
if exist %1 del /f %1
goto :EOF
rem - function :svc (service, start|stop)
rem Break, if "service" is in a pending state (neither stopped nor running)
rem "stop": If running, try stopping "service", break if "service" hasn't stopped after 10 seconds.
rem "start": If stopped, try starting "service", break if "service" isn't running after 10 seconds.
:svc
if "%2"=="stop" (
set beginstate=4
set finalstate=1
) else if "%2"=="start" (
set beginstate=1
set finalstate=4
)
for /f "tokens=3" %%i in ('sc query %1 ^| find "STATE"') do (
if "%%i"=="!beginstate!" (
sc %2 %1 >nul
echo Trying to %2 service %1 ... >>"%LOG%"
) else if "%%i"=="!finalstate!" (
set RETURN=TRUE
goto :EOF
) else (
echo Service %1 is in a pending state, script was aborted^^! >>"%LOG%"
set RETURN=FALSE
goto :EOF
)
)
set /a SECONDS=0
:loopwait
for /f "tokens=3" %%i in ('sc query %1 ^| find "STATE"') do (
if not "%%i"=="!finalstate!" (
ping -n 1 localhost >nul
set /a SECONDS+=1
echo Process to %2 service %1 still in progress ... >>"%LOG%"
if !SECONDS! EQU 10 (
echo Process to %2 service %1 failed to terminate within 10 seconds, script was aborted^^! >>"%LOG%"
set RETURN=FALSE
goto :EOF
) else (
goto loopwait
)
) else (
echo ... terminated successfully. >>"%LOG%"
set RETURN=TRUE
)
)
goto :EOF
:end
ENDLOCALSafe and close dbx.cmd.
Then start the Windows Task Scheduler and create a new task:
On the General tab:
- Name it as you like, e.g. "DbxSvc-Workaround"
- Select a user with administative rights (Change User or Group)
- Select it to be executed independent from the User Login (Run whether user is logged on or not)
- Select (check the checkbox) "Run with highest privileges"
On the Trigger tab:
- Add a new trigger "On an event" and select the Protocol "Application", the Source "DbxSvc" and the Event-ID 320
On the Actions tab:
- Add a new action "Start a program" and specify the path: D:\CMD\dbx.cmd
All other settings can be left with their default values.
Note:
- Once the problem is fixed, the task will never be scheduled anymore.
- The task only consumes computing resources if triggered by the unwanted event. After the repair (via the script) it goes back to sleep.
Have fun!
<EDIT>
Did some code optimization - less code now due to use of functions.
In addition, the activities executed by the script are logged in a file dbx.log.
</EDIT>
Loopback
- mopperle8 years agoNew member | Level 2
Kudos to people like you doing the job instead of dropbox.
Their ignorance is amazing.
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!