Solved

about user dsn

Posted on 2006-06-14
8
189 Views
Last Modified: 2010-04-30
i have the connection string like this in my application.

connstring = '"dsn=abcgar.customer;uid=xxx;pwd=xxxx;"

i am working new on this application. when i download the application from ftp and try to run it on my local machine...its not identifyin the odbc driver.

what kinda dsn is it. user dsn or file dsn ...also can you tell how can i create that kinda dsn..

thanks
sandeep
0
Comment
Question by:cognos79
  • 4
8 Comments
 
LVL 8

Expert Comment

by:dds110
ID: 16902550
A DSN is a file that must be created for each individual computer that the program is to run on.  That's why I try not to use them.  You would be better off using ADODB connection strings.  Look here:  www.connectionstrings.com

If you're insistent on using a DSN, point to Start>>Programs>>Administrative Tools>>Data Sources (ODBC)

You're on your own from here.  You need to know what kind of database your app is connecting to, the path to it, the user name and password (if any), etc...

Good Luck.
0
 
LVL 3

Author Comment

by:cognos79
ID: 16903045
there so many access dbs in a particular folder. when i create a dsn which access db should i point to..its askin me to select a database.
0
 
LVL 8

Expert Comment

by:dds110
ID: 16904027
looking again at your original post, the dsn doesn't look like it points to an access db; it looks like the syntax used for a SQL Server database.
0
 
LVL 8

Accepted Solution

by:
dds110 earned 250 total points
ID: 16904033
You'll most likely have to contact the owner of the application to find out what db to connect to.  Sorry I can't be of much use but that's the problem behind DSN's.
0
 
LVL 8

Expert Comment

by:dds110
ID: 17293594
looking over the post, I'm not sure cognos79 completely understands the technology he's attempting to use (i.e. the whole dsn thing).  I could be wrong and I don't mean for this post to "sound" like i'm blasting the dude (or dudette).But I stick to my last post in this thread; he/she should contact the owner of the app to find out what database to use.  I really don't care about the points.  He should probably be refunded so he has some points to ask more questions.

I mean, c'mon!!  We're all about helping people here.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

911 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