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 / Security / January 2006

Tip: Looking for answers? Try searching our database.

Unable to emit assemble:

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bill S. - 04 Jan 2006 18:38 GMT
Hi,
I'm trying to run my app from a server. I've given it a strong name using
sn.exe and have put the AssmeblyKeyFile("mypath") attribute into the
AssemblyInfo.vb module. Now I get the error, "Unable to emit assembly:
Referenced assembly 'Interop.Office' does not have a strong name." How can I
fix this problem?

Thanks.
Claus Konrad - 04 Jan 2006 20:02 GMT
You can sign an interop by using the below approach.

<Quote>
The problem is that in order for a strong named assembly to reference
another assembly, the second assembly must be strong named as well. So you
need to force Visual Studio to generate the COM wrappers in a strong named
assembly. You do this by going into your project properties, select
"General" under "Common Properties" on the left hand side of the window.
Then on the right hand side of the window at the bottom you will see
"Wrapper Assembly for ActiveX COM Objects" You will need to specify the
Wrapper Assembly Key File with a key file. This should fix the problem.

Michael Green
Microsoft Developer Support
</Quote>

> Hi,
> I'm trying to run my app from a server. I've given it a strong name using
[quoted text clipped - 4 lines]
>
> Thanks.

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.