?
Solved

about user dsn

Posted on 2006-06-14
8
Medium Priority
?
218 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
[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
  • 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 1000 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Suggested Courses
Course of the Month8 days, 21 hours left to enroll

764 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