CryptographyException - lch

02-Jan-07 01:42:00
When I tried to install and  configure MOSS 2007, I got CryptographyException 
invalid handle exception at step 5. does anybody know the problem? Thanks.
reply
 
 

CryptographyException - Jukka Paajanen [MSFT]

02-Jan-07 08:03:24
Hi lcha,

If the following are true:

-the error number is 997
-have standalone install (or have configured your farm with account that has
no password or the account password changed)
-one of the Sharepoint services used an account that has password (web app,
services)
-are reinstalling,

the problem is that the existing configdb has old references to passwords
that it cannot decrypt.

To overcome:
-if you were unaware of the reinstall and/or don't want any of the old
stuff, ensure that you are starting with clean configdb. This can be done
either by deleting the earlier config dbs or by manually stating another
configdb. In standalone config, the easiest way to ensure that you get a new
configdb, you need to run "psconfig -cmd configdb -create -database MyName"
(replace MyName with something unique; this needs to be started in \program
files\common files\microsoft shared\web server extensions\12\bin). After
this, run the Configuration wizard to configure the rest of the system.
-in farm, just create a new config db
-if you want to keep the existing data or settings, after these steps,
attach the earlier content dbs back to the new configuration

Background:
In most typical case when you see this, the problem is that the machine had
an earlier standalone configuration of MOSS that was uninstalled and then
reinstalled. Uninstalling MOSS cleans all the binary parts, but leaves all
the user data. Reinstalling MOSS in standalone will try to connect back to
the original configdb hence creating the issue.

If this was not your problem, see the psc logs (in ... web server
extensions\12\logs\psc*.log) and post the relevant parts for us for
analysis.

JP
reply
 
PDF IFilter for 64-bit?
promotion
Silverlight    WPF    WCF    WWF    LINQ   
JavaScript    AJAX    ASP.NET    XAML   
C#    VB.NET    VB 6.0    GDI+    IIS    XML   
.NET Generics    Anonymous Methods    Delegate   
Visual Studio .NET    Expression Blend    Virus   
Windows Vista    Windows XP    Windows Update   
Windows 2003 Server    Windows 2008 Server   
SQL Server    Microsoft Excel    Microsoft Word   
SharePoint    BizTalk    Virtual Earth   
.NET Compact Framework    Web Service   

"Everything" RSS / ATOM Feed Parser
How to send and receive messages through message queuing in .Net
How to Read text file as database
SQL Server 2005 Paging Performance Tip
Display code of web page.
Fully Scalable Excel File Importer class for .net using Microsoft Jet driver
Generic Chart Color Manager class that can be used for any charts
Helper class to style the infragistics wingrid
Using Reflection to detemine as Assembly Info in and out.
Helper class to play with Window (Owners and position)
Resolving displayname from the culture using the XmlLanguage and LanguageSpecificStringDictionary class