Home All Groups Group Topic Archive Search About

VBScript Runtime error (with no line number)



Author
15 Sep 2006 4:48 PM
Adrienne Boswell
I am getting this error:
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'sid'
/beta/files/index.asp

There is no line number, and there is absolutely nothing on that page
using sid, and I mean not even a word, or even part of a word, in that
document or any of the include documents.

I have put the files from the production server back from the past
three days, and I am still getting this error.

It happened very suddenly, when I was made a change to a css file.
Yes, I know that CSS is client side and has no effect whatsoever on the
server, but there it is.

Does anyone have a clue about this?  All the Googling has resulted in
errors with line numbers.  Heck, if there were a line number, I
wouldn't be posting here - I'd fix it.

Thanks in advance for any help.

--
Adrienne Boswell at work
Administrator nextBlock.com
http://atlas.nextblock.com/files/
Please respond to the group so others can share

Author
15 Sep 2006 5:00 PM
Aaron Bertrand [SQL Server MVP]
Did you try running the script without the CSS file linked?  How about
removing include files one by one?



Show quote
"Adrienne Boswell" <arb***@yahoo.com> wrote in message
news:1158338887.976230.19730@b28g2000cwb.googlegroups.com...
>I am getting this error:
> Error Type:
> Microsoft VBScript runtime (0x800A000D)
> Type mismatch: 'sid'
> /beta/files/index.asp
>
> There is no line number, and there is absolutely nothing on that page
> using sid, and I mean not even a word, or even part of a word, in that
> document or any of the include documents.
>
> I have put the files from the production server back from the past
> three days, and I am still getting this error.
>
> It happened very suddenly, when I was made a change to a css file.
> Yes, I know that CSS is client side and has no effect whatsoever on the
> server, but there it is.
>
> Does anyone have a clue about this?  All the Googling has resulted in
> errors with line numbers.  Heck, if there were a line number, I
> wouldn't be posting here - I'd fix it.
>
> Thanks in advance for any help.
>
> --
> Adrienne Boswell at work
> Administrator nextBlock.com
> http://atlas.nextblock.com/files/
> Please respond to the group so others can share
>
Author
15 Sep 2006 7:40 PM
Dave Anderson
Adrienne Boswell wrote:
> I am getting this error:
> Error Type:
> Microsoft VBScript runtime (0x800A000D)
> Type mismatch: 'sid'
> /beta/files/index.asp
>
> There is no line number, and there is absolutely nothing on that page
> using sid, and I mean not even a word, or even part of a word, in that
> document or any of the include documents.

Does "sid" appear in your Global.asa?



--
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.
Author
15 Sep 2006 7:43 PM
Aaron Bertrand [SQL Server MVP]
Good thought, and does the error appear on any page, not just this one...

Show quote
> Does "sid" appear in your Global.asa?
Author
15 Sep 2006 8:51 PM
Jon Paal
Check your include files or do a search on all files for "sid' to find it.


Show quote
"Adrienne Boswell" <arb***@yahoo.com> wrote in message news:1158338887.976230.19730@b28g2000cwb.googlegroups.com...
>I am getting this error:
> Error Type:
> Microsoft VBScript runtime (0x800A000D)
> Type mismatch: 'sid'
> /beta/files/index.asp
>
> There is no line number, and there is absolutely nothing on that page
> using sid, and I mean not even a word, or even part of a word, in that
> document or any of the include documents.
>
> I have put the files from the production server back from the past
> three days, and I am still getting this error.
>
> It happened very suddenly, when I was made a change to a css file.
> Yes, I know that CSS is client side and has no effect whatsoever on the
> server, but there it is.
>
> Does anyone have a clue about this?  All the Googling has resulted in
> errors with line numbers.  Heck, if there were a line number, I
> wouldn't be posting here - I'd fix it.
>
> Thanks in advance for any help.
>
> --
> Adrienne Boswell at work
> Administrator nextBlock.com
> http://atlas.nextblock.com/files/
> Please respond to the group so others can share
>
Author
15 Sep 2006 9:45 PM
Dave Anderson
Jon Paal wrote:
> Check your include files or do a search on all files
> for "sid' to find it.

That's rich. Windows will not search inside ASP files. Furthermore, IIS has
no problem telling you the name and line number of an included file.
Adrienne would not have posted if it were that simple.



