TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
kyle_hankinson
NA
58
0
Server/Database problem
Mar 27 2005 4:17 PM
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.
Reply
Answers (
3
)
I can't get the console to go past line 300
I know this forum is not about algorithm but please can you help?