NAV 2013 ADOConnection

mathieuk
mathieuk Posts: 15
edited 2013-04-02 in NAV Three Tier
Hi Guys,
Hopefully someone can help me with this.
I'm doing a NAV migration from 2009 to 2013 and there is something I can't make working.
I've got a function that's executing a stored procedure in another SQL database using the following automations:
'Microsoft ActiveX Data Objects 2.8 Library'.Connection
'Microsoft ActiveX Data Objects 2.8 Library'.Command
'Microsoft ActiveX Data Objects 2.8 Library'.Parameter

Then, I've got this code:

IF ISCLEAR(ADOConnection) THEN
CREATE(ADOConnection);

When I try to save the function, it gives me this error:
"You cannot create Automation object "ADOConnection" on NAV server. You must create it on the client computer."

Can't we use automations with NAV 2013?
If not, any other way I can execute a stored procedure from NAV 2013? using DotNet variables?

Cheers

Answers