使用ASP.NET MVC的

时间:2016-07-28 05:22:28

标签: asp.net asp.net-mvc oracle

我在using声明中遇到了问题。错误发布在下面。你们认为程序会产生什么错误?

public JsonResult Save_Record(UserModels model)
{
    using (var con = new OracleConnection(ConfigurationManager.ConnectionStrings["DBEntities"].ConnectionString))    
    {
        ...
    }
}

这是using行中的错误:

An exception of type 'System.ArgumentException' occurred in Oracle.DataAccess.dll but was not handled in user code

Additional information: 'metadata' is an invalid connection string attribute

0 个答案:

没有答案