473,480 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Urgent Request For Help: Strong Names and Excel COM

Hi,

Why is everything some confusng when MS are involved ;-) Anyway, I have my
excel export routines working fine, now when I try to build them into my
assembly, which has a strong name, I get the

Unable to emit assembly: Referenced assembly 'Interop.VBIDE' does not have a
strong name

message and everything stops. Now I searched the NET and all I can find is
references to Office PIA's and using tlbimp.exe.

Can anyone help me out here please, I'm on a real tight deadline and am now
worrying :-)

Thanks to anyone who can help

Mark
Nov 20 '05 #1
3 1575
confusing ehhh?

look at:
http://msdn.microsoft.com/library/de...assemblies.asp

then read the last line of the page...particularly:

"...strong-named assemblies can only reference other strong-named
assemblies."

the link also describes at the onset that strong names, and the schema of
public/private keys and code base hashing w/n the gac, guarantees (pretty
much anyway) the uniqueness and integrity the of your assembly. And helps
ensure that a program referencing your assembly actually is using your
assembly and not a hacked/modified version of your code base. having a
mixture of strong named coupled w/ simply named assemblies would make this
integrity impossible.

your resolution is to name your assembly w/ a simple name and meet your
deadline. the solution would be to use digital signatures which are much
more secure than strong naming - as you can also read on the same page...and
get the why's and wherefore's.

it's only about two paragraphs long but very "un-confusingly"
straightforward.

hth,

steve
"Mark Keogh" <no@email.com.au> wrote in message
news:ON*************@TK2MSFTNGP12.phx.gbl...
Hi,

Why is everything some confusng when MS are involved ;-) Anyway, I have my
excel export routines working fine, now when I try to build them into my
assembly, which has a strong name, I get the

Unable to emit assembly: Referenced assembly 'Interop.VBIDE' does not have a strong name

message and everything stops. Now I searched the NET and all I can find is
references to Office PIA's and using tlbimp.exe.

Can anyone help me out here please, I'm on a real tight deadline and am now worrying :-)

Thanks to anyone who can help

Mark

Nov 20 '05 #2
Mark,

PRB: "Assembly Generation Failed" Error Message When You Try to Build
a Managed DLL Without a Strong Name
http://support.microsoft.com/?kbid=313666

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Nov 20 '05 #3
Thanks for the helpful replys,

I sidestepped the issue for now by running locally and not off the network.
My next question though is how to use tblimp.exe to add my strong name to
the com interop for office 10?

If I reference Excel from my project, it creates the interop DLL but of
course doesn't have my string name and my project fails to compile.

Any ideas or suggestions on how I can get my strong name recognized?

Thanks for all your help

Mark
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2218
by: Tony Archer | last post by:
(Forgive the dupicate post, I had left out the OS Version out of the prior post.) Gentlemen, your urgent help is needed in solving a STRANGE problem. I have two servers a dev box, and a...
0
3894
by: chrisben | last post by:
Hi, Developing Env: .NET Studio in C#, windows 2000 target: a COM object used for excel user (RTD) I have no problem to compile and run the project in my machine. The excel is working great...
13
2463
by: scorpion53061 | last post by:
Very urgent and I am very close but need a little help to get me over the edge........ I need to write these columns to a html file with each row containing these columns (seperated by breaks)....
11
1820
by: scorpion53061 | last post by:
in my head...... I need my application to work with Office 97, 2000, XP and 2003 versions of MS Word and MS Excel. IN order to acomplish this I have to install in different folders: 1....
1
1614
by: SpiderSwamy | last post by:
Hi, I know little bit about asp, I am facing a problem in Validating the ASP Form.. Example: Stud ID: 501242016 FirstName: Ajit LastName: Kar
13
2518
by: Niyazi | last post by:
Hi I have a report that I have to run it monthly in my machine. My code in VB.NET and I access AS400 to get data, anaysie it and send into pre formated Excel sheet. The data consist of 9000...
0
882
by: rowe_newsgroups | last post by:
I've got a huge here and I'm hoping someone can help. This morning when I got to work I found out all application I built are no longer working. I deploy the exe to our network share, using strong...
0
983
by: BarberCut | last post by:
hey guys! anyone here knows how to Write a macro in excel to take the User ID from column A then go to Outlook exchange and retrieve the Department for that user ID and place it in Column B back in...
1
2070
by: javabeginner123 | last post by:
i have a java prob, and i have to solve it fast, but i'm just getting to know it, so plz help me solve it with full code completed, thanks so much. the prob is to create a monter fight and there is...
0
7048
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6911
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7050
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6743
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6966
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5344
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4488
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2999
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.