Solved

about user dsn

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA open file from excel cell 4 44
passing parameter in sql procedure 9 65
message box in access 4 51
Crystal reports - Formula Field code need assistance with code 17 83
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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 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…

828 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