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 / October 2004

Tip: Looking for answers? Try searching our database.

error msg "assembly identity could not be determined"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rudy - 05 Oct 2004 15:52 GMT
I created a .NET-DLL and it should be called from a VB6 - program.
I created key.snk file added the path to the assemblyInfo-file, I gave a
GUID to all public classes, I created a tlb and ran gacutil. Also I see it
under windows/assembly! Although when running VB 6 that calls the DLL I get
an error message 'runtime error' 'assembly identity could not be
determined'! Does anyone has any idea what to try next?

Thanx for info

Rudy
Phil Wilson - 05 Oct 2004 16:28 GMT
You haven't got a 1.0.* in your assemblyinfo file have you? that will make
the version different at every build, and therefore different from the one
that is identified in the interop registration entries. See if your
HKCR\CLSID\{class guid} registration entries match your assembly in version,
sn.
Signature

Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

>I created a .NET-DLL and it should be called from a VB6 - program.
> I created key.snk file added the path to the assemblyInfo-file, I gave a
[quoted text clipped - 7 lines]
>
> Rudy
Rudy - 05 Oct 2004 17:47 GMT
Yes, I have, sorry forgot about that! But I haven't got a Version entry in
HKCR/.../CLSID/. Maybe that's the problem?

> You haven't got a 1.0.* in your assemblyinfo file have you? that will make
> the version different at every build, and therefore different from the one
[quoted text clipped - 12 lines]
> >
> > Rudy
Luis Abreu - 05 Oct 2004 19:59 GMT
yes, you should turn the version number into  a fixed one. btw, if you
recompile your project, don't forget to add it again to the gac and, if
necessary (I think that it all depends on waht you've changed), register it
again (by using regasm).

Signature

---
Regards,
Luis Abreu
http://weblogs.pontonetpt.com/luisabreu
http://www.pontonetpt.com

> Yes, I have, sorry forgot about that! But I haven't got a Version entry in
> HKCR/.../CLSID/. Maybe that's the problem?
[quoted text clipped - 17 lines]
> > >
> > > Rudy
Rudy - 06 Oct 2004 13:42 GMT
Sorry, I meant I forgot to mention that I HAVE got a fixed version number in
my AssemblyInfo! And I do the above steps with every recompiling. But always
the same error in VB6.

> yes, you should turn the version number into  a fixed one. btw, if you
> recompile your project, don't forget to add it again to the gac and, if
[quoted text clipped - 27 lines]
> > > >
> > > > Rudy

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.