Forum Discussion

Former_Member's avatar
Former_Member
Accelerator III
8 years ago

server event dll issue

Hello, I'm a new user to the Aras solution and still trying to get my head round a number of things. The installation I did myself. The first action that I would like to do is to create my own part numbering solution. I have created a new List that will form part of the Part Number and then created the following line for the server event on the Part Item Type:
me.setProperty("item_number") = me.getProperty("project_id") & "-" & me.getInnovator.getNextSequence("Default Part")
The issue is when I come to compile the line, I get the following error and the *.dll changes each time:
Could not find file 'C:\Program Files (x86)\Aras\Innovator\Innovator\Server\dll\3000xrxd.dll'.
The dll folder is empty. What have I missed? I appreciate any help or advice that you can give. Thanks

6 Replies

  • try to end the method with (i guess you are writing VB.NET?):
    return Me
     
  • Thanks for the prompt response! Adding Return me to the 2nd line did not make any difference I'm afraid.
  • Hello, I believe this is being caused by a syntax error. The setProperty function takes two arguments: the property name and the new property value. Please try to update your sample as below: me.setProperty("item_number", me.getProperty("project_id") & "-" & me.getInnovator.getNextSequence("Default Part")) Chris __________________________________________ Christopher Gillis Aras Labs Software Engineer
  • Hi Chris, Yes you're right! With some digging I found that the variation of this question had been asked before. Is it possible to tune the error message...? :-) Cheers
  • Hello, Typically the error message is more tuned. For example, in my environment, the error message with your original code is instead: Line number 3, Error Number: BC30516, Overload resolution failed because no accessible 'setProperty' accepts this number of arguments. Much more helpful than the message you were seeing. Could you please confirm which version of Aras Innovator you are using? Additionally, it's possible that this is a permissions issue preventing the temporary files from being created in the /dll/ folder. Could you also check the folder permissions of the /dll/ folder referenced in your original error message? Chris _______________________________________________ Christopher Gillis Aras Labs Software Engineer
  • Thanks for taking the time to respond. My Innovator release is 11 SP9 build 6549, and the dll folder is read only. But the other observation is that while previously the folder was empty, now its got 178 files! I wonder if this is linked to another odd error message that I'm getting when trying to make a newly created field mandatory, but I'll start another thread for that. Cheers