Solved

How do I keep my server connection open in VB2008?

Posted on 2012-04-10
2
220 Views
Last Modified: 2012-04-10
I'm working on an ADO.Net app in VS 2008. When I'm working on the app, every time I try to look at the data in a specific table in my database using the server explorer it asks me for the password of the database before I can view the data in the table. Before it would stay connected all the time so I could view the table data as needed. I'm using an ODBC connection. How can I set this to stay connected all the time as before?

Thanks
Peter
0
Comment
Question by:grouchyfd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 500 total points
ID: 37828855
In the data connection editor, if you don't select "Save my Password" checkbox on the connection dialog, it will prompt you each time.  

Right click your connection in Server Explorer and select "Modify Connection..."
Enter the password here, and make sure the checkbox is checked to persist the password.
0
 

Author Comment

by:grouchyfd
ID: 37828980
Thank you. It works fine now.
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question