Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Help please
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MisterVB
Junior Member

274 Posts

Posted - 13 April 2001 :  06:43:26  Show Profile  Visit MisterVB's Homepage
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  Show Profile  Visit HuwR's Homepage
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.

Go to Top of Page

MisterVB
Junior Member

274 Posts

Posted - 13 April 2001 :  06:58:17  Show Profile  Visit MisterVB's Homepage
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

Go to Top of Page

MisterVB
Junior Member

274 Posts

Posted - 13 April 2001 :  07:01:55  Show Profile  Visit MisterVB's Homepage
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.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  07:03:46  Show Profile  Visit HuwR's Homepage
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

Go to Top of Page

MisterVB
Junior Member

274 Posts

Posted - 13 April 2001 :  07:05:39  Show Profile  Visit MisterVB's Homepage
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.

Go to Top of Page

MisterVB
Junior Member

274 Posts

Posted - 13 April 2001 :  07:08:12  Show Profile  Visit MisterVB's Homepage
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.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  07:43:51  Show Profile  Visit HuwR's Homepage
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.

Go to Top of Page

MisterVB
Junior Member

274 Posts

Posted - 13 April 2001 :  14:11:09  Show Profile  Visit MisterVB's Homepage
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

Go to Top of Page

MisterVB
Junior Member

274 Posts

Posted - 13 April 2001 :  14:49:09  Show Profile  Visit MisterVB's Homepage
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.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  14:51:47  Show Profile  Visit HuwR's Homepage
did you check that this line
Member_ID = getNewMemberNumber() comes after the include for inc_top

Go to Top of Page

MisterVB
Junior Member

274 Posts

Posted - 13 April 2001 :  14:57:50  Show Profile  Visit MisterVB's Homepage
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.


Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  15:15:21  Show Profile  Visit HuwR's Homepage
Ah, Sleeeeeeep. Glad you figured it out.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07