Oracle.DataAccess.Client.OracleException ORA-12154: TNS: 无法解析指定的连接标识符
点击快速登录就报这个错atOracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32errCode,...
点击快速登录就报这个错
at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck) at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) at Oracle.DataAccess.Client.OracleConnection.Open() at DbLinq.Data.Linq.Database.Implementation.DatabaseConnection..ctor(IDbConnection connection) at DbLinq.Data.Linq.Database.Implementation.DatabaseContext.OpenConnection() at DbLinq.Data.Linq.Database.Implementation.TransactionalCommand..ctor(String commandText, Boolean createTransaction, DataContext dataContext) at DbLinq.Data.Linq.Sugar.AbstractQuery.GetCommand(Boolean createTransaction) at DbLinq.Data.Linq.Sugar.SelectQuery.GetCommand() at DbLinq.Data.Linq.Sugar.Implementation.QueryRunner.Select[T](SelectQuery selectQuery) at DbLinq.Data.Linq.Sugar.Implementation.QueryRunner.SelectSingle[S](SelectQuery selectQuery, Boolean allowDefault) at DbLinq.Data.Linq.Sugar.Implementation.QueryRunner.SelectScalar[S](SelectQuery selectQuery) at DbLinq.Data.Linq.Implementation.QueryProvider`1.Execute[TResult](Expression expression) at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source, Expression`1 predicate) at MiniPortal.DAL.UserServer.LogSucceed(String sUserName, String sPassWord, String& message) 展开
at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck) at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) at Oracle.DataAccess.Client.OracleConnection.Open() at DbLinq.Data.Linq.Database.Implementation.DatabaseConnection..ctor(IDbConnection connection) at DbLinq.Data.Linq.Database.Implementation.DatabaseContext.OpenConnection() at DbLinq.Data.Linq.Database.Implementation.TransactionalCommand..ctor(String commandText, Boolean createTransaction, DataContext dataContext) at DbLinq.Data.Linq.Sugar.AbstractQuery.GetCommand(Boolean createTransaction) at DbLinq.Data.Linq.Sugar.SelectQuery.GetCommand() at DbLinq.Data.Linq.Sugar.Implementation.QueryRunner.Select[T](SelectQuery selectQuery) at DbLinq.Data.Linq.Sugar.Implementation.QueryRunner.SelectSingle[S](SelectQuery selectQuery, Boolean allowDefault) at DbLinq.Data.Linq.Sugar.Implementation.QueryRunner.SelectScalar[S](SelectQuery selectQuery) at DbLinq.Data.Linq.Implementation.QueryProvider`1.Execute[TResult](Expression expression) at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source, Expression`1 predicate) at MiniPortal.DAL.UserServer.LogSucceed(String sUserName, String sPassWord, String& message) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询