Hi all,
I'm trying to develop distributed application in .NET (C#) using Web Services. When I connect to Progress using MERANT 3.60 ODBC Driver or Progress OpenEdge 10.1A driver I get the following error:
ERROR [HYC00] [MERANT][ODBC PROGRESS driver]Optional feature not implemented. ERROR [IM006] [MERANT][ODBC PROGRESS driver]Driver's SQLSetConnectAttr failed. ERROR [25000] [Microsoft][ODBC Driver Manager] Failed to enlist on calling object's transaction
The code of Web Service is listed below:
This error occurs only when I use TransactionOption attribute.
Any help would be appreciated.
I'm trying to develop distributed application in .NET (C#) using Web Services. When I connect to Progress using MERANT 3.60 ODBC Driver or Progress OpenEdge 10.1A driver I get the following error:
ERROR [HYC00] [MERANT][ODBC PROGRESS driver]Optional feature not implemented. ERROR [IM006] [MERANT][ODBC PROGRESS driver]Driver's SQLSetConnectAttr failed. ERROR [25000] [Microsoft][ODBC Driver Manager] Failed to enlist on calling object's transaction
The code of Web Service is listed below:
Code:
public class Service : System.Web.Services.WebService
{
public Service () {}
[WebMethod(TransactionOption = System.EnterpriseServices.TransactionOption.RequiresNew)]
public void test()
{
OdbcConnection conn = new OdbcConnection("DSN=baza;UID=xyz;PWD=xyz");
conn.Open();
//...
}
}
Any help would be appreciated.