cancel
Showing results for 
Search instead for 
Did you mean: 

error on compiled vb

Experimenter
Experimenter

Hi all,

i'm getting one error when i run the dll i want

Sem título.png

 

 someone know what's this? 

i've searched whole forums (eng-tips, nxjournaling), but nothing found. ):

4 REPLIES

Re: error on compiled vb

Siemens Phenom Siemens Phenom
Siemens Phenom

The relevant error is in the syslog:

 

Verifying C:\Users\ricardo\Desktop\asd\ClassLibrary1.dll for NXOpen signature.
NXOpen.Utilities.MissingResourceException: Assembly has not been compiled with an NX resource bundle
   em NXOpen.Utilities.ResourceUtilities..ctor(Byte[] assemblyData)
   em NXOpen.Utilities.BaseSession.verifyAssembly(String filename, Boolean& alliance_mode, SignatureType signTypeNeeded)
Validation failed 
Caught exception while running: Main
NXOpen.Utilities.NeedDOTNETAuthorLicenseException: Invalid NX signature found
   em NXOpen.Utilities.BaseSession.InitLicense()
   em NXOpen.Session.GetSession()
   em ClassLibrary1.NXJournal.Main() na C:\Users\gmanucci\documents\visual studio 2010\Projects\ClassLibrary1\ClassLibrary1\Class1.vb:linha 9

 

This is saying that you do not have a NX Open .Net Author license available and the .dll you are running was not signed with the license.

 

See the "Signing Process" article in the NX Programming Tools documentation (NX Open -> NX Open Programmer's Guide -> License Checking -> Signing Process)

Re: error on compiled vb

Experimenter
Experimenter

i've compiled with visual studio. thats the cause of that problem?

Re: error on compiled vb

Esteemed Contributor
Esteemed Contributor

It doesn't depend on what IDE you use to compile the DLL, it depends on the way NX DLLs must be signed.

 

Follow the instructions to include the signing resource and on how to sign a DLL for use with NX as pointed out in the other post.

 

You also have to make sure you have a NXOpen Author license available when signing the DLL.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: error on compiled vb

Experimenter
Experimenter

Ok, i'll check

thank you very much.