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 / Interop / November 2006

Tip: Looking for answers? Try searching our database.

..... Error ...........

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
saravana - 25 Nov 2006 12:48 GMT
Hi ,

cmdprompt>>sn.exe -k key.snk

cmdprompt>>Regasm asmname.dll /tlb:asmname.tlb

cmdprompt>>Gacutil /i asmname.dll


I am getting the following error....

Failure adding Assembly to the Cache
Attempt to install an Assembly without
a Strong name..

Please provide solution to this..

Advance thanks
Jigar Mehta - 25 Nov 2006 17:46 GMT
Hello saravana,

You created the strong name key pairs using sn.exe, but did you add that
SNK file to your project before compilation? I mean is that added in your
assembly resource? If not, just generating snk file and putting in project
folder does not work !!

If you work in VS2005, go to project properties and under signing, Check
"sign the assembly" and give path to your snk file!

Jigar Mehta
http://jigar-mehta.blogspot.com

s> Hi ,
s>
cmdprompt>>> sn.exe -k key.snk
cmdprompt>>>
cmdprompt>>> Regasm asmname.dll /tlb:asmname.tlb
cmdprompt>>>
cmdprompt>>> Gacutil /i asmname.dll
cmdprompt>>>
s> I am getting the following error....
s>
s> Failure adding Assembly to the Cache Attempt to install an Assembly
s> without a Strong name..
s>
s> Please provide solution to this..
s>
s> Advance thanks
s>

Rate this thread:







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.