To Create DSN for MSAccess Database do following steps.
1. Access your control panel
2. Click on ODBC.
3. Click on Add New ODBC DSN
4. In the Connection Name, enter the DSN name, in the driver, select Microsoft Access Driver and click ok.
5. In the DB File Path enter the complete path (c:\inetpub\vhosts\domainname.com\httpdocs\file or foldername) to your database and click on Test Connection. If the connection is successful, click on Next.
6. Click on Finish.
- 18 Пользователи нашли это полезным
Связанные статьи
Sending email using CDOSYS
If you are using a Windows 2000 / 2003 Server, or even XP Pro chances are that CDOSYS is your...
Upload file through ASP.net
<% @Page Language="C#" %><html><head> <title>File upload...
Mailenable Component - Mail Code
Mailenable Component - Mail Code <%@ Language=VBScript %> <% Dim oMail Set oMail =...
Create MS Access DSNLess connection string
Many people have requested this so here it is: "DRIVER={Microsoft Access Driver (*.mdb)};...
MS SQL Server 2005 connection String
MS SQL server 2005 & 2008 connection string : ------------------------------------------...