Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Moved db to private folder, can’t admin
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Moved db to private folder, can’t admin

 Post Reply Post Reply
Author
bhall007 View Drop Down
Newbie
Newbie


Joined: 22 November 2005
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote bhall007 Quote  Post ReplyReply Direct Link To This Post Topic: Moved db to private folder, can’t admin
    Posted: 24 November 2005 at 1:53pm
I had my host provider create a private folder that is inaccessible through IIS.  I think they just created a folder within the root of my actual web space, and then locked the permissions down (i.e., C:\inetpub\WEBSITE.COM\private).  Now, when I try to administer the forum using the administrator account, clicking Admin, I get the following error:

Provider error '80040e4d'

Authentication failed.

/admin/common.asp, line 178


I can login fine with a regular and administrator account and create and edit posts.  But when I try to access the administrative settings, I get an error.  I think the correct method is to put it in a folder above the actual web space (i.e., C:\inetpub\private\WEBSITE.COM, vs. above)  Just trying to make things secure here.  Thanks!

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2005 at 2:00pm
ask them to make a folder with

"read/write access" and above the root folder so it is not accessable though the web browser.

but can be accessed by your applications
Back to Top
JJLatWebWiz View Drop Down
Groupie
Groupie
Avatar

Joined: 02 March 2005
Location: United States
Status: Offline
Points: 136
Post Options Post Options   Thanks (0) Thanks(0)   Quote JJLatWebWiz Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2005 at 4:04pm
My guess is that you modified the forum/common.asp, but you didn't modify forum/admin/common.asp. They both should have identical physical paths to the MDB. The fact that you can log in and create and edit posts indicates the read/write permissions are not the problem.

FYI, "C:\inetpub\WEBSITE.COM\private" probably IS above your webspace because your "webspace" is probably something like "C:\inetpub\WEBSITE.COM\wwwRoot". Web browsers can directly access files only in the www root folder, so "private" is fairly secure.
p.s. I'm not affiliated with Web Wiz Guide in any way. I'm just an average Web Wiz user repaying my debt for the use of their fine forum by trying to help other Web Wiz Guide users.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2005 at 4:07pm
yes after looking at that, i'd probbabbly agree more so with your comments


Back to Top
bhall007 View Drop Down
Newbie
Newbie


Joined: 22 November 2005
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote bhall007 Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2005 at 12:07pm
JJLatWebWiz,

You were right, I had simply forgotten to un comment remove the ' in front of the strDbPathAndName = line in the admin/common.asp.  Doh!  Once I took care of that, I was able to administer the forum just fine.

Thanks!

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.