Want to know if it's due to an issue from Oracle Client RRS feed

  • General discussion


    Within my form, I'm trying to connect to my Oracle XE DB by these codes


    conn.ConnectionString = "User ID=web_schema;Password=web_password;Data Source=xe;Integrated Security=yes";




    MessageBox.Show("Connected with success!");


    catch (Exception ex)


    MessageBox.Show("Failed to connect to data source!");



    But I've got the above exception.


    The problem is that I do not have any problems to connect to the same using Oracle client, like:


    conn web_schema/web_password@xe

    Thanks & Best Regards, HuaMin Chen. In Hong Kong, China.
    Monday, November 24, 2008 4:53 AM

All replies

  • I believe Integrated Security is only used on trusted connections, which don't have userid/passwords provided in the string (they are provided by the OS). Check out for examples of strings that work.

    Ron Whittle - If the post is helpful or answers your question, please mark it as such.
    Monday, November 24, 2008 5:27 AM