Showing results for 
Search instead for 
Did you mean: 

error on compiled vb


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. ):


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


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

Re: error on compiled vb

Gears Esteemed Contributor Gears Esteemed Contributor
Gears 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.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 ( | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: error on compiled vb


Ok, i'll check

thank you very much.