Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Strange Windows 2000 behavior found with ASPNET permissions?!?

Reply
Thread Tools

Strange Windows 2000 behavior found with ASPNET permissions?!?

 
 
Michael J. Bigos
Guest
Posts: n/a
 
      06-16-2004
Has anyone else come across this?

We are building an ASP.Net application that uses a certficate in the local
machine store to sign XML data before transmitting it to a third-party. The
third party application was getting an "invalid signature" error upon
verification of the signature in our Test environments. I thought perhaps
our Production (www) certificate version was being used instead, so I
exported it from the Production server and tried importing it into Test. I
got this error:

"An internal error occurred. The private key that you are importing might
require a cryptographic service provider that is not installed on your
system."

As it turned out, it was the ASPNET account permissions that I had added to
the C:\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys folder that was the culprit! When I
remove those permissions, I was then able to import the key and readd the
permissions. The exact permissions I added to the MachineKeys Folders were:

ASPNet (Read & Execute / List Folder Contents / Read) to "this folder,
subfolders and files". I also tried to reproduce the original error using a
different set of permissions on ASPNET as indicated by
http://support.microsoft.com/default...b;en-us;327587 (slightly
different scenario, but similar), but this too caused the error on import.

If this expected behavior when setting permissions on MachineKeys? If so,
I'm surprised there aren't more articles on the web about it.

Happy coding to all!

Michael Bigos
Lead Web Application Developer
The Ayco Company, L.P.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS? torus@tpg.com.au ASP .Net 7 03-23-2007 04:00 AM
ASPNET 2.0 Application exhibits strange behavior. Method calls return "False" until we recycle application pool. Dan D. ASP .Net 0 09-12-2006 02:33 PM
Upgrade from aspnet 1.1 to aspnet 2.0 Gary Nelson ASP .Net 2 10-14-2005 05:16 PM
Strange Windows 2000 / 2003 behavior found with ASPNET permissions?!? hagaiy@cyber-ark.com ASP .Net 0 07-03-2005 01:11 PM
BeginGetResponse - Different Behavior on Windows 2000 and Windows XP Jim Davis ASP .Net 1 06-09-2004 05:23 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57