Solved

How do I keep my server connection open in VB2008?

Posted on 2012-04-10
2
199 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

776 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