For Programmers: Free Programming Magazines  


Home > Archive > ASP > October 2004 > 800a01fb error when adding a key-item pair in the dictionary objec









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author 800a01fb error when adding a key-item pair in the dictionary objec
Samuel

2004-10-11, 8:55 pm

I have a user complaining about a random error (sporadic, cannot be reliably
reproduced):

=================================
Microsoft VBScript runtime error '800a01fb'

An exception occurred: 'objDict.add'

=================================

And this error happens at different lines in the file. objDict is just a
dictionary object, and I don't see any problem with my code because this
error only happens on one client's shared server (IIS 6), and it only happens
at random times.

Is there a memory size limit that a single instance of the dictionary object
can hold? I by no means store a lot of data (only short strings and integer)
but I just want to rule out the possibility that the problem is with my code.

Where can I find more info on this? Is there any possible cause of this
problem?
Bob Barrows [MVP]

2004-10-11, 8:55 pm

Samuel wrote:
> I have a user complaining about a random error (sporadic, cannot be
> reliably reproduced):
>
> =================================
> Microsoft VBScript runtime error '800a01fb'
>
> An exception occurred: 'objDict.add'
>
> =================================
>
> And this error happens at different lines in the file. objDict is
> just a dictionary object, and I don't see any problem with my code
> because this error only happens on one client's shared server (IIS
> 6), and it only happens at random times.
>
> Is there a memory size limit that a single instance of the dictionary
> object can hold? I by no means store a lot of data (only short
> strings and integer) but I just want to rule out the possibility that
> the problem is with my code.


No

>
> Where can I find more info on this? Is there any possible cause of
> this problem?


No, you're going to have to do some error-trapping and log the data that
causes the error to occur. You have zero chance of solving the problem if
you cannot cause it to occur reliably.

Bob BArrows

--
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.


Samuel

2004-10-11, 8:55 pm

I got a notification from the newsgroup saying someone replied my post and
ask me to come back and rate the response.. but I dont see anything other
than my own post here??
Bob Barrows [MVP]

2004-10-11, 8:55 pm

Samuel wrote:
> I got a notification from the newsgroup saying someone replied my
> post and ask me to come back and rate the response.. but I dont see
> anything other than my own post here??

Suggestions:

1. Click the + symbol next to your original post
2. Use a real news reader instead of the IE interface. Outlook Express can
be pretty simple t set up

Bob Barrows
PS. Of course, you're probably not going to see this message ....
--
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.


[MSFT]

2004-10-12, 3:55 am

Hello,

I agree with Bob that you had better to log some necessary information to
narrow down the problem. For example, you may check if the objects saved in
the dictionary are same. And all the properties of the dictionary object,
like Count, the item's key and CompareMode Property. Since the error only
occur with only one client, it may sent different data to the server than
others. You alos may try clean the cookie on the particular client and log
on as same user to narrow down the problem.

Luke

[MSFT]

2004-10-14, 3:55 pm

Hello,

Did the error get fixed? If you need more information on this issue,please
feel free to let me know.

Luke

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com