p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_components thread: error '800a0411' Name redefined


Message #1 by "Ramrattan, Neil" <nramrattan@b...> on Thu, 27 Jun 2002 11:52:30 -0400
I have a Class implemented in ASP called "category". When I test out the
code on my "localhost" it works fine. The minute I use the scripts on our
Win 2000 servers I get this error:

Microsoft VBScript compilation error '800a0411' 

Name redefined 

/common_scripts/issues/scripts.asp, line 911 

Class Category

I'm running NT4 on the localhost. I've to see if I have in fact redefined
the class and the answer is NO. ALL the code run on "localhost" and the
webservers are identical. I guess the difference is IIS. Can anyone tell me
what the problem might be?

Neil Ramrattan
Web Developer
Business Information Group
1450 Don Mills Road
Don Mills, Ontario
(xxx) xxx-xxxx  Email nramrattan@b...
Message #2 by "Adrian Forbes" <adrian.forbes@n...> on Thu, 27 Jun 2002 16:59:38 +0100
You are defining the Category class more than once in your code.

-----Original Message-----
From: Ramrattan, Neil [mailto:nramrattan@b...]
Sent: Thursday, June 27, 2002 4:53 PM
To: ASP components
Subject: [asp_components] error '800a0411' Name redefined


I have a Class implemented in ASP called "category". When I test out the
code on my "localhost" it works fine. The minute I use the scripts on our
Win 2000 servers I get this error:

Microsoft VBScript compilation error '800a0411'

Name redefined

/common_scripts/issues/scripts.asp, line 911

Class Category

I'm running NT4 on the localhost. I've to see if I have in fact redefined
the class and the answer is NO. ALL the code run on "localhost" and the
webservers are identical. I guess the difference is IIS. Can anyone tell me
what the problem might be?

Neil Ramrattan
Web Developer
Business Information Group
1450 Don Mills Road
Don Mills, Ontario
(xxx) xxx-xxxx  Email nramrattan@b...


%%email.unsub%%


Message #3 by Oleg Kapeljushnik <c-oleg.kapeljushnik@w...> on Thu, 27 Jun 2002 10:00:05 -0600
You redefining the same name in your ASP page.
There is nothing to do with component.

Check your /common_scripts/issues/scripts.asp, line 911
one of 2 can happend:
1. You declaring the same variable twice in the same page
2. You declaring the same variable in the page that calls/reffering to your
scripts.asp page

Oleg.


-----Original Message-----
From: Ramrattan, Neil [mailto:nramrattan@b...]
Sent: Thursday, June 27, 2002 9:53 AM
To: ASP components
Subject: [asp_components] error '800a0411' Name redefined


I have a Class implemented in ASP called "category". When I test out the
code on my "localhost" it works fine. The minute I use the scripts on our
Win 2000 servers I get this error:

Microsoft VBScript compilation error '800a0411'

Name redefined

/common_scripts/issues/scripts.asp, line 911

Class Category

I'm running NT4 on the localhost. I've to see if I have in fact redefined
the class and the answer is NO. ALL the code run on "localhost" and the
webservers are identical. I guess the difference is IIS. Can anyone tell me
what the problem might be?

Neil Ramrattan
Web Developer
Business Information Group
1450 Don Mills Road
Don Mills, Ontario
(xxx) xxx-xxxx  Email nramrattan@b...


c-oleg.kapeljushnik@w...
%%email.unsub%%



  Return to Index