06 Sep 2010 
Support Center » Knowledgebase » What is a DSN?
 What is a DSN?
Solution DSN is used to access databases, e.g. Access, MSSQL, TEXT etc.

There are 2 methods of connecting to a DSN.

Here is the 1st option of connecting to a database with a DSN.

<%
Dim Conn
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.ConnectionString = "DSN=YourDSN"
Conn.Open
Conn.Close
Set Conn = Nothing
%>
Here is the 2nd option of connecting to a database with a DSN.
<%
Dim myDSN
Dim Conn
myDSN="DSN=YourDSN"
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open(myDSN)
Conn.Close
Set Conn = Nothing
%>

YourDSN is the DSN that you create from the control panel

With Nexus, you can create DSNs from your Windows Control panel 24 hours a day.



Article Details
Article ID: 5
Created On: 11 Sep 2003 10:53 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | Troubleshooter | News | Downloads
Language:

Help Desk Software By Kayako SupportSuite v3.50.06