Google
 
Web tech-mania.blogspot.com

Thursday, September 14, 2006

 

Error connecting to database when Global.asa is sub directory

?

Database Results Error

The database connection named \'Paydata\' 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

Problem: When IIS processes scripts, it will use the globla.asa in the root of the website.


Fix: In the IIS console, go to the properties for the directory and do the following:

1)In the directory options, there is a section called "Application Setting".?Click
on Create
2)Change the permissions to "Script"
3)Click "Apply"
4)Click "OK"

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?