|
 |
asp_databases thread: DNS and Databases
Message #1 by "Matt Besseling" <mattb@h...> on Wed, 19 Apr 2000 8:7:14
|
|
I'm designing asp pages to access our client database. I'm quite new to
this, and it would be a great help it you could explain what DNS is. I had
to ask our hosting service to set this up in the directory our database was
found in. Does this mean that the asp pages can only be executed from this
directory? Can sequel statements access other directories?
Secondly, I have a form sending info to an asp page. The asp page has
sequel statements to access the database. But when I try to use the pages,
all it does is spew out the asp code. Should I shoot myself now and save
the world much trouble later on?
Suicidal Programmers Unite!
Thanks
Matt
Message #2 by "Matthew Lohr" <mlohr@t...> on Wed, 19 Apr 2000 08:34:18 -0400
|
|
I think you are refferring to a DSN which is a data source name. This means
that your entire site can see this no matter where the page is located. It
is just a name that refers to your database. The server recognizes this
name and then points to the correct database. Any page that you create, no
matter which directory you place it in can call this DSN(Data Source Name)
and will be able to access it. If you were to go into the control panel of
an NT Machine you will see an icon for ODBC Data Sources. This is where the
entry is made on the server. As far as your pages spewing out only the asp
code I am not sure what causes this but I have seen it before and it
mysteriously corrected itself. Can anyone else answer this part of the
question?
-----Original Message-----
From: Matt Besseling
Sent: Wednesday, April 19, 2000 12:00 AM
To: ASP Databases
Subject: [asp_databases] DNS and Databases
I'm designing asp pages to access our client database. I'm quite new to
this, and it would be a great help it you could explain what DNS is. I had
to ask our hosting service to set this up in the directory our database was
found in. Does this mean that the asp pages can only be executed from this
directory? Can sequel statements access other directories?
Secondly, I have a form sending info to an asp page. The asp page has
sequel statements to access the database. But when I try to use the pages,
all it does is spew out the asp code. Should I shoot myself now and save
the world much trouble later on?
Suicidal Programmers Unite!
Thanks
Matt
|
|
 |