【问题标题】:oracle invalid username/password after changing Visual Studio Servers from VS Development Server to Local IIS Web Server将 Visual Studio 服务器从 VS 开发服务器更改为本地 IIS Web 服务器后,oracle 用户名/密码无效
【发布时间】:2013-11-14 20:36:48
【问题描述】:

如果在项目的属性中,我的代码运行正常, 我“使用 Visual Studio 开发服务器”, 但是在我切换到使用本地 IIS Web 服务器之后, 尽管我使用的是 Windows 凭据,但它总是抛出“无效的用户名/密码”。 我的 Windows 凭据具有权限,因为我可以登录到本地 PL/SQL。

我的配置字符串的语法是<add name="ConnectionString" connectionString="DATA SOURCE=DBNAME;User ID=/;" providerName="Oracle.DataAccess.Client"/> 从这里应该是正确的语法:http://www.connectionstrings.com/net-framework-data-provider-for-oracle/windows-authentication/

请帮忙。是本地IIS的问题吗?请问我该怎么处理?多谢。 任何想法表示赞赏。

【问题讨论】:

    标签: visual-studio-2010 oracle iis webserver database-connection


    【解决方案1】:

    我的主管摇摆不定! 他帮助解决了这个问题。就我而言,是因为虚拟机还在使用之前同事的设置,所以我把URL改成actualmachinename/appname,并确保我的站点使用了正确的应用程序池,然后重新启动应用程序工具(控制面板->管理工具 --> IIS)

    【讨论】:

      猜你喜欢
      • 2010-10-02
      • 2023-04-01
      • 1970-01-01
      • 2012-11-02
      • 2011-07-11
      • 2019-04-19
      • 2022-07-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多