Solved

about user dsn

Posted on 2006-06-14
8
199 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

773 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