原有一台服务器(2K SERVER)运行正常
现把原有服务器上的数据库中的数据和程序装到一台新的服务器(2K ADVANCE SERVER)上后,运行WEB程序发生错误,请问该如何解决
注:1、两台机器的机器名不一样是否有关
2、.net 框架为1.1
Server Error in '/XCN' Application.
--------------------------------------------------------------------------------ORA-01017: invalid username/password; logon denied 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.OleDb.OleDbException: ORA-01017: invalid username/password; logon deniedSource Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: 
[OleDbException (0x80004005): ORA-01017: invalid username/password; logon denied]
   System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
   System.Data.OleDb.OleDbConnection.InitializeProvider() +57
   System.Data.OleDb.OleDbConnection.Open() +203
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +44
   System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304
   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
   XCN.webform.CX_DD.condition()
   XCN.webform.CX_DD.Page_Load(Object sender, EventArgs e)
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +731 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

解决方案 »

  1.   

    Exception Details: System.Data.OleDb.OleDbException: ORA-01017: invalid username/password; logon denied
    ---------
    登录错误,请检查你的用户名与密码(数据库)
      

  2.   

    检查用户名和密码首先,你确认一下, 用 SQL PLUS 可以连接成功吗?
      

  3.   

    用户名与密码都没问题,用SQL PLUS、PLSQL、青蛙都能连接
      

  4.   

    ORA-01017: invalid username/password; logon denied 改一下连接字符串,或者建立一个与程序匹配的用户名和密码
      

  5.   

    .net连接数据库字符串查询.
    http://www.connectionstrings.com/
    首先确认你的Oracle用户名及密码是否正确.然后看一下IIS中有没有创建.net应用程序.
      

  6.   

    是的,用.net建一个连接,拷贝出来就ok啦
      

  7.   

    用SYSTEM可以登陆,用别的就不行,连接都需要什么权限????
      

  8.   

    你有没有建立用户?必须建立一个用户,并给予相应的权限
    connect,resource,这两个权限是必备的.
      

  9.   

    TO hchxxzx(NET?摸到一点门槛) 通过.net程序用SCOTT也不能登陆。但用PL/SQL和ORACLE的企业管理器SCOTT都能登陆。
      

  10.   

    oracle連結問題真是讓人搞不懂,幫你頂!!!