ASP.NET 2.0 - C/ODBC - ERROR: Driver does not support this function

Hi There,

I’m working for showing all contacts from Navision Attain on a webpage.

I have successfully installed the C/ODBC andre i can see the list og company. So the connection is working fine.

But when i get into my webpage i get this error:

ERROR [IM001] [Microsoft][ODBC Driver Manager] Driver does not support this function.

My ShowContact.aspx looking like this:

<asp:DataList ID=“DataList1” runat=“server” DataSourceID=“SqlDataSourceKontakt” Width=“100%”>

';">
<%#Left(Container.DataItem("Navn"),25)%>

</asp:DataList>

<asp:SqlDataSource ID=“SqlDataSourceKontakt” runat=“server” ConnectionString="<%$ ConnectionStrings:ConnectionString %>" ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" SelectCommand=“SELECT Nummer, Navn FROM Kontakt”></asp:SqlDataSource>

How can i fix the problem? is it a compatibility error?

Hej,

Have you test that this works form other applications, ex. from Excels Query platform?