Solved

How do I keep my server connection open in VB2008?

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

728 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