Hello,
I have a server running Windows Server 2003, on which two of the web
sites use the MegaBBS ASP forum software. Both sites suddenly developed
the same error, which seems to be connected to the dictionary object.
After some tinkering, I whittled it down to the following (complete)
ASP...
<%@ CodePage=65001 Language="VBScr ipt"%>
<% Option Explicit %>
<html>
<head>
<title>test</title>
<body>
<%
dim dictConfigurati on
set dictConfigurati on = server.createob ject("SCRIPTING .DICTIONARY")
dictConfigurati on("a") = "b"
%>
</body>
</html>
When run, this gives the error ...
Microsoft VBScript runtime error '800a01fb'
An exception occurred
/forum/test.asp, line 10
where line 10 is the one that tries to set dictConfigurati on("a") = "b"
The previous line doesn't give an error, so I'm assuming that the object
is created OK. I even added some code to list the contents of the
dictionary, and that didn't give an error, so the object *is* there. I
just don't seem to be able to use it!!
Anyone any ideas on this? I searched Google, but didn't find anything
relevant. I don't know of any changes to the machine recently, but with
MS's automatic updates, you can't tell anymore.
--
Alan Silver
(anything added below this line is nothing to do with me) 26 4059
"Alan Silver" wrote in message news:ay******** ******@nospamth ankyou.spam...
: I have a server running Windows Server 2003, on which two of the web
: sites use the MegaBBS ASP forum software. Both sites suddenly developed
: the same error, which seems to be connected to the dictionary object.
:
: After some tinkering, I whittled it down to the following (complete)
: ASP...
:
: <%@ CodePage=65001 Language="VBScr ipt"%>
: <% Option Explicit %>
: <html>
: <head>
: <title>test</title>
: <body>
: <%
: dim dictConfigurati on
: set dictConfigurati on = server.createob ject("SCRIPTING .DICTIONARY")
: dictConfigurati on("a") = "b"
: %>
: </body>
: </html>
How about...
dictConfigurati on.Add "a", "b"
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
>: I have a server running Windows Server 2003, on which two of the web : sites use the MegaBBS ASP forum software. Both sites suddenly developed : the same error, which seems to be connected to the dictionary object.
<snip>How about...
dictConfigurat ion.Add "a", "b"
The error changes to ... "An exception occurred: 'Add'" !!
As I said, this software has been running fine for some time and has
only just developed this error. Nothing has been changed in the
software, the only change could be to do with the system itself.
I have two other Windows Server 2003 machine where this works fine.
Something has happened on this one machine.
Thanks for the reply. Any other ideas?
--
Alan Silver
(anything added below this line is nothing to do with me)
Alan Silver wrote: I have a server running Windows Server 2003, on which two of the web sites use the MegaBBS ASP forum software. Both sites suddenly developed the same error, which seems to be connected to the dictionary object.
<snip> How about...
dictConfigurati on.Add "a", "b"
The error changes to ... "An exception occurred: 'Add'" !!
As I said, this software has been running fine for some time and has only just developed this error. Nothing has been changed in the software, the only change could be to do with the system itself.
I have two other Windows Server 2003 machine where this works fine. Something has happened on this one machine.
Thanks for the reply. Any other ideas?
Have you recently installed anti-virus software with a script-blocking
feature?
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.
>Have you recently installed anti-virus software with a script-blocking feature?
Nope. We have NOD on the server, but that doesn't have script-blocking
(don't worry, it's safe!!).
Thanks for the reply. Any other suggestions welcome.
--
Alan Silver
(anything added below this line is nothing to do with me)
"Alan Silver" <al*********@no spam.thanx> wrote in message
news:Ip******** ******@nospamth ankyou.spam...
: >Have you recently installed anti-virus software with a script-blocking
: >feature?
:
: Nope. We have NOD on the server, but that doesn't have script-blocking
: (don't worry, it's safe!!).
This appears to be an issue that has been around for awhile. Bob and Luke
(MSFT) have responded to another in 2004 but the poster didn't follow up
completely. I read an article where this error number is attached to
several types of issues for Win2K and an update for IIS appears to have
solved the issue. Are you up to date on IIS6 updates?
This article is the discussion to try to find the cause but unfortunately
nothing was resolved. http://www.codecomments.com/archive2...10-297811.html
Searching all of Microsoft.com is extremely frustrating. 800a01fb is not
found anywhere. How helpful is that? An error message with no support.
Perhaps Luke has a special database?!
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
>: >Have you recently installed anti-virus software with a script-blocking : >feature? : : Nope. We have NOD on the server, but that doesn't have script-blocking : (don't worry, it's safe!!).
This appears to be an issue that has been around for awhile. Bob and Luke (MSFT) have responded to another in 2004 but the poster didn't follow up completely.
I saw that article and got frustrated at the lack of result ;-(
I read an article where this error number is attached to several types of issues for Win2K and an update for IIS appears to have solved the issue. Are you up to date on IIS6 updates?
As far as I know.
This article is the discussion to try to find the cause but unfortunately nothing was resolved. http://www.codecomments.com/archive2...10-297811.html
Searching all of Microsoft.com is extremely frustrating. 800a01fb is not found anywhere. How helpful is that? An error message with no support. Perhaps Luke has a special database?!
Dunno, but I was as surprised as you at the lack of help of the MS site.
As it happens, the server is going to be rebuilt tomorrow night, so I
would hope the problem will be sorted. I just get annoyed at these sorts
of problems that turn up apparently out of nowhere and don't seem to
have a good explanation.
If you find anything further, please let me know. I would still like to
find out the cause.
Ta ra
--
Alan Silver
(anything added below this line is nothing to do with me)
"Alan Silver" <al*********@no spam.thanx> wrote in message
news:ay******** ******@nospamth ankyou.spam... Hello,
I have a server running Windows Server 2003, on which two of the web sites use the MegaBBS ASP forum software. Both sites suddenly developed the same error, which seems to be connected to the dictionary object.
After some tinkering, I whittled it down to the following (complete) ASP...
<%@ CodePage=65001 Language="VBScr ipt"%> <% Option Explicit %> <html> <head> <title>test</title> <body> <% dim dictConfigurati on set dictConfigurati on = server.createob ject("SCRIPTING .DICTIONARY") dictConfigurati on("a") = "b" %> </body> </html>
When run, this gives the error ...
Microsoft VBScript runtime error '800a01fb'
An exception occurred
/forum/test.asp, line 10
where line 10 is the one that tries to set dictConfigurati on("a") = "b"
The previous line doesn't give an error, so I'm assuming that the object is created OK. I even added some code to list the contents of the dictionary, and that didn't give an error, so the object *is* there. I just don't seem to be able to use it!!
Anyone any ideas on this? I searched Google, but didn't find anything relevant. I don't know of any changes to the machine recently, but with MS's automatic updates, you can't tell anymore.
-- Alan Silver (anything added below this line is nothing to do with me)
Can you try using CreateObject instead of Server.CreateOb ject? Here's an
article that discusses the differences: http://aspfaq.com/show.asp?id=2336
Also, have you check the event logs to more detailed information on the
error?
>Can you try using CreateObject instead of Server.CreateOb ject? Here's an article that discusses the differences:
http://aspfaq.com/show.asp?id=2336
OK, I tried that and it didn't make any difference. Thanks for the link,
I didn't know about those differences.
Also, have you check the event logs to more detailed information on the error?
Yup, nothing there.
Thanks for the reply.
--
Alan Silver
(anything added below this line is nothing to do with me)
"Alan Silver" <al*********@no spam.thanx> wrote in message
news:C8******** ******@nospamth ankyou.spam... Can you try using CreateObject instead of Server.CreateOb ject? Here's an article that discusses the differences:
http://aspfaq.com/show.asp?id=2336
OK, I tried that and it didn't make any difference. Thanks for the link, I didn't know about those differences.
I was taking a random guess there. :) I thought perhaps there was some
conflict between MTS and the dictionary object. Also, have you check the event logs to more detailed information on the error?
Yup, nothing there.
Hmm... color me stumped. Just to be clear, the code you posted for test.asp
is in its entirety correct? Also, that page consistently fails with the
error you listed. I only bring it up because the other thread that was
reference indicated an intermittent problem. If the server rebuild does not
resolve the problem tomorrow, could you post some more details about your
server environment. You indicated this was a Windows 2003 box. Have you
installed SP1? Also could you tell us what versions of IIS/ASP/VBScript you
are running. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Stefan Behnel |
last post by:
Hi!
I'm trying to do this in Py2.4b1:
-------------------------------
import logging
values = {'test':'bla'}
logging.log(logging.FATAL, 'Test is %(test)s', values)
-------------------------------
|
by: Fiona McBride |
last post by:
Hi all,
I have a really odd problem with some Visual Basic .NET 2003 code;
I have a program that creates a number of windows which contain
RichTextBox, Timers (disabled) and menus. The code runs fine and
creates the windows as required, BUT if the program is left to do
nothing for several hours, when it is brought back into focus it
generates an exception error (Object reference not set to instance of
an object - this always coincides...
|
by: Martin |
last post by:
Hi,
I have create a Graphics object from a HWND
Both the Window and the Graphics object are created by the same thread,
nevertheless when i dispose the object, I get an exception indicating that
the object is in use some where else.
Any comments?
Best regards
|
by: aftab Alam |
last post by:
Hi All,
I have am working on C# 2.0 for a project and need to know the best
practices for exception handling.
At the moment I am doing it as Follows.
I have a Manager class that is supposed to update entries in the Dictionary
and Database as well, to separate DataBase Layer I have written another
library that contains static methods and does some updating in data base..
|
by: Chuck Hartman |
last post by:
I have a Windows service that requests web pages from a site using an
HttpWebRequest object. When I try to request a page from an ASP.NET 2 site,
I get a WebException with message "The remote server returned an error:
(500) Internal Server Error." I found a post that suggested to catch the
WebException to retrieve the actual HttpWebResponse object for more
information. The response returned is shown below.
At first I thought this was a...
| |
by: Paulustrious |
last post by:
Is it possible to override the behaviour of a dictionary if an object is not
found?
string ss=null;
Dictionary<string, string> dict = new Dictionary<string,
string>();
// method 1
try { ss = dict; }
|
by: Zytan |
last post by:
I have a function that accepts an Exception, and writes out all of its
information to a log. This function is called in many places where an
exception is caught. In some places, I'd like to add one more bit of
information to the log. I could just write it out to the log there,
or, I could add it to the Exception.Data dictionary.
I am wondering if it is 'bad' to edit Data in a system exception?
I realize that Exception.Data is mainly...
|
by: Peter |
last post by:
Hi, I have a Dictionary<key, valuewhich is accessed by three threads.
One thread puts my value objects in the dictionary (occasionally), and
also updates the contents of existing value objects - by finding the
appropriate object via a key and updating the value (this updating
happens several times a second).
Another thread removes "dead" value objects from the dictionary (very
occasionally)
|
by: senpark15 |
last post by:
Hi EveryBody,
I am developing .net remoting application.I have Created server and client application. Server has installed on Two Pc's and cliient have to connect two Pc's and do some functions.
Its working Fine on local machine . But when i tried to connect two PC's, its through an remoting exception
This is my server code:
Dictionary<string, object> props = new Dictionary<string, object>();
props = "Full";
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |