473,386 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ADOVBS processing error

Hi,

In debugging an ASP script, I receive the error message:
--------------------------------------------------------
Microsoft VBScript compilation error '800a0411'

Name redefined

/test/config/include/ADOVBS.INC, line 14

Const adOpenForwardOnly = 0
-------^
What is redefining the Name?

Is there some place to clarify such error messages?

TIA

Neil
Jun 27 '08 #1
7 3447
"Neil Gould" <ne**@terratu.comwrote in message
news:#w**************@TK2MSFTNGP06.phx.gbl...
Hi,

In debugging an ASP script, I receive the error message:
--------------------------------------------------------
Microsoft VBScript compilation error '800a0411'

Name redefined

/test/config/include/ADOVBS.INC, line 14

Const adOpenForwardOnly = 0
-------^
What is redefining the Name?

Is there some place to clarify such error messages?
"adOpenForwardOnly" is declared twice -- somewhere.

Look for another
Const adOpenForwardOnly = 0
or (unlikely)
Dim adOpenForwardOnly

Did you include the file twice?
Does the include file declare it twice?
Does another include declare it?
Jun 27 '08 #2
Neil Gould wrote:
Hi,

In debugging an ASP script, I receive the error message:
--------------------------------------------------------
Microsoft VBScript compilation error '800a0411'

Name redefined

/test/config/include/ADOVBS.INC, line 14

Const adOpenForwardOnly = 0
-------^
What is redefining the Name?

Is there some place to clarify such error messages?

TIA
Create a new asp page, put this code into it and run it:

<%
Const adOpenForwardOnly = 0
Const adOpenForwardOnly = 0
%>

What error do you get? Does this perhaps provide a clue as to what is
going on in the page you are having a problem with?

In case you need to be beaten with a clue-stick: look for another place
in your code where you (or whoever wrote the code) defined that
constant.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jun 27 '08 #3
Neil Gould wrote:
Hi,

In debugging an ASP script, I receive the error message:
--------------------------------------------------------
Microsoft VBScript compilation error '800a0411'

Name redefined

/test/config/include/ADOVBS.INC, line 14

Const adOpenForwardOnly = 0
-------^
What is redefining the Name?

Is there some place to clarify such error messages?
If you have any of the following lines in your global.asa file, you will get
such a message upon including ADOVBS.INC:

<!-- METADATA TYPE="typelib" UUID="00000205-0000-0010-8000-00AA006D2EA4"
NAME="Microsoft ActiveX Data Objects 2.5 Library" -->
<!-- METADATA TYPE="typelib" UUID="00000206-0000-0010-8000-00AA006D2EA4"
NAME="Microsoft ActiveX Data Objects 2.6 Library" -->
<!-- METADATA TYPE="typelib" UUID="EF53050B-882E-4776-B643-EDA472E8E3F2"
NAME="Microsoft ActiveX Data Objects 2.7 Library" -->
<!-- METADATA TYPE="typelib" UUID="2A75196C-D9EB-4129-B803-931327F72D5C"
NAME="Microsoft ActiveX Data Objects 2.8 Library" -->


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Jun 27 '08 #4
Recently, McKirahan <Ne**@McKirahan.composted:
"Neil Gould" <ne**@terratu.comwrote in message
news:#w**************@TK2MSFTNGP06.phx.gbl...
>Hi,

In debugging an ASP script, I receive the error message:
--------------------------------------------------------
Microsoft VBScript compilation error '800a0411'

Name redefined

/test/config/include/ADOVBS.INC, line 14

Const adOpenForwardOnly = 0
-------^
What is redefining the Name?

Is there some place to clarify such error messages?
[..]
>
Did you include the file twice?
Thanks. This was the problem, though not immediately obvious; ADOVBS.INC
was included in a file that was included in another .ASP script.

Best,

Neil
Jun 27 '08 #5
Recently, Bob Barrows [MVP] <re******@NOyahoo.SPAMcomposted:
>>
Create a new asp page, put this code into it and run it:

<%
Const adOpenForwardOnly = 0
Const adOpenForwardOnly = 0
%>

