Hello fellow NAV community,
Since I am new to this community I would like to introduce myself before i ask my first question to you:
My name is Martin and I started NAV development a year ago in germany. Since then i have been active learning C/AL and administration of NAV 2009 Classic Client as well as RTC.
Ever since i found many support articles that suited for solving my occuring problems, but now i got a problem which seems easy, but apparently isn't that easy for me. I hope you can help me
The Setup is as following: We access a Codeunit via Navision Web Service. This Web Service is configured on a VM only designed for the Web service. This Win Server 2008 VM Has no classic client installed, just an RTC Client with configured Web service. The RTC Service is disabled whereas the web service is started.
In the Codeunit we try to instantiate a custom .NET assembly which is not registered in the GAC, so we put it in the services Add-Ins folder.
When we access the Web service via http and try to intantiate the dll the following error occurs:
This message is for C/AL programmers: Unable to create an instance of .Net object: assembly [...]
The thing is: I triple checked the version, the name and the public key token of the dll and even checked the RunOnClient property (which is set to No) but it wont work. The user executing the service is local administrator on the VM.
What kind of error sources exist? Did i miss something in the configuration of the VM?
Hopefully you can help me. Thank you all in advance for suggestions and i am looking forward to your answers.
Best regards,
Martin