EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Silverlight 5 'coredll.dll' missing

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#26371
Posted: 09/10/2013 04:14:17
by Niels Jeppesen (Standard support level)
Joined: 05/06/2011
Posts: 6

Hi,

I'm trying to access the Windows certificate from a Silverlight 5 out of browser application.

When executing:
Code
            certStorage = new TElWinCertStorage();
            certStorage.SystemStores.BeginUpdate();
            try
            {
                certStorage.SystemStores.Add("MY");
            }
            finally
            {
                certStorage.SystemStores.EndUpdate();
            }


certStorage.SystemStores.EndUpdate(); casts the following exception:

Code
{System.DllNotFoundException: Unable to load DLL 'coredll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at SBUtils.__Global.MemMove(IntPtr pdst, String psrc, IntPtr sizetcb)
   at SBUtils.__Global.StringToCoTaskMemUni(String s)
   at SBWinCertStorage.TElWinCertStorage.Open()
   at SBWinCertStorage.TElWinCertStorage.HandleStoresChange(Object Sender)
   at SBStringList.TElStringList.TriggerChange()
   at SBStringList.TElStringList.EndUpdate()
   at PDFSign.CertPicker.ChildWindow_Loaded(Object sender, RoutedEventArgs e)
   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)}


Do you have any idea of how this can be fixed?
#26372
Posted: 09/10/2013 04:32:28
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Make sure that you reference correct assemblies from \EldoS\SecureBlackbox.NET\Assemblies\Silverlight_50_Windows folder. I see that you have a license for the 9th version of SecureBlackbox, so also make sure that you are using the latest 9.1.215 build as there were different Silverlight related improvements in the 9th version.
#26373
Posted: 09/10/2013 04:45:03
by Niels Jeppesen (Standard support level)
Joined: 05/06/2011
Posts: 6

Thanks for the quick reply.

I'm referencing the assemblies in EldoS\SecureBlackbox.NET\Assemblies\SILVERLIGHT_50. The version of the assemblies is 9.1.217.0.
#26374
Posted: 09/10/2013 05:17:18
by Niels Jeppesen (Standard support level)
Joined: 05/06/2011
Posts: 6

The issue is similar to that described here:
https://www.eldos.com/forum/read.php?FID=7&TID=3553
#26375
Posted: 09/10/2013 05:21:02
by Vsevolod Ievgiienko (EldoS Corp.)

It seems that the issue was fixed without changing the build number. Try to re-download build 9.1.217 from this page https://www.eldos.com/sbb/download-release.php#product and try to run the application with new assemblies.
#26376
Posted: 09/10/2013 05:55:10
by Niels Jeppesen (Standard support level)
Joined: 05/06/2011
Posts: 6

I just downloaded the 9.1.217 build.
Uninstalled the version I had and installed the newly downloaded one.
Launched the newly installed Silverlight C# sample.
Added:
Code
            var certStorage = new TElWinCertStorage();
            certStorage.SystemStores.BeginUpdate();
            try
            {
                certStorage.SystemStores.Add("MY");
            }
            finally
            {
                certStorage.SystemStores.EndUpdate();
            }

But the same exception is still thrown. The following code from the other forum post throws the same exception.
Code
TElX509CertificateValidator certificateValidator = new TElX509CertificateValidator();
certificateValidator.InitializeWinStorages();
#26377
Posted: 09/10/2013 07:32:28
by Eugene Mayevski (EldoS Corp.)

There was a problem with that coredll.dll and it was fixed, but I can't say in which build. It's a good idea to test version 11 pre-release, downloadable from https://www.eldos.com/sbb/download-prerelease.php

I've just re-checked current code and coredll is not referenced in Silverlight code.


Sincerely yours
Eugene Mayevski
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 1883 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!