Solved

about user dsn

Posted on 2006-06-14
8
178 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

771 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

8 Experts available now in Live!

Get 1:1 Help Now