Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

Strange Windows 2000 / 2003 behavior found with ASPNET permissions?!?

 
 
hagaiy@cyber-ark.com
Guest
Posts: n/a
 
      07-03-2005
Has anyone else come across this?

We are building an ASP.Net application that uses a certificate and
private key in the local machine store. (we are testing it both on
windows 2000 & 2003)

We failed accessing the private key of the certificate and as we tried
to figure out what is the problem we came across the following
Microsoft Article:
http://support.microsoft.com/d*efaul...;en-us;3275*87
(slightly different scenario, but similar), this article suggests
adding permissions to the ASPNET account to the "i:\Documents and
Settings\All Users\Application Data\Microsoft\Crypto\RSA\Mach*ineKeys"
folder.

After that we added the permissions to the ASPNET account the
application was able to work with the private key but we started seeing
strange behavior in other places.

For example, trying to import a pfx file into the local computer store
caused the following error:

"An internal error occurred. This can be either the user profile is not
accessible or the private key that you are importing might require a
cryptographic service provider that is not installed on your system."

the same operation works fine without adding the permissions for the
ASPNET user, i can't understand why adding permissions to a user would
cause other users problems ?


If this expected behavior when setting permissions on MachineKeys? Is
there a way to avoid this?

Any info would be great,
Thanks,
Hagai.

 
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
Treeview - strange behavior on Server 2003 =?Utf-8?B?RG92bGE=?= ASP .Net 4 03-10-2006 09:11 AM
Strange Windows 2000 behavior found with ASPNET permissions?!? Michael J. Bigos ASP .Net 0 06-16-2004 01:03 PM
BeginGetResponse - Different Behavior on Windows 2000 and Windows XP Jim Davis ASP .Net 1 06-09-2004 05:23 PM



Advertisments