Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: Bitmap to byte array? Pin
Judah Gabriel Himango8-Sep-05 6:55
sponsorJudah Gabriel Himango8-Sep-05 6:55 
GeneralRe: Bitmap to byte array? Pin
thomasa8-Sep-05 21:34
thomasa8-Sep-05 21:34 
GeneralRe: Bitmap to byte array? Pin
Judah Gabriel Himango9-Sep-05 4:24
sponsorJudah Gabriel Himango9-Sep-05 4:24 
QuestionCryptographicException when instantiating RSACryptoServiceProvider Pin
mav.northwind8-Sep-05 2:35
mav.northwind8-Sep-05 2:35 
AnswerRe: CryptographicException when instantiating RSACryptoServiceProvider Pin
Ashok Dhamija8-Sep-05 4:00
Ashok Dhamija8-Sep-05 4:00 
GeneralRe: CryptographicException when instantiating RSACryptoServiceProvider Pin
mav.northwind8-Sep-05 5:01
mav.northwind8-Sep-05 5:01 
GeneralRe: CryptographicException when instantiating RSACryptoServiceProvider Pin
Ashok Dhamija8-Sep-05 18:36
Ashok Dhamija8-Sep-05 18:36 
AnswerRe: CryptographicException when instantiating RSACryptoServiceProvider Pin
mav.northwind8-Sep-05 20:28
mav.northwind8-Sep-05 20:28 
Thanks again for your suggestion.

But meanwhile I found the reason: In addition to what the documentation says (users must have access to %ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA to be able to create the MachineKeys directory), the very first time the additional directory MachineKeys has to be created in %SystemRoot%\System32\Microsoft\Crypto\RSA as well!
Once this directory exists, everything works as expected, but a regular user isn't allowed to modify System32 and because the CSP seems to be depending on the existence of the directory it rolls over and dies with a meaningless error message! Mad | :mad:

I found this out with the help of RegMon and FileMon by Sysinternals, after running through hundreds (literally hundreds!) of file and registry access events.

Nevertheless, the problem seems to be solved.

Thanks for your support,

mav
QuestionUsing Resources - Command Line Compile vs VS Compile Pin
MrEyes8-Sep-05 2:15
MrEyes8-Sep-05 2:15 
Questionhave some method in a exe file.but I want to use them in another project Pin
jzb8-Sep-05 0:28
jzb8-Sep-05 0:28 
AnswerRe: have some method in a exe file.but I want to use them in another project Pin
enjoycrack8-Sep-05 1:43
enjoycrack8-Sep-05 1:43 
AnswerRe: have some method in a exe file.but I want to use them in another project Pin
Daniel Grunwald8-Sep-05 3:47
Daniel Grunwald8-Sep-05 3:47 
AnswerRe: have some method in a exe file.but I want to use them in another project Pin
mav.northwind9-Sep-05 12:31
mav.northwind9-Sep-05 12:31 
QuestionCreating conditional windows application Pin
Fredy8-Sep-05 0:19
Fredy8-Sep-05 0:19 
AnswerRe: Creating conditional windows application Pin
Ashok Dhamija8-Sep-05 3:38
Ashok Dhamija8-Sep-05 3:38 
AnswerRe: Creating conditional windows application Pin
Patric_J8-Sep-05 6:13
Patric_J8-Sep-05 6:13 
Questionmy console application doesn't run on other pc Pin
Sasuko8-Sep-05 0:04
Sasuko8-Sep-05 0:04 
AnswerRe: my console application doesn't run on other pc Pin
Michael P Butler8-Sep-05 0:23
Michael P Butler8-Sep-05 0:23 
GeneralRe: my console application doesn't run on other pc Pin
Sasuko8-Sep-05 3:40
Sasuko8-Sep-05 3:40 
GeneralRe: my console application doesn't run on other pc Pin
Ashok Dhamija8-Sep-05 4:18
Ashok Dhamija8-Sep-05 4:18 
Questionhow can i get filed from C3 Form to Crystal Pin
Anonymous7-Sep-05 23:59
Anonymous7-Sep-05 23:59 
QuestionDataGrid.DataSource customization Pin
Corax7-Sep-05 23:55
Corax7-Sep-05 23:55 
QuestionHow 2 select best display resolution? Pin
majidbhutta7-Sep-05 23:01
majidbhutta7-Sep-05 23:01 
AnswerRe: How 2 select best display resolution? Pin
Dave Kreskowiak8-Sep-05 1:53
mveDave Kreskowiak8-Sep-05 1:53 
QuestionProblem with ParameterInfo in System.Reflection Pin
israfel7-Sep-05 22:56
israfel7-Sep-05 22:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.