最好是检查一下web服务器的设置,以及数据库服务器的设置,用户名,密码,路径等!

解决方案 »

  1.   

    我的连接字串是:strConnection = "Provider=MSDAORA;Password=rep;User ID=rep;Data Source=lxm3"        密码,数据库名,用户名绝对没错……
    这些是用VS的服务器资源管理器生成的。
    [OleDbException (0x80004005): ORA-12638: 凭证检索失败]
       System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
       System.Data.OleDb.OleDbConnection.InitializeProvider() +57
       System.Data.OleDb.OleDbConnection.Open() +131
       System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +44
       System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +98
       System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77
       System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36
       Marketing.NewPlan.OracleDataSet(String strSQL) in e:\inetpub\wwwroot\Marketing\NewPlan.aspx.vb:68
       Marketing.NewPlan.Page_Load(Object sender, EventArgs e) in e:\inetpub\wwwroot\Marketing\NewPlan.aspx.vb:51
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +29
       System.Web.UI.Page.ProcessRequestMain() +724各位大侠,帮我看看,到底哪错了???
      

  2.   

    try the following:Edit the sqlnet.ora file and change the following parameter 
    from:
     sqlnet.authentication_services = (NTS)
    to:
     sqlnet.authentication_services = (NONE)then reboot the database server
      

  3.   

    凭证这个词,os中翻译得很别扭。出这个错误,一般都是验证没有通过。所以,你按照saucer的方法修改就可以了。
      

  4.   

    你首先应该看看oracle数据库能不能和微软的东西能通讯。