悬赏园豆:20
[已关闭问题]
<P>我用C#调用SAP的com组件,只要一创建就出错:</P>
<P> SAPLogonCtrl.SAPLogonControl slc = new SAPLogonCtrl.SAPLogonControl();<BR>在执行用户定义例程或聚合 'ExistCard' 期间出现 .NET Framework 错误: <BR>System.UriFormatException: Invalid URI: The URI is empty.<BR>System.UriFormatException: <BR> at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)<BR> at System.ComponentModel.Design.RuntimeLicenseContext.GetLocalPath(String fileName)<BR> at System.ComponentModel.Design.RuntimeLicenseContext.GetSavedLicenseKey(Type type, Assembly resourceAssembly)<BR> at System.ComponentModel.LicenseManager.LicenseInteropHelper.GetCurrentContextInfo(Int32& fDesignTime, IntPtr& bstrKey, RuntimeTypeHandle rth)<BR> at Pansoft.Call.SAP.SAPProxy.Init(String appServer, String sys, Int32 sysNum, String client, String user, String pass, String lang)<BR></P>
<P>有人知道吗?很急。SAP Connector只支持.NET 1.1,并且要在2003下开发,我不想安装了:(</P>
海阔天空
|
初学一级
|
园豆:
185
提问于:2008-06-18 23:41