Jump to content

Changing DSN to DSN-Less


david220

Recommended Posts

hi

I bought a web site of ebay for about £4500 (www.uktattoostudios.co.uk).  I decided to get the web site hosted on a new hosting company called namesco.co.uk.  the only problem is they dont support DSN and have DSN-Less

How would I change the site to work with DSN-Less?

the site is a tattoo studio directory.It uses MS SQL database with about 1000 studios listed.  The studios can log in and change there details etc.

The only file I find on the site with dsn in is this code call tattoo.asp

<%
' FileName="Connection_odbc_conn_dsn.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema=""
Dim MM_TATTOO_STRING
MM_TATTOO_STRING = "dsn=TATTOO;uid=dt-data;pwd=XXXXXXXX;"
%>

I can connect to the ms sql server , Would I need to change the MS SQL 2005 database codes?  If yes how would I do this. and what do i change in the above code

Finally would changing it to dsn-less cause any problems?

thanks
dave
[email protected]
[email protected]
Link to comment
https://forums.phpfreaks.com/topic/18332-changing-dsn-to-dsn-less/
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.