SAP Connector for Microsoft .NET 3.0-------Cannot convert String into DATE/TIME


SAP Connector for Microsoft .NET 3.0


下載位址
https://support.sap.com/en/product/connectors/msnet.html
請根據.net版本以及CPU來選擇安裝版本,否則會有問題

下載的ZIP把他解壓,之後安裝,安裝完成後,到安裝路徑把DLL搬到你的程式下參考

________________________________________________________________


另外若是3.0.15.0之前,會發生Time欄位超過24:00,報錯的問題(如下所述)

請更新到3.0.15.0和之後版本,並在程式中加入此句

GeneralConfiguration.AnyDateTimeValueAllowed = true;

根據SAP官方文件的敘述: (https://apps.support.sap.com/sap/support/knowledge/preview/en/2396680)

According to SAP Note 856863 - SAP NCo Release and Support Strategy, NCo 2.0 has ended its support thus please use NCo 3.0 in custom program.

Since NCo 3.0.15, it offer new feature to disable the validation. Please check Note 2095394 - SAP .NET Connector Version 3.0.15 last paragraph for detail. Or you can get same information from page 37 of NCo_30_ProgrammingGuide.pdf which can be downloaded from https://service.sap.com/connectors -> SAP Connector for Microsoft .NET











留言

這個網誌中的熱門文章

刪除大量資料造成Lock escalation鎖定升級 SQL Server

避免登出後,讀取快取返回上一頁。 How to prevent seeing previous page after logout?