In stored procedure I am using below statements. But it throwing Distributed transaction error when I ran Stored Proc.
Declare @res int
Declare @mes as v
Enable the options
On Security tab of Local DTC Properties in Component Services.