Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASP error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASP error "ASP 0126"?

 Post Reply Post Reply
Author
WolfStar76 View Drop Down
Newbie
Newbie
Avatar

Joined: 10 March 2003
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote WolfStar76 Quote  Post ReplyReply Direct Link To This Post Topic: ASP error "ASP 0126"?
    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 

Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.