• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 481
  • Last Modified:

DSN and Dreamweaver

Hi,
I've bought a shared hosting account from Godaddy.com. There is an options to create DSN in the hosting account. So I've uploaded my database and I was trying to connect through that DSN by using Dreamweaver. The problem is that they won't allow to remotely connect to their DSN using Dreamweaver. I've used Dreamweaver to generate ASP code. It's becuase i'm not good in ASP as well.

My question is , How do I connect to that database with the DSN created on the hosting account?...

Regards
Siva
 
0
sivakugan
Asked:
sivakugan
  • 2
2 Solutions
 
dodge20Commented:
Here is a great website that shows how to connect to a db.

If you need to find the path to your database - create a page with this code and upload it to the folder that contains your database. Then access the page through a web browser and it will show your path.
<%
Response.Write Server.MapPath("/")
%>

Open in new window

0
 
dodge20Commented:
Looks as though I forgot the link in the previous post

http://connectionstrings.com/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now