Solved

Connection String Problem

Posted on 2006-10-27
3
182 Views
Last Modified: 2010-05-18
Good Day experts...

Please tell what is wrong...

I Uploaded my database in my Resources then I use the Connection string below to connect to my database...

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\My Project\dbRoomReservation.mdb;Persist Security Info=True;Jet OLEDB:Database Password=()cena"

Everything went find... Until I Package my application,

When I run the software the database cannot be found... what am I doing wrong?

Thanks...
{Jack}
0
Comment
Question by:JackOfPH
3 Comments
 
LVL 10

Expert Comment

by:gangwisch
ID: 17824073
here is a good site for what you need:
http://www.connectionstrings.com
0
 
LVL 15

Author Comment

by:JackOfPH
ID: 17824119
I know... but why is it that when I compile my program, The program can't find the path. It gives me invalid path...
0
 
LVL 5

Accepted Solution

by:
DEEPESH earned 500 total points
ID: 17824572
if you are reading from config file then Please check whether it is lying under proper folder or not.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now