What error do you get? Does this perhaps provide a clue as to what is
going on in the page you are having a problem with?

In case you need to be beaten with a clue-stick: look for another
place in your code where you (or whoever wrote the code) defined that
constant.
That would be obvious, and easy to track down. But, as I didn't write
ADOVBS.INC, the problem wasn't as obvious as that. McKirahan got it right.

Neil

Jun 27 '08 #6
Recently, Dave Anderson <NP**********@spammotel.composted:
Neil Gould wrote:
>Hi,

In debugging an ASP script, I receive the error message:
--------------------------------------------------------
Microsoft VBScript compilation error '800a0411'

Name redefined

/test/config/include/ADOVBS.INC, line 14

Const adOpenForwardOnly = 0
-------^
What is redefining the Name?

Is there some place to clarify such error messages?

If you have any of the following lines in your global.asa file, you
will get such a message upon including ADOVBS.INC:

<!-- METADATA TYPE="typelib"
UUID="00000205-0000-0010-8000-00AA006D2EA4" NAME="Microsoft ActiveX
Data Objects 2.5 Library" --<!-- METADATA TYPE="typelib"
UUID="00000206-0000-0010-8000-00AA006D2EA4" NAME="Microsoft ActiveX
Data Objects 2.6 Library" --<!-- METADATA TYPE="typelib"
UUID="EF53050B-882E-4776-B643-EDA472E8E3F2" NAME="Microsoft ActiveX
Data Objects 2.7 Library" --<!-- METADATA TYPE="typelib"
UUID="2A75196C-D9EB-4129-B803-931327F72D5C" NAME="Microsoft ActiveX
Data Objects 2.8 Library" -->
Thanks, Dave. I'll keep this in mind.

Neil

Jun 27 '08 #7
Neil Gould wrote:
Recently, Bob Barrows [MVP] <re******@NOyahoo.SPAMcomposted:
>>>
Create a new asp page, put this code into it and run it:

<%
Const adOpenForwardOnly = 0
Const adOpenForwardOnly = 0
%>

What error do you get? Does this perhaps provide a clue as to what is
going on in the page you are having a problem with?

In case you need to be beaten with a clue-stick: look for another
place in your code where you (or whoever wrote the code) defined that
constant.
That would be obvious, and easy to track down. But, as I didn't write
ADOVBS.INC, the problem wasn't as obvious as that. McKirahan got it
right.
Actually, he said the same thing i did, just in a different way

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jun 27 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: webworldL | last post by:
Has anybody had any luck processing XHTML1.1 documents with xml.sax? Whenever I try it, python loads the W3C DTD from the top, then crashes saying that there's an error in the external DTD. All I...
1
by: news.microsoft.com | last post by:
SQL Server provides the 'text' data type but the adovbs.inc file doesn't include an adText variable along with the provided adVarChar, adInteger, etc. If there is any way to have a virtually...
1
by: bill | last post by:
I'm setting up a "backup" server with another hosting company (just to make sure my website is up 24/7) On the new hosting server however I'm getting this error everytime the asp pages are run ...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
0
by: Kalpesh | last post by:
Hi All, I am using .net crystal reports to develop the reports. The version of crystal report assemblies is 10.2.3600.0. When i run the reports i got following error. #region Retry Report...
2
by: patrice.pare | last post by:
Hello, Here is a summary of my Dev Environment: I use Visual Studio 2005 Team Suite SP1 with Crystal Report XI SP1 on a Windows XP SP2 development workstation. I also use SQL Server 2000 SP4. ...
14
by: Rex | last post by:
Re: Looking for Tips/Writeup on overall approach to Exception Processing Hi All - I am fairly new to C# and am wondering how to best implement (overall) Exception Processing within my...
1
ADezii
by: ADezii | last post by:
Transaction Processing is a Database term that refers to the process of grouping changes to your data into a batch that is treated as a single, atomic unit. Either the entire batch of transactions...
0
ADezii
by: ADezii | last post by:
In the Tip of the Week #19, we demonstrated Transaction Processing, specifically as it applies to DAO (Data Access Objects). In this week's Tip, we'll illustrate how Transaction Processing can be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.