RE: Registry entry preventing .NET from starting

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Pavel Treskunov [MSFT] (pavelt_at_online.microsoft.com)
Date: 06/19/04


Date: Sat, 19 Jun 2004 01:23:15 GMT

Victor,

This is only an educated guess, based in the information you have provided.

The behavior that you are observing is most likely caused by the following
chain of events:
1. The original dll containing "Microsoft Enhanced Cryptographic Provider
v1.0" was replaced (perhaps as a result of installation of some software).
According to
http://msdn.microsoft.com/library/en-us/wcecrypt/html/coconcryptographyregis
trykeys.asp, the signature field "specifies the digital signature", which
means that every CSP (Cryptographic Service Provider) is "digitally signed"
and it's signature is stored in "Signature" field for that provider.
(Changed signature most likely signifies the change of CSP)
2. The "replacement" CSP somehow is incompatible (lack of cryptographic
algorithms, available key sizes, etc.) with the requirements of .NET
Compact Framework, which in turn causes .NET applications to fail.

I would suggest contacting the provider/installer of the "replacement" CSP,
since replacement of CSP may/will have device wide consequences.

Pavel Treskunov
NET Compact Framework
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
> From: "Victor" <unpublished@unpublish.com>
> Subject: Registry entry preventing .NET from starting
> Date: Fri, 4 Jun 2004 13:20:37 -0700
> Lines: 28
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
> Message-ID: <uq74wEnSEHA.1168@TK2MSFTNGP11.phx.gbl>
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> NNTP-Posting-Host: gw.jda.com 12.10.216.130
> Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
phx.gbl
> Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.compactframework:54573
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
>
> I've come across a situation that prevents my .net from starting. Let me
> start by saying that my app runs fine with no problems. Then I installed
> Time & Expenses from a company called Cyncware. After installing this app
> my application no longer booted. After some analysis I find that no .NET
> apps run. I compared my registry to the original registry before the
> Cyncware was installed and I found that
> HKEY_LOCAL_MACHINE\Comm\Security\Crypto\Defaults\Provider\Microsoft
Enhanced
> Cryptographic Provider v1.0 has a key called 'Signature' and its value was
> changed. So I changed it back to the original value and my .NET apps run
> again. However Time & Expenses now complains that Visual Basic runtimes
are
> not installed.
>
> I'm not familure with Cryptographic so I have no clue how this Registry
key
> is used. The key value is very long so having someone manually re-enter
it
> is not a good idea.
>
> My product is a commercial application so I can't tell my customers what
> they can and cannot install on their devices. On my device I just don't
use
> Cyncware products (although this issue is not their fault).
>
> Oh by the way, I'm testing on a Windows Mobile 2003 device. My 2002
device
> ignores the value in this Registry key (I completely blanked it out, did a
> soft reset and it still ran).
>
> Thanks in advance for any help you can provide.
>
>
>
>



Relevant Pages

  • Re: CSP DLL Signed by Microsoft: Signature not recognised by Certificate Services
    ... To check if your CSP is registered correctly, ... Services running on Windows Server 2003 do not recognise the signature. ... Windows 2003 Server, as the registry steps we took ...
    (microsoft.public.platformsdk.security)
  • Re: Custom CSP - Bad Signature Error
    ... For Windows 98, the signature of the CSP must be in the registry, and must ... Now to distribute your CSP to other systems, copy both the newly built .DLL ...
    (microsoft.public.platformsdk.security)
  • Re: Why cant I update office
    ... have either of you taken the printed advice and contacted Microsoft ... >>|| installation source for this product is not available. ... delete registry entries is not an acceptable solution. ... If you use Registry Editor ...
    (microsoft.public.officeupdate)
  • Re: Why cant I update office
    ... MSP files are stored on your computer after update installation ... > Please contact Microsoft Product Support Services for assistance. ... delete registry entries is not an acceptable solution. ... If you use Registry Editor ...
    (microsoft.public.office.misc)
  • Re: Attempted Repair of XP Pro installation
    ... registry keys refers to. ... Bear with me Peter as I'm just a novice when it ... and tried to repair it using the XP installation CD since the computer ...
    (microsoft.public.windowsxp.help_and_support)