PDA

View Full Version : DSN connection



saeedkhan
شنبه 10 اردیبهشت 1384, 19:46 عصر
ببخشید میخواستم ببینم اگه تو یه صفحه از DSN connection برای ارتباط با Database استفاده کنیم ممکنه بعد از آپلود کردن رو ftp کار مشکل پیدا کنه آخه وقتی صفحه ها رو رو یه کامپیوتر دیگه باز میکنم eror میده تو رو خدا یه راهی پیشنهاد کنید 20 صفحه سایت رو با DSN نوشتم العان موندم چه کار کنم :kaf: :گیج:

M-Gheibi
یک شنبه 11 اردیبهشت 1384, 10:57 صبح
If you have your website hosted by an outside company like most people do, you will need to contact them directly and ask them to setup the DSN for you. You will have to tell them where your database is located within your website and you will have to give the DSN a name.

You will need to setup your DSN with either your hosting company or your administrator if you have your own server.
To DSN or not to DSN?

The problem with DSN is that Users can (and will) modify or delete them by mistake, then your program won't work so well. So it's better to use a DSN-Less or OLE DB Provider connection string - with a Trusted Connection if possible!
http://www.codeave.com/asp/code.asp?u_log=69

Good Luck

saeedkhan
یک شنبه 11 اردیبهشت 1384, 14:53 عصر
آخرش چی راهی مشخص وجود داره که من دست به صفحه هام نزنم یا نه :گیج: