小编Baz*_*lay的帖子

执行与Oracle的连接时,"安全程序包中没有可用的凭据"

在上次Windows更新后,执行与Oracle数据库连接的测试因AuthenticationException而失败.消息和堆栈跟踪如下所示:

    <ErrorInfo>
          <Message>Test method threw exception: 
System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---&gt; Oracle.ManagedDataAccess.Client.OracleException: Oracle Communication: Failed to connect to server or failed to parse connect string ---&gt; OracleInternal.Network.NetworkException: Oracle Communication: Failed to connect to server or failed to parse connect string ---&gt; System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---&gt; System.ComponentModel.Win32Exception: No credentials are available in the security package</Message>
          <StackTrace> 
 --- End of inner exception stack trace ---
    at System.Net.Security.NegoState.StartSendAuthResetSignal(LazyAsyncResult lazyResult, Byte[] message, Exception exception)
   at …
Run Code Online (Sandbox Code Playgroud)

c# oracle database-connection windows-10-desktop oracle-manageddataaccess

2
推荐指数
1
解决办法
2542
查看次数