Navigation

Search

Categories

On this page

.NET Unable to Sign Assemblies or Read WSE Keys in Windows Server 2003

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 17
This Year: 2
This Month: 1
This Week: 0
Comments: 1

Sign In
Pick a theme:

# Friday, August 10, 2007
Friday, August 10, 2007 8:57:34 PM UTC ( )

Recently we tried to build an older version of a system that is hosted on Windows 2003 server.  Every project in the build would fail with Visual Studio unable to sign the DLL.  Of course the DLL was not there in the target folder, but that was not the problem.  The build had worked before we rebuilt the server.

A Google search produced a suggestion to change the file permissions on:

C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys

We gave Administrators full access to the folders and were able to compile. 

Just a couple of days earlier, I had to give IIS_WPG access to this folder in order for a web service to be able to read the keys and decrypt a WSE message.  The service had worked fine after I had installed it and given access to the key file using the WSE key utility. 

I noticed a pending Windows update icon was no longer in the system tray.  It appears that update had tightened security on that folder.

Comments [0] | | #