注册

dotnet中使用ibatis连接报错:The given key 'useSkyWalking' was not present in the dictionary.

DM_152217 2024/08/05 369 4

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:8
【操作系统】:windows
【CPU】:
【问题描述】*:
我的连接配置为:<dataSource name="PsCustomMan" connectionString="server=127.0.0.1;port=5236;schema=RAISETECH;user=RAISETECH;password=123;useSkyWalking = false" />
详细堆栈:
在 System.ThrowHelper.ThrowKeyNotFoundException[T](T key)
在 System.Collections.Generic.Dictionary`2.get_Item(TKey key)
在 Dm.DmConnection.CreateDmTracingCommand(DmConnection conn)
在 Dm.DmConnection.do_CreateDbCommand()
在 Dm.DmConnection.CreateDbCommand()
在 IBatisNet.Common.DbProvider.CreateDataParameter()
在 IBatisNet.DataMapper.SqlMapSession.CreateDataParameter()
在 IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory.CreateParametersForTextCommand()
在 IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory.Prepare()
在 IBatisNet.DataMapper.Configuration.Sql.Static.StaticSql.BuildPreparedStatement(ISqlMapSession session, String sqlStatement)
在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.ApplyInlineParemeterMap(IStatement statement, String sqlStatement)
在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.ProcessSqlStatement(IStatement statement)
在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.ConfigureSqlMap()
在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Initialize()
在 IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument document, DataSource dataSource, Boolean useConfigFileWatcher, Boolean isCallFromDao)

回答 0
暂无回答
扫一扫
联系客服