A
ann_nyc
I have been hunting around and trying a number of KB
articles - I will list them later - but I cannot display
database results in my web page.
Here is the situation. I built the website in FP 2000. I
have a few .asp page in the site meant to connect with a
database created in Access 2000.
I inserted the database results on a page within my web
and was able to successfully add and verify the database.
I have IIS 5.0 installed and configured on a Windows 2000
box with the FrontPage Extenstions for testing.
I have published to a subweb in the wwwroot and everything
looks to be in order. Everytime I call a page that calls
a DB I get the following:
Database Results Error
The database connection named 'database1' is undefined.
This problem can occur if:
* the connection has been removed from the web
* the file 'global.asa' is missing or contains errors
* the root folder does not have scripting permissions
enabled
* the web is not marked as an application root
The connection has not been removed, I have renamed and
then "recreated" the global.asa file as per a KB article,
the root folder does indeed have scripting permissions
enabled and the web IS an application root.
ASP seems to be functioning properly as I am able to
execute various scripts. I have tested this a number of
different ways and I have been successful each time. The
problems seem to start when I attempt to connect to a DB,
any Access DB I have created and I have created and tested
a number of them.
I have tried these KB articles for a solution, but none
has resolved the issue: 219170, 232612, 265323, 265174,
204152, among others.
The most telling one was 265174. The article says that if
the =Application() variable returns nothing (which it
did), one of the following conditions is true:
The Global.asa file is not being executed; this is
probably because of the folder not being configured as a
program.
The Connection String in the ASP code is not defined in
the Web settings.
It refers me to another article, but this does not resolve
the issue either.
Does anybody have any ideas?
Thanks, Ann
articles - I will list them later - but I cannot display
database results in my web page.
Here is the situation. I built the website in FP 2000. I
have a few .asp page in the site meant to connect with a
database created in Access 2000.
I inserted the database results on a page within my web
and was able to successfully add and verify the database.
I have IIS 5.0 installed and configured on a Windows 2000
box with the FrontPage Extenstions for testing.
I have published to a subweb in the wwwroot and everything
looks to be in order. Everytime I call a page that calls
a DB I get the following:
Database Results Error
The database connection named 'database1' is undefined.
This problem can occur if:
* the connection has been removed from the web
* the file 'global.asa' is missing or contains errors
* the root folder does not have scripting permissions
enabled
* the web is not marked as an application root
The connection has not been removed, I have renamed and
then "recreated" the global.asa file as per a KB article,
the root folder does indeed have scripting permissions
enabled and the web IS an application root.
ASP seems to be functioning properly as I am able to
execute various scripts. I have tested this a number of
different ways and I have been successful each time. The
problems seem to start when I attempt to connect to a DB,
any Access DB I have created and I have created and tested
a number of them.
I have tried these KB articles for a solution, but none
has resolved the issue: 219170, 232612, 265323, 265174,
204152, among others.
The most telling one was 265174. The article says that if
the =Application() variable returns nothing (which it
did), one of the following conditions is true:
The Global.asa file is not being executed; this is
probably because of the folder not being configured as a
program.
The Connection String in the ASP code is not defined in
the Web settings.
It refers me to another article, but this does not resolve
the issue either.
Does anybody have any ideas?
Thanks, Ann