Server/Database problem
I have a problem where for some reason my database isnt working within my server.
This is my main function:
static void Main ( string [ ] args )
{
server.start ( PORT, MAXCONNECTIONS );
// Let the program quit when they press enter
Console.WriteLine ( "Press Enter to exit" );
Console.ReadLine ( );
Console.WriteLine ( "Server finished." );
// Stop the server
server.stop ( true );
}
The server class I write is a basic socket server that listens for connections.
Now my problem is that once my server starts up I cannot open the database (OleDb).
such as:
OleDbConnection dbCon = new OleDbConnection ( );
I setup my connection string then try to:
dbCon.Open ( );
But as I said before.. this does not work once the server has stared. And I have no clue why :S. If anyone could help me with this it would be greatly appreacheated. Thanks.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

kyle_hankinson45 pointsPosted Mar 28, 2005, 12:57 AM EST
sacrespRank #1,944 · 754 pointsPosted Mar 29, 2005, 10:47 AM EST
kyle_hankinson45 pointsPosted Mar 29, 2005, 10:50 AM EST