--
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.
Author
15 Sep 2006 9:52 PM
Aaron Bertrand [SQL Server MVP]
> That's rich. Windows will not search inside ASP files.

I thought an easy fix had been posted for this?  I remember posting an
article some time ago:
http://classicasp.aspfaq.com/general/why-won-t-windows-search-asp-files.html

But just because Windows can't do it out of the box doesn't mean all hope is
lost and it can't be done.

I use Visual Studio for global find/replace, but several other products are
equally capable.

As an aside, I'm having a somewhat similar issue with Outlook, when I try to
attach files from my hard drive, the window won't show me any files with a
..ZIP extension.  However if I start to type the name of one in the textbox,
it autocompletes.  I don't even know how to begin searching for other people
with a similar symptom.

A
Author
15 Sep 2006 10:55 PM
Justin Piper
On Fri, 15 Sep 2006 16:52:22 -0500, Aaron Bertrand [SQL Server MVP] 
<ten.xoc@dnartreb.noraa> wrote:

>> That's rich. Windows will not search inside ASP files.
>
> I thought an easy fix had been posted for this?

If the indexing service ever gets turned on it helpfully unfixes it for 
you. Consequently, I have a file named "Kill Stupid 
PersistantHandlers.reg" in my documents:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.asp\PersistentHandler]
    @="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

    [HKEY_CLASSES_ROOT\.css\PersistentHandler]
    @="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

    [HKEY_CLASSES_ROOT\.htm\PersistentHandler]
    @="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

    [HKEY_CLASSES_ROOT\.html\PersistentHandler]
    @="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

    [HKEY_CLASSES_ROOT\aspfile\PersistentHandler]
    @="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

    [HKEY_CLASSES_ROOT\CLSID\{25336920-03F9-11CF-8FD0-00AA00686F13}\PersistentHandler]
    @="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

--
Justin Piper
Bizco Technologies
http://www.bizco.com/
Author
16 Sep 2006 5:41 PM
Jon Paal
Windows  will search asp files on my computer.  Just do a search from explorer, set the file type to *.asp and define folder and
text to search for.  Matching files containing the text will be listed.

It's also very simple to do if using any common text editor, which is typical for classic ASP development.

Most text editors have a search function that will scour files for matching strings, and even open the file take you to the line
which holds the string.






Show quote
"Dave Anderson" <NYRUMTPELVWH@spammotel.com> wrote in message news:O9VnSBR2GHA.4312@TK2MSFTNGP02.phx.gbl...
> Jon Paal wrote:
>> Check your include files or do a search on all files
>> for "sid' to find it.
>
> That's rich. Windows will not search inside ASP files. Furthermore, IIS has no problem telling you the name and line number of an
> included file. Adrienne would not have posted if it were that simple.
>
>
>
> --
> 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.
>
Author
19 Sep 2006 4:50 AM
Adrienne Boswell
Gazing into my crystal ball I observed "Adrienne Boswell"
<arb***@yahoo.com> writing in news:1158338887.976230.19730
@b28g2000cwb.googlegroups.com:

Show quote
> I am getting this error:
> Error Type:
> Microsoft VBScript runtime (0x800A000D)
> Type mismatch: 'sid'
> /beta/files/index.asp
>
> There is no line number, and there is absolutely nothing on that page
> using sid, and I mean not even a word, or even part of a word, in that
> document or any of the include documents.
>
> I have put the files from the production server back from the past
> three days, and I am still getting this error.
>
> It happened very suddenly, when I was made a change to a css file.
> Yes, I know that CSS is client side and has no effect whatsoever on the
> server, but there it is.
>
> Does anyone have a clue about this?  All the Googling has resulted in
> errors with line numbers.  Heck, if there were a line number, I
> wouldn't be posting here - I'd fix it.
>
> Thanks in advance for any help.
>

Well, just to let everyone know, I finally found the answer.  I opened up
all files included within the page in question, and compared the beta
files with the productions files one by one.  When I got to
masterfunctions.asp, there was a huge difference.  This document has
frequently used dims, functions and subs.  In an effort to have it more
impeccable (someone told me once my coding was impeccable), I beautified
it.  Apparently, something got lost in translation.  Guess I'll have to
keep it ugly for now.

I'll go through it and see if I can find the line number that actually
generated the error.  I wish the system had told me it was "line xxx in
masterfunctions.asp", I wouldn't have sat there and compared 20 other
files.


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

AddThis Social Bookmark Button