Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Signed dll or dll registration
Topic Summary:
Created On: 9-Mar-2007 07:33
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 9-Mar-2007 07:33
User is offline View Users Profile Print this message


Mats Lundin

Posts: 3
Joined: 21-Feb-2007

We are using.NET (currently Visual Basic 2005) to write programs that will use the Rhapsody API. The problem is that the programs must be run from a network share. In order to do this the application need to be signed. However, this imposes a problem on the Interop.Rhapsody.dll component, which is considered insecure.

We have tried to:
a) Just compile our .NET2 application and place it on the share together with the Interop.Rhapsody.dll.
- This yields a "System.Security.SecurityException"
(The application works when placing the whole application folder on a local disk, but as mentioned above, this is not possible for the normal user - the application must be stored with the Rhapsody Project folder on the network share)
b) The above, but now adding ClickOnce to make our application a full-trust-application.
- This yelds the same error as before, since "Interop.Rhapsody.dll" is not given full-trust-rights (the references of a project does not include the projects trust).
c) Install the Interop.Rhapsody.dll into c:\windows\system32, adding that .dll as a reference rather than the c:\Rhapsody\rhapsody.tlb and setting the "Copy Local" property to false.
- This yields the build-error "Assembly '..\..\..\..\..\WINDOWS\system32\Interop.rhapsody.dll' must be strong signed in order to be marked as a prerequisite."


Is there any way this could be done?
E.g. - is it possible to sign the Interop.Rhapsody.dll and add it to the GAC? Or register it properly in the same way as e.g. the MsOffice dlls?

Johannes
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 0 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.