RavenDB 3.5 - Remote Differential Compression feature is not installed

143 views
Skip to first unread message

Tobi

unread,
May 23, 2018, 12:56:23 PM5/23/18
to RavenDB - 2nd generation document database
Hi!

I've seen this now on multiple machines. After the latest Windows 10
update, RavenFS does not work anymore:

System.NotSupportedException: Remote Differential Compression feature
is not installed ---> System.Runtime.InteropServices.COMException: Die
COM-Klassenfactory für die Komponente mit CLSID
{96236A85-9DBC-11DA-9E3F-0011114AE311} konnte aufgrund des folgenden
Fehlers nicht abgerufen werden: 80040154 Klasse nicht registriert
(Ausnahme von HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).


This only happens on 32 bit. 64bit applications work fine. So I guess
MS has removed the 32bit version of this component during the update.

Has anybody else encountered this problem?

Tobias

Oren Eini (Ayende Rahien)

unread,
May 23, 2018, 2:05:42 PM5/23/18
to ravendb
You can disable RDC usage in RavenFS, or install this again, I assume?

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 




--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tobi

unread,
May 23, 2018, 2:49:20 PM5/23/18
to rav...@googlegroups.com
Ok, didn't knew that this can be disabled. I'll try this tomorrow.

Just for the record: It's the "Raven/FileSystem/DisableRDC" setting.

BTW: Uninstalling/Reinstalling RDC does not help - already tried this.

Tobias

On 23.05.2018 20:05, Oren Eini (Ayende Rahien) wrote:

> You can disable RDC usage in RavenFS, or install this again, I assume?
>
> */Hibernating Rhinos Ltd  /*____
>
> Oren Eini* l CEO l *Mobile: + 972-52-548-6969
>
> Office: +972-4-622-7811 *l *Fax: +972-153-4-622-7811
>
> __
>
> __ 
>
>
> On Wed, May 23, 2018 at 7:56 PM, Tobi <lista...@e-tobi.net
> <mailto:lista...@e-tobi.net>> wrote:
>
> Hi!
>
> I've seen this now on multiple machines. After the latest Windows 10
> update, RavenFS does not work anymore:
>
> System.NotSupportedException: Remote Differential Compression feature
> is not installed ---> System.Runtime.InteropServices.COMException: Die
> COM-Klassenfactory für die Komponente mit CLSID
> {96236A85-9DBC-11DA-9E3F-0011114AE311} konnte aufgrund des folgenden
> Fehlers nicht abgerufen werden: 80040154 Klasse nicht registriert
> (Ausnahme von HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
>
>
> This only happens on 32 bit. 64bit applications work fine. So I guess
> MS has removed the 32bit version of this component during the update.
>
> Has anybody else encountered this problem?
>
> Tobias
>
> --
> You received this message because you are subscribed to the Google
> Groups "RavenDB - 2nd generation document database" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ravendb+u...@googlegroups.com
> <mailto:ravendb%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "RavenDB - 2nd generation document database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ravendb+u...@googlegroups.com
> <mailto:ravendb+u...@googlegroups.com>.

Tobi

unread,
May 24, 2018, 7:00:14 AM5/24/18
to rav...@googlegroups.com
Ok - tried this today, but setting DisableRDC to true does not help.
RavenFS still throws an exception :-(

Raven.Abstractions.Connection.ErrorResponseException: Could not open
resource named: Attachments
System.AggregateException: Mindestens ein Fehler ist aufgetreten. --->
System.NotSupportedException: Remote Differential Compression feature is
not installed ---> System.Runtime.InteropServices.COMException: Die
COM-Klassenfactory für die Komponente mit CLSID
{96236A85-9DBC-11DA-9E3F-0011114AE311} konnte aufgrund des folgenden
Fehlers nicht abgerufen werden: 80040154 Klasse nicht registriert
(Ausnahme von HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
bei
Raven.Database.FileSystem.Synchronization.Rdc.Wrapper.SigGenerator..ctor()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Database\FileSystem\Synchronization\Rdc\Wrapper\SigGenerator.cs:Zeile
35.
--- Ende der internen Ausnahmestapelüberwachung ---
bei
Raven.Database.FileSystem.Synchronization.Rdc.Wrapper.SigGenerator..ctor()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Database\FileSystem\Synchronization\Rdc\Wrapper\SigGenerator.cs:Zeile
44.
bei
Raven.Database.FileSystem.RavenFileSystem..ctor(InMemoryRavenConfiguration
config, String name, TransportState receivedTransportState) in
C:\Builds\RavenDB-3.5-Patch\Raven.Database\FileSystem\RavenFileSystem.cs:Zeile
122.
bei
Raven.Database.Server.Tenancy.FileSystemsLandlord.<>c__DisplayClass17_0.<TryGetOrCreateResourceStore>b__1()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Database\Server\Tenancy\FileSystemsLandlord.cs:Zeile
246.
bei System.Threading.Tasks.Task`1.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean
includeTaskCanceledExceptions)
bei System.Threading.Tasks.Task`1.GetResultCore(Boolean
waitCompletionNotification)
bei System.Threading.Tasks.Task`1.get_Result()
bei
Raven.Database.Common.ResourceApiController`2.<TrySetupRequestToProperResource>d__33.MoveNext()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Database\Common\ResourceApiController.cs:Zeile
286.
---> (Interne Ausnahme #0) System.NotSupportedException: Remote
Differential Compression feature is not installed --->
System.Runtime.InteropServices.COMException: Die COM-Klassenfactory für
die Komponente mit CLSID {96236A85-9DBC-11DA-9E3F-0011114AE311} konnte
aufgrund des folgenden Fehlers nicht abgerufen werden: 80040154 Klasse
nicht registriert (Ausnahme von HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
bei
Raven.Database.FileSystem.Synchronization.Rdc.Wrapper.SigGenerator..ctor()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Database\FileSystem\Synchronization\Rdc\Wrapper\SigGenerator.cs:Zeile
35.
--- Ende der internen Ausnahmestapelüberwachung ---
bei
Raven.Database.FileSystem.Synchronization.Rdc.Wrapper.SigGenerator..ctor()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Database\FileSystem\Synchronization\Rdc\Wrapper\SigGenerator.cs:Zeile
44.
bei
Raven.Database.FileSystem.RavenFileSystem..ctor(InMemoryRavenConfiguration
config, String name, TransportState receivedTransportState) in
C:\Builds\RavenDB-3.5-Patch\Raven.Database\FileSystem\RavenFileSystem.cs:Zeile
122.
bei
Raven.Database.Server.Tenancy.FileSystemsLandlord.<>c__DisplayClass17_0.<TryGetOrCreateResourceStore>b__1()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Database\Server\Tenancy\FileSystemsLandlord.cs:Zeile
246.
bei System.Threading.Tasks.Task`1.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()<---

bei
Raven.Client.Connection.Async.AsyncServerClientBase`2.<ExecuteWithReplication>d__48`1.MoveNext()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Client.Lightweight\Connection\Async\AsyncServerClientBase.cs:Zeile
129.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme
ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task)
bei
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
bei
Raven.Client.FileSystem.Impl.UploadFileOperation.<Execute>d__28.MoveNext()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Client.Lightweight\FileSystem\Impl\UploadFileOperation.cs:Zeile
70.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme
ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task)
bei
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
bei
Raven.Client.FileSystem.InMemoryFilesSessionOperations.<SaveChangesAsync>d__53.MoveNext()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Client.Lightweight\FileSystem\InMemoryFilesSessionOperations.cs:Zeile
284.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme
ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task)
bei
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
bei
Raven.Abstractions.Util.AsyncHelpers.<>c__DisplayClass0_1.<<RunSync>b__0>d.MoveNext()
in
C:\Builds\RavenDB-3.5-Patch\Raven.Abstractions\Util\AsyncHelpers.cs:Zeile 37.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme
ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei Raven.Abstractions.Util.AsyncHelpers.RunSync(Func`1 task) in
C:\Builds\RavenDB-3.5-Patch\Raven.Abstractions\Util\AsyncHelpers.cs:Zeile 51.


Tobias

Arkadiusz Palinski

unread,
May 24, 2018, 7:23:11 AM5/24/18
to rav...@googlegroups.com
Hi Tobi,

Can you try to run the following custom build with DisableRDC setting turned on?


Arek

To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Tobi

unread,
May 24, 2018, 7:38:10 AM5/24/18
to rav...@googlegroups.com
This one works!

Seems there's no way around doing expensive updates :-(

When will the next 3.5 release be available? Or is it safe to use this
custom build?

Tobias
> <tel:+972%2052-548-6969>
> >>
> >> Office: +972-4-622-7811 <tel:+972%204-622-7811> *l *Fax:
> +972-153-4-622-7811 <tel:+972%20153%204%20622%207811>
> >>
> >> __
> >>
> >> __
> >>
> >>
> >> On Wed, May 23, 2018 at 7:56 PM, Tobi <lista...@e-tobi.net
> <mailto:lista...@e-tobi.net>
> >> <mailto:lista...@e-tobi.net
> >>     <mailto:ravendb%2Bunsu...@googlegroups.com
> <mailto:ravendb%252Buns...@googlegroups.com>>.
> >>     For more options, visit https://groups.google.com/d/optout
> >>     <https://groups.google.com/d/optout>.
> >>
> >>
> >> --
> >> You received this message because you are subscribed to the
> Google Groups
> >> "RavenDB - 2nd generation document database" group.
> >> To unsubscribe from this group and stop receiving emails from
> it, send an
> >> email to ravendb+u...@googlegroups.com
> <mailto:ravendb%2Bunsu...@googlegroups.com>
> >> <mailto:ravendb+u...@googlegroups.com
> <mailto:ravendb%2Bunsu...@googlegroups.com>>.
> >> For more options, visit https://groups.google.com/d/optout.
> >
>
> --
> You received this message because you are subscribed to the Google
> Groups "RavenDB - 2nd generation document database" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to ravendb+u...@googlegroups.com
> <mailto:ravendb%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google
> Groups "RavenDB - 2nd generation document database" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ravendb+u...@googlegroups.com

Arkadiusz Palinski

unread,
May 24, 2018, 8:07:21 AM5/24/18
to rav...@googlegroups.com
We'll release 3.5 patch in 1-2 days. Meanwhile, you can safely use the custom build.

To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Tobi

unread,
May 24, 2018, 9:58:30 AM5/24/18
to rav...@googlegroups.com
Thanks!

Another workaround:

I took the msrdc.dll from c:\Windows\SysWOW64\ from a Windows 10 which
was not yet updated and copied it to c:\Windows\SysWOW64\ and
registered it with regsvr32.

Tobias

Am 24.05.2018 um 14:07 schrieb Arkadiusz Palinski:
> We'll release 3.5 patch in 1-2 days. Meanwhile, you can safely use the
> custom build.
>
> On Thu, May 24, 2018 at 1:38 PM Tobi <lista...@e-tobi.net
> <mailto:lista...@e-tobi.net>> wrote:
>
> This one works!
>
> Seems there's no way around doing expensive updates :-(
>
> When will the next 3.5 release be available? Or is it safe to use this
> custom build?
>
> Tobias
>
> Am 24.05.2018 um 13:22 schrieb Arkadiusz Palinski:
> > Hi Tobi,
> >
> > Can you try to run the following custom build with DisableRDC
> setting
> > turned on?
> >
> >
> https://drive.google.com/file/d/1A_3JmE27FCL_o1EgEQBKRQNjj6lRUA2x/view?usp=sharing
> >
> > Arek
> >
> > On Thu, May 24, 2018 at 1:00 PM Tobi <lista...@e-tobi.net
> <mailto:lista...@e-tobi.net>
> >      >>     <mailto:ravendb%2Bunsu...@googlegroups.com
> <mailto:ravendb%252Buns...@googlegroups.com>
> >     <mailto:ravendb%252Buns...@googlegroups.com
> <mailto:ravendb%25252Bun...@googlegroups.com>>>.
> >      >>     For more options, visit
> https://groups.google.com/d/optout
> >      >>     <https://groups.google.com/d/optout>.
> >      >>
> >      >>
> >      >> --
> >      >> You received this message because you are subscribed to the
> >     Google Groups
> >      >> "RavenDB - 2nd generation document database" group.
> >      >> To unsubscribe from this group and stop receiving emails
> from
> >     it, send an
> >      >> email to ravendb+u...@googlegroups.com
> <mailto:ravendb%2Bunsu...@googlegroups.com>
> >     <mailto:ravendb%2Bunsu...@googlegroups.com
> <mailto:ravendb%252Buns...@googlegroups.com>>
> >      >> <mailto:ravendb+u...@googlegroups.com
> >      >> For more options, visit https://groups.google.com/d/optout.
> >      >
> >
> >     --
> >     You received this message because you are subscribed to the
> Google
> >     Groups "RavenDB - 2nd generation document database" group.
> >     To unsubscribe from this group and stop receiving emails
> from it,
> >     send an email to ravendb+u...@googlegroups.com
> <mailto:ravendb%2Bunsu...@googlegroups.com>

Arkadiusz Palinski

unread,
May 25, 2018, 4:00:17 AM5/25/18
to rav...@googlegroups.com
The fix is included in just released 3.5.7-patch-35264. From now on, RDC won't be initialized by RavenFS if Raven/FileSystem/DisableRDC = true is set.

To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Enzmann Christoph

unread,
Jun 20, 2018, 5:17:57 AM6/20/18
to RavenDB - 2nd generation document database
I still have the same problem with 3.5.7-patch-35266.

documentStore.Configuration.FileSystem.DisableRDC = true;

System.NotSupportedException: Remote Differential Compression feature is not installed ---> System.Runtime.InteropServices.COMException



Windows 10 1803

>      >      >>     For more options, visit
>     https://groups.google.com/d/optout
>      >      >>     <https://groups.google.com/d/optout>.
>      >      >>
>      >      >>
>      >      >> --
>      >      >> You received this message because you are subscribed to the
>      >     Google Groups
>      >      >> "RavenDB - 2nd generation document database" group.
>      >      >> To unsubscribe from this group and stop receiving emails
>     from
>      >     it, send an
>      >      >> email to ravendb+u...@googlegroups.com
>     <mailto:ravendb%2Bunsu...@googlegroups.com>
>      >     <mailto:ravendb%2Bunsu...@googlegroups.com

>      >      >> <mailto:ravendb+u...@googlegroups.com
>     <mailto:ravendb%2Bunsu...@googlegroups.com>
>      >     <mailto:ravendb%2Bunsu...@googlegroups.com

>      >      >> For more options, visit https://groups.google.com/d/optout.
>      >      >
>      >
>      >     --
>      >     You received this message because you are subscribed to the
>     Google
>      >     Groups "RavenDB - 2nd generation document database" group.
>      >     To unsubscribe from this group and stop receiving emails
>     from it,
>      >     send an email to ravendb+u...@googlegroups.com
>     <mailto:ravendb%2Bunsu...@googlegroups.com>
>      >     <mailto:ravendb%2Bunsu...@googlegroups.com

Arkadiusz Palinski

unread,
Jun 20, 2018, 5:25:37 AM6/20/18
to rav...@googlegroups.com
Do you use embedded? It looks you are modifying the configuration after it already got initialized. Please set it as follows:

var documentStore = new EmbeddableDocumentStore
{
    Configuration =
    {
        Settings =
        {
            { "Raven/FileSystem/DisableRDC", "true"}
        }
    }
}


>     <mailto:ravendb%2Bunsu...@googlegroups.com>
>      >     <mailto:ravendb%2Bunsu...@googlegroups.com

>     <mailto:ravendb%252Buns...@googlegroups.com>>
>      >      >>     <mailto:ravendb%2Bunsu...@googlegroups.com
>     <mailto:ravendb%252Buns...@googlegroups.com>
>      >     <mailto:ravendb%252Buns...@googlegroups.com

>      >      >>     For more options, visit
>     https://groups.google.com/d/optout
>      >      >>     <https://groups.google.com/d/optout>.
>      >      >>
>      >      >>
>      >      >> --
>      >      >> You received this message because you are subscribed to the
>      >     Google Groups
>      >      >> "RavenDB - 2nd generation document database" group.
>      >      >> To unsubscribe from this group and stop receiving emails
>     from
>      >     it, send an
>      >      >> email to ravendb+u...@googlegroups.com
>      >      >> <mailto:ravendb+u...@googlegroups.com

>     <mailto:ravendb%2Bunsu...@googlegroups.com>
>      >     <mailto:ravendb%2Bunsu...@googlegroups.com
>     <mailto:ravendb%252Buns...@googlegroups.com>>>.

>      >      >> For more options, visit https://groups.google.com/d/optout.
>      >      >
>      >
>      >     --
>      >     You received this message because you are subscribed to the
>     Google
>      >     Groups "RavenDB - 2nd generation document database" group.
>      >     To unsubscribe from this group and stop receiving emails
>     from it,
>      >     send an email to ravendb+u...@googlegroups.com

Enzmann Christoph

unread,
Jun 20, 2018, 5:49:49 AM6/20/18
to RavenDB - 2nd generation document database
This works but is confusing. I expected that all settings can be changed until Initialize() is called.

>     <mailto:ravendb%2Bunsu...@googlegroups.com>
>      >     <mailto:ravendb%2Bunsu...@googlegroups.com

>     <mailto:ravendb%252Bunsubscribe@googlegroups.com>>
>      >      >>     <mailto:ravendb%2Bunsu...@googlegroups.com
>     <mailto:ravendb%252Bunsubscribe@googlegroups.com>
>      >     <mailto:ravendb%252Bunsubscribe@googlegroups.com

>      >      >>     For more options, visit
>     https://groups.google.com/d/optout
>      >      >>     <https://groups.google.com/d/optout>.
>      >      >>
>      >      >>
>      >      >> --
>      >      >> You received this message because you are subscribed to the
>      >     Google Groups
>      >      >> "RavenDB - 2nd generation document database" group.
>      >      >> To unsubscribe from this group and stop receiving emails
>     from
>      >     it, send an
>      >      >> email to ravendb+u...@googlegroups.com
>      >      >> <mailto:ravendb+u...@googlegroups.com

>      >      >> For more options, visit https://groups.google.com/d/optout.
>      >      >
>      >
>      >     --
>      >     You received this message because you are subscribed to the
>     Google
>      >     Groups "RavenDB - 2nd generation document database" group.
>      >     To unsubscribe from this group and stop receiving emails
>     from it,
>      >     send an email to ravendb+u...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages