Created test .net assembly with following values:
library: assembly.pbl
namespace: testassembly
assembly file name: testassembly.dll
setup file name: testassembly.msi
custom class object: n_assembly
custom class name: n_assembly
method name: of_add
----------------------
Appeon server is installed in C:\Inetpub\QMobile
Ran testassembly.msi and installed in C:\Inetpub\QMobile\appeon\AEM\components
This created directory bin in C:\Inetpub\QMobile\appeon\AEM\components with files
assembly.pbd
testassembly.dll
testassembly.pdb
testassembly.xml
----------------------
Created mobile test program with following code
AppeonDotNetComponent lnv_compute
any la_params[]
long ll_rc
la_params[1] = '2'
la_params[2] = '3'
la_params[3] = ''
lnv_compute = create AppeonDotNetComponent
lnv_compute.componenttype = "1"
lnv_compute.typelib = 'testassembly.dll'
lnv_compute.classdescript = 'n_assembly'
ll_rc = lnv_compute.of_ExecInterface('of_add', la_params)
if ll_rc = 1 then
messagebox('Computed', la_params[3]
else
messagebox('Error', 'rc: ' + string(ll_rc))
end if
destroy lnv_compute
----------------------
Mobile application error:
Execute dotnet method failed. Error message = Appeon.Uil.MethodUtil.AppMethodException: AppMeth: get component assembly failure! message=Could not load file or assembly 'file:///C:\Inetpub\QMobile\Appeon\AEM\Components\testassembly.dll' or one of its dependencies. The system cannot find the file specified.
----------------------
Can anyone help with why I am getting this error?