RE: Registry entry preventing .NET from starting
From: Pavel Treskunov [MSFT] (pavelt_at_online.microsoft.com)
Date: 06/19/04
- Next message: Harry Hudini: "List control recommendations"
- Previous message: Amit Chopra [MSFT]: "Re: What annoys you about VS.NET 2003 IDE & CF?"
- In reply to: Victor: "Registry entry preventing .NET from starting"
- Messages sorted by: [ date ] [ thread ]
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.
>
>
>
>
- Next message: Harry Hudini: "List control recommendations"
- Previous message: Amit Chopra [MSFT]: "Re: What annoys you about VS.NET 2003 IDE & CF?"
- In reply to: Victor: "Registry entry preventing .NET from starting"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|