企业库v5异常

时间:2013-05-29 13:04:19

标签: vb.net enterprise-library

我在通过企业库v5执行查询时遇到以下异常。

SqlCommand.DeriveParameters failed because the SqlCommand.CommandText property value is an invalid multipart name "SELECT QUERY", the current limit of "4" is insufficient.

代码:

Try
   Dim db As Database = DatabaseFactory.CreateDatabase("DatabaseName")
   reader = db.ExecuteReader(CommandType.Text, query)
Catch ex As Exception
   Throw ex
End Try

此代码块运行正常,直到昨天。突然,这个错误出现在日志中。

0 个答案:

没有答案