Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DSN vs DSN-less connection

Status
Not open for further replies.

Kactus

MIS
Jul 1, 2001
49
AU
Hello people,

I have been using Macromedia Ultradev to build quick and dirty VBScript and ASP pages and testing them on my PWS which worked fine because I had a DSN connection set up. The time came to release my children to the world and I chose Brinkster to host to do it (because it's free and I'm cheap;-)) but Brinkster it seems, doesn't support DSN connections.

Can someone explain, please, what all this DSN stuff is? How can I change from a DSN page to a DSN-less page?

I appreciate that this is a gaping whole in my basic knowledge and I'd love someone to fill it for me.

Thanks in advance,
Dave
 
DSN connection requires acess to registry cuz there is stored the DSN and in DSN file is just the parameters for connection.
If the DSN wasn't created on the server your DSN connection won't work.
All u have to do is to use parts of your DSN file to connect at database.
in SQL i use
Code:
Connection.Open "Provider=SQLOLEDB.1;Persist Security Info=True;User ID=sa;Initial Catalog=databasebname;Data Source=servername"
________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top