DSN creation

  • 14 years ago

    I am using Dreamweaver MX 2004 to create ASP web pages that communicate with a database.

    All I want to do is save names etc and create a search page.

    I need to get a system DSN set up pointing to my database to utilise MX2004 to it's full.

    I am currently with 1 & 1 and having so success with them.

    Can anyone recommend another host or a solution.

  • 14 years ago

    You can use a "DSN Less" connection - it is simply a "connection string" to the database that goes in your code, no need to set up DSN on the server, dreamweaver also allows you to do this. Depending on what database your using they vary - being for asp I presume sqlServer or Access - I've put a sample below.

    Regards

    Brin

    Access
    Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\someFolder\THE Full Path TO myDB.mdb file"

    sqlServer

    Server=yourSQLserverName;Database=yourDBname;Uid=yourUsername;Pwd=yourPassword;


  • 14 years ago

    Hi,

    To create a DSN check my post http://www.developerfusion.co.uk/forums/thread/148678/.

    Hope this works for you.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Better train people and risk they leave – than do nothing and risk they stay.” - Anonymous