Print Page | Close Window

ASP error "ASP 0126"?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=899
Printed Date: 29 March 2026 at 8:08pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASP error "ASP 0126"?
Posted By: WolfStar76
Subject: ASP error "ASP 0126"?
Date Posted: 10 March 2003 at 3:52pm

Hello everyone,

     A friend of mine recently started to use your forums with his webspace, so I thought I'd give it a go as well.

     After some tinkering with my webhost, I've got the forums up, and can login as admin, and even post to the test forum.  What I can't do, however, is click on the "admin" link at the top and get a menu.  If I try I get the following:

Active Server Pages error 'ASP 0126'

Include file not found

/forum/admin/common.asp, line 165

The include file 'admin/SQL_server_connection.asp' was not found.

     Checking the relavant lines of code, it seems as though the website is reading the strDatabaseType variable as being set to SQLServer.  However, checking that variable, it's (correctly) set to Access.

     Anyone know why, if I'm set to ACCESS, I'm getting an error like this?  I was thinking of reversing the If statement to look for ACCESS first, and reversing the Then/Else components accordingly, but don't wanna tinker more than I might have to.

     Help and ideas greatly appreciated 




Replies:
Posted By: fernan82
Date Posted: 10 March 2003 at 3:58pm
Next to that line where the db is set to access is another to set it to sql server, if the sql server one does not has an apostrphe at the beggining it overwrites the first one.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net