我在我的 .NET 框架应用程序上使用 IBM.Data.DB.Provider nuget 包并将其部署到 Azure 应用程序服务。我收到以下错误消息:
System.IO.IOException: SQL0035N The file "C:\home\site\wwwroot\bin\clidriver\msg\en_US\db2nmp.xml" cannot be opened.
at IBM.Data.DB2.DB2Resource..ctor(CultureInfo cultureInfo, String szResFileName, String szMsgPath)
at IBM.Data.DB2.DB2Resources.GetResource(CultureInfo cultureInfo)
at IBM.Data.DB2.DB2Exception.get_Message()
at System.Runtime.InteropServices.ExternalException.ToString()
at IBM.Data.DB2.DB2ConnPool.HandleUnknownErrors(String strFncMsg, Exception exception, Boolean bThrow)
at IBM.Data.DB2.DB2ConnPool.EncryptString(String value)
at IBM.Data.DB2.DB2ConnPool.ReplaceConnectionStringParms(DB2Connection connection, String szValue, DB2ConnSettings& pSettings, DB2ConnSettingsInternal& pSettingsInternal, Boolean bAttach, Boolean pushDownStrAppended)
at IBM.Data.DB2.DB2Connection.set_ConnectionString(String value)
at IBM.Data.DB2.DB2Connection..ctor(String connectionString)
我如何授予此文件的权限?谁能分享您为 IBM DB2 数据提供者设置应用服务的经验?
答案 0 :(得分:0)