472,373 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,373 software developers and data experts.

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 1501
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
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
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
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
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
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
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
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
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
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...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...

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.