Solved

Multiple DSN

Posted on 2004-11-01
185 Views
Last Modified: 2010-05-02
Hi I need a program to create multiple DSN on a server.

Please let me know if anyone can help
-rohan
0
Question by:rohanbairat3
    4 Comments
     
    LVL 26

    Accepted Solution

    by:
    0
     
    LVL 7

    Author Comment

    by:rohanbairat3
    Thanks ,

    The DSN is getting created but then after creation i try to check it and it says test failed ????

    How can i test the DSN ????

    Also my sql odb is set up on server authentication mode ...and in the code i never provide a password.

    please let me know

    -rohan
    0
     
    LVL 7

    Author Comment

    by:rohanbairat3
    Thanks I can create it now ...

    -rohan
    0
     
    LVL 26

    Expert Comment

    by:EDDYKT
    >>How can i test the DSN ????


    You need to use ADO to test it

    >>Also my sql odb is set up on server authentication mode ...and in the code i never provide a password.

    You can use DSN-less instead of using DSN

    http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm#OLEDBProviderForSQLServer
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Title # Comments Views Activity
    Automated script task to send email 22 79
    Using Round (coverting VB6 code to SQL) 5 37
    Port V2 16 30
    Is an IP address in a Range 22 59
    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…
    You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
    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…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    877 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

    11 Experts available now in Live!

    Get 1:1 Help Now