Author |
Topic  |
|
MisterVB
Junior Member
 
274 Posts |
Posted - 13 April 2001 : 06:43:26
|
anyone know why i would be getting this error when i try to view one of my posts in my forum?
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'getNewMemberNumber'
/Forum/topic.asp, line 61
|
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 13 April 2001 : 06:55:06
|
Open your topic.asp, and move this line
Member_ID = getNewMemberNumber() so that it is below
<!--#INCLUDE FILE="inc_top.asp" --> rather than above it.
|
 |
|
MisterVB
Junior Member
 
274 Posts |
Posted - 13 April 2001 : 06:58:17
|
thats odd that that is like that.. it was fine about 10 minutes ago. I never touched that line... I think i never touched it. lol
|
 |
|
MisterVB
Junior Member
 
274 Posts |
Posted - 13 April 2001 : 07:01:55
|
i'm getting errors and i didn't even touch this file for about 30 minutes and this was working fine.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/forum/inc_top.asp, line 42
this is strange as hell.
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 13 April 2001 : 07:03:46
|
sounds like your host maybe having problems the
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/forum/inc_top.asp, line 42
normally means it can't open your db
|
 |
|
MisterVB
Junior Member
 
274 Posts |
Posted - 13 April 2001 : 07:05:39
|
That much I knew about the db opening but didn't know it could be my host. At least I hope it's my host because I haven't done any major editing in that file except to add a link.
|
 |
|
MisterVB
Junior Member
 
274 Posts |
Posted - 13 April 2001 : 07:08:12
|
Okay i tested it by signing my guestbook and viewing it so it's not my host. I don't have a clue how this file all of a sudden acted up.
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 13 April 2001 : 07:43:51
|
quote:
That much I knew about the db opening but didn't know it could be my host. At least I hope it's my host because I haven't done any major editing in that file except to add a link.
whereabouts, and what link did you add, you may have added the linkbefore the database connection is opened.
|
 |
|
MisterVB
Junior Member
 
274 Posts |
Posted - 13 April 2001 : 14:11:09
|
theres nothing really before line 42 in my inc_top except this
dim mLev, strLoginStatus
set my_Conn = Server.CreateObject("ADODB.Connection")
Mods i added are your configs, Bookmark topics, classifieds, events, active users portal mod poll mod
the poll mod was the last mod added but i tested that after i added it and there were no errors anywhere... The errors started happening about 10-30 minutes after i added the side menu and i only added the side menu to the topic.asp, forum.asp and default.asp
|
 |
|
MisterVB
Junior Member
 
274 Posts |
Posted - 13 April 2001 : 14:49:09
|
I have no clue as to where the error is happening. I checked in inc_top and i can't see anything really out of place and checked my config and it seems normal. The past 3 days i've had to redo my entire forum from scratch. I can't handle doing it all over again.
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 13 April 2001 : 14:51:47
|
did you check that this line Member_ID = getNewMemberNumber() comes after the include for inc_top
|
 |
|
MisterVB
Junior Member
 
274 Posts |
Posted - 13 April 2001 : 14:57:50
|
I figured it out...
I'm an idiot... I deleted the <!--#INCLUDE FILE="config.asp" --> <!--#INCLUDE FILE="inc_functions.asp" -->
at the top of the topic.asp by mistake.
I kept thinking it was in the config.asp since it was a database error and then my brain actually kicked in and made me realize it had to be in the topic.asp since everything everywhere else works.
Sleep does a mind wonders. *lol*
Thanks for your time HuwR and Dave.
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 13 April 2001 : 15:15:21
|
Ah, Sleeeeeeep. Glad you figured it out.
|
 |
|
|
Topic  |
|