iam trying to connect to MS AX using business connector from MS VB 2005 and iam getting an error while creating axapta object for axapta class (AxLedgerDemo) even i have created it in MS Dynamics AX
error : "The operation failed. The class %s does not exist."
here is the code in VB
axapta = New Microsoft.Dynamics.BusinessConnectorNet.Axapta
axapta.Logon("", "", "", "")
AxLedgerDemo = axapta.CreateAxaptaObject("AxLedgerDemo")
can anybody help me why iam getting this error and what is the solution?