Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / December 2003

Tip: Looking for answers? Try searching our database.

sn.exe - Error.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sundaram P - 26 Dec 2003 17:57 GMT
Hi,

If I use sn.exe to create an strong name key, it is giving the following
error.

"Failed to generate a strong name key pair -- The keyset is not
defined."

I'm an local administrator and i have full control permission to
"C:\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys" folder. Its not working now too.

Could you please anyone help me in this regard?.

Thanks,
Sundar.
Beat Nider?st - 31 Dec 2003 11:13 GMT
Hello Sundar,

I get the same error when I set the Strong Name tool to use a
Cryptographic Service Provider other than the default using "sn -c
<CSP-name>". When I reset the Strong Name tool using "sn -c", which
resets the tool, it works again.

I also believe to have discovered that the folder "C:\Documents and
Settings\All Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys" is only used to store keys in
containers (there is a file for each container you create via "sn -i
<keyfile> <container-name>")

I hope this helps.

Greetings, Beat
Sundaram P - 31 Dec 2003 12:03 GMT
Hi Beat,

Thank you very  much.

Its working now.

Regards,
Sundar.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.