execution error

15 views
Skip to first unread message

Greg Stierle

unread,
Aug 8, 2005, 11:12:55 AM8/8/05
to u229 Community Support
Immediately upon loading the files to my server, when executing
start.asp I get this:

Microsoft VBScript runtime error '800a0411'

Name redefined: 'adOpenUnspecified'

/ASPCalendar/cADO.asp, line 30


I checked all the included files and couldn't find another instance
where 'adOpenUnspecified' is also defined. I got the impression that
if I just copied the files on the server all would be fine. I know asp
works on my server because I use it for loads of things.

Greg Stierle

unread,
Aug 8, 2005, 11:43:47 AM8/8/05
to u229 Community Support
It turns out that in the adovbs.inc file on my server I have:

'---- CursorTypeEnum Values ----
Const adOpenForwardOnly = 0
Const adOpenKeyset = 1
Const adOpenDynamic = 2
Const adOpenStatic = 3

I don't want to edit this file on my server as many other pages might
be affected so I'm going to try to find a way around it. I replied
here because I didn't want anyone helping me to chase a red herring.

u229

unread,
Aug 8, 2005, 12:06:59 PM8/8/05
to u229 Community Support
Hi Greg. Actually the module constant adOpenForwardOnly is not used at
all in this calendar application so you could just delete it. The only
one used in that first group in cADO.asp is adOpenDynamic.

Since adovbs.inc is a rather big file I don't include it in my
applications. I never need more than just a few of the constants there
so I just take out the few that I need.

terje

Reply all
Reply to author
Forward
0 new messages