|
23.09.2008, 12:38 | #1 |
MVP
|
error at call static method for CLRobject
Hi folks,
i have created a .net dll for ax, it is part of my global asambly cach, it compiles (great :-)) but at run time i get this error occur client static boolean updateCRMfromCustTable(custTable _newCustTable, custTable _orgCustTable) { CrmAx.CustContainer custContainer; CrmAx.AdresContainer adresContainer; System.String connectionURl; System.Collections.ArrayList errorList; InteropPermission interopPermission; str errorStr; str address; int errorCount; int errorMax; ; //Run on server InteropPermission = new interoppermission(Interopkind::ClrInterop); interoppermission.assert(); connectionURl = "http://hbd52/mscrmservices/2007/crmservice.asmx"; try { custContainer = CrmAx.CustContainer::GetCustContainer(_newCustTable.CRMAccountID,connectionURl); ERROR OCCUR custContainer.set_AccountNum
__________________
MVP |
|
23.09.2008, 12:44 | #2 |
Участник
|
WTF?
|
|
23.09.2008, 14:22 | #3 |
MVP
|
the error is clrobject static method invocation error
__________________
MVP |
|
24.09.2008, 19:27 | #4 |
MVP
|
i have anupdate.
the paramter system.Guid does not always work correctly even when the system.Guid is generated in AX. It looks like some issue with a general MS library. Some MS services work fine, other have this issue. Have somenone seen somthing before?
__________________
MVP |
|
25.09.2008, 23:23 | #5 |
Участник
|
Hi Dick,
Can you please repost the question to Dynamics AX Technical Discussion Forum, so we can loop in DAX Server team to find out the root of the issue :0)
__________________
Thx, Ievgenii Korovin| Dynamics Ax SCM| Microsoft Corp| http://blogs.msdn.com/DynamicsAxSCM/ |
|