Click here to Skip to main content
15,903,012 members
Home / Discussions / Database
   

Database

 
QuestionHow to Display transactions happened in sqlserver 2005 Pin
nainakarri19-Dec-10 21:58
nainakarri19-Dec-10 21:58 
AnswerRe: How to Display transactions happened in sqlserver 2005 Pin
Hiren solanki19-Dec-10 22:49
Hiren solanki19-Dec-10 22:49 
GeneralRe: How to Display transactions happened in sqlserver 2005 Pin
nainakarri20-Dec-10 0:00
nainakarri20-Dec-10 0:00 
QuestionError Can't serliase access for the transaction Pin
kjsl2k919-Dec-10 18:08
kjsl2k919-Dec-10 18:08 
AnswerRe: Error Can't serliase access for the transaction Pin
Jörgen Andersson20-Dec-10 10:29
professionalJörgen Andersson20-Dec-10 10:29 
QuestionSQL Server Memmory problem Pin
MAW3019-Dec-10 11:35
MAW3019-Dec-10 11:35 
AnswerRe: SQL Server Memmory problem Pin
Mycroft Holmes19-Dec-10 11:57
professionalMycroft Holmes19-Dec-10 11:57 
QuestionConnect C# Application to network Oracle 10g install Pin
PDTUM18-Dec-10 8:10
PDTUM18-Dec-10 8:10 
So...I am running Visual Studio 2010 on a new Windows 7 machine. I have a server on the network running Windows 2003 server with Oracle 9i and 10g installed. I am trying to connect to the Oracle 10g database on that server from a new .Net application on the Windows 7 machine. This is the error I keep getting:

{"System.Data.OracleClient requires Oracle client software version 8.1.7 or greater."}

I Googled the error and I have tried the following suggestions:

1. Changed the administration folder permissions for Read and Execute for Authenticated Users (with reboot).
2. Made changes to the tnsNames.ora file
3. Made changes to the sqlnet.ora file as follows; NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
4. Changed the listening port to the following different port numbers (1521,1522,8081).

This is the connection code with the various config strings that I have tried (Tel1 is the server name):

//Class Variables
       string CONNSTR = //"Data Source=//Tel1:1522;User Id=Patrick;Password=Pass;Integrated Security=no";
           //"Data Source=Patrick/Pass@//Tel1:1521";
           //"Data Source=Patrick/Pass@//Tel1:1522";
           //"Server=//Tel1:8081;User ID=Patrick;Password=Pass;";
           "Data Source=//Tel1:1522;User Id=Patrick;Password=Pass;Integrated Security=no";

       public Oracle()
       {
           InitializeComponent();
       }

       //Methods
       private void TestMyOracleConnection()
       {
           OracleConnection Conn = new OracleConnection(CONNSTR);
           try
           {
               Conn.Open();
               MessageBox.Show("Connection Established", "Success");
           }
           catch (OracleException ex)
           {
               MessageBox.Show(ex.Message, "Oracle Connection Failed!");
           }
           catch (Exception ex)
           {
               MessageBox.Show(ex.Message, "Oracle Connection Failed!");
           }
           finally
           {
               Conn.Close();
               MessageBox.Show("Connection Closed", "Success");
           }
       }

       private void buttonTestConnection_Click(object sender, EventArgs e)
       {
           TestMyOracleConnection();
       }


I am exasperated with this. I never have a connection issue with MS SQL or MySQL...in fact, I made connections from the same .Net program to both of these DB's both over the network and to a remotely hosted server and it works perfectly. Obviously, my knowledge of Oracle leaves much to be desired. I would appreciate any idea's or suggestions. Thank you...Pat
AnswerRe: Connect C# Application to network Oracle 10g install Pin
Mycroft Holmes18-Dec-10 12:21
professionalMycroft Holmes18-Dec-10 12:21 
GeneralRe: Connect C# Application to network Oracle 10g install Pin
PDTUM18-Dec-10 13:57
PDTUM18-Dec-10 13:57 
AnswerRe: Connect C# Application to network Oracle 10g install Pin
Jörgen Andersson18-Dec-10 13:07
professionalJörgen Andersson18-Dec-10 13:07 
GeneralRe: Connect C# Application to network Oracle 10g install Pin
PDTUM18-Dec-10 13:55
PDTUM18-Dec-10 13:55 
JokeRe: Connect C# Application to network Oracle 10g install Pin
Mycroft Holmes18-Dec-10 16:21
professionalMycroft Holmes18-Dec-10 16:21 
GeneralRe: Connect C# Application to network Oracle 10g install Pin
jschell19-Dec-10 9:57
jschell19-Dec-10 9:57 
GeneralRe: Connect C# Application to network Oracle 10g install Pin
PDTUM19-Dec-10 10:39
PDTUM19-Dec-10 10:39 
GeneralRe: Connect C# Application to network Oracle 10g install Pin
jschell20-Dec-10 9:06
jschell20-Dec-10 9:06 
QuestionDatabase design Pin
V.16-Dec-10 20:23
professionalV.16-Dec-10 20:23 
AnswerRe: Database design Pin
Mycroft Holmes16-Dec-10 20:56
professionalMycroft Holmes16-Dec-10 20:56 
GeneralRe: Database design Pin
Jörgen Andersson16-Dec-10 22:10
professionalJörgen Andersson16-Dec-10 22:10 
GeneralRe: Database design Pin
Pete O'Hanlon17-Dec-10 4:50
mvePete O'Hanlon17-Dec-10 4:50 
GeneralRe: Database design Pin
Jörgen Andersson17-Dec-10 8:32
professionalJörgen Andersson17-Dec-10 8:32 
GeneralRe: Database design Pin
Pete O'Hanlon17-Dec-10 8:36
mvePete O'Hanlon17-Dec-10 8:36 
GeneralRe: Database design Pin
Jörgen Andersson17-Dec-10 8:53
professionalJörgen Andersson17-Dec-10 8:53 
GeneralRe: Database design Pin
Pete O'Hanlon17-Dec-10 9:15
mvePete O'Hanlon17-Dec-10 9:15 
GeneralRe: Database design Pin
Jörgen Andersson17-Dec-10 9:54
professionalJörgen Andersson17-Dec-10 9:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.