Hey, I am trying to use ASP to create a connection to my database and i have the following connection code:
Set objConn = ConnectDB()
Set objRS = objConn.Execute(query)
I have an include file that I have at the top of my page:
<!--#include FILE=dbcano.inc-->
And I get this error when I call my page:
Microsoft VBScript runtime error '800a01f4' Variable is undefined: 'ConnectDB' patti_trinkets.asp, line 9
The ConnectDB() is a function I created that is stored within the dbcano.inc file.
Any suggestions as to why I am getting this error when I call my page?
My full code can be found here: http://pastie.org/337183
Thank you,
Ryan