Author |
Topic |
Alfred
Senior Member
USA
1527 Posts |
Posted - 18 September 2003 : 19:47:21
|
All of a sudden I cannot access any of my pages on localhost. It either says: "You are not authorized to view this page" (I figured this was a permissions problem and checked the "share folder" options). or it cannot find the page. This includes plain htm pages as well as asp pages. I checked a dozen times to make sure the pages are in the folders pointed to. After all, I have not moved them, and it worked fine for months!
What can be wrong here? |
Alfred The Battle Group CREDO
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 18 September 2003 : 20:34:43
|
Did you install any software or updates, or make any other changes?
If you search google for this error message you will find a gazillion hits, a little digging may uncover an answer.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
Alfred
Senior Member
USA
1527 Posts |
Posted - 18 September 2003 : 20:42:24
|
I use this mirror of my live website on my localhost for modifications all the time. It is in C:\Inetpub\wwwroot\, and has always been found by IIS.
At times when I replace the old database with a new one (downloaded from the website), it gives the permissions error, and I have to check the permissions option.
But apart from that, it cannot find ANY of the regular htm pages now, so it claims. |
Alfred The Battle Group CREDO
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 19 September 2003 : 00:00:57
|
So, did you install any software on your computer, windows updates, or run any security tools like URLScan?
What program are you running to open your local pages? Are you merely opening a web browser to http://localhost or are you using FrontPage or some other web design program?
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
Alfred
Senior Member
USA
1527 Posts |
Posted - 19 September 2003 : 01:04:56
|
No new updates today, and in the morning it was still ok. quote: Are you merely opening a web browser to http://localhost or are you using FrontPage or some other web design program?
Usually I open it with my browser, but I do use Frontpage for updates of pages. |
Alfred The Battle Group CREDO
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 19 September 2003 : 02:21:51
|
What version of IIS are you running locally? There is a permissions wizard in the IIS service manager for IIS5 and 5.1 (W2K/XP)
I assume you've opened Windows explorer and verified the web folder & files really does exist?
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
Alfred
Senior Member
USA
1527 Posts |
Posted - 19 September 2003 : 12:30:05
|
IIS Vs 5.1. Yes, the files are all in the same folder they have always been when it worked fine. If I go to Internet Information Services via the control panel, I see that it lists my local computer name as main folder.
I can't see a permissions wizard there. I use XP Pro as my OS, and in folder properties it offers sharing by dragging it into the shared documents folder. I tried that with no success. |
Alfred The Battle Group CREDO
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 19 September 2003 : 16:48:14
|
If you open the IIS service manager, navigate to a web, right-click, you should see the permissions wizard as a choice. If you look a the root of your webserver you won't see this.
From the root web it would be useful to check the frontpage extensions, I think.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
Alfred
Senior Member
USA
1527 Posts |
Posted - 19 September 2003 : 17:09:14
|
I see properties, but no wizard of any kind. There are two folders: "Websites" and "Default SMTP virtual server" Right click on Websites offers Properties/Directory Security. IUSR_(and my computer name) are listed there, and "browse" offered. Is this where I need to go? And browse to where?
|
Alfred The Battle Group CREDO
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 19 September 2003 : 20:38:22
|
Can you expand Websites to see your Default Website? If so, can you expand the Default Website to see any folders/subwebs?
Just to check some basics, is the WWW service running? You can check this in Administrative Tools - Services.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
Alfred
Senior Member
USA
1527 Posts |
Posted - 19 September 2003 : 21:15:02
|
Yes, I can expand the folders down to each sub, just like in Windows Explorer. WWW is listed and marked as "started". |
Alfred The Battle Group CREDO
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 19 September 2003 : 21:23:01
|
Hmmm, I don't know what may have happened. I assume your computer is virus-free. If you backup your web files you could try reinstalling IIS I guess, maybe someone else has some ideas.
Just to recap, if you open your web browser to http://localhost/<somefile.htm> you get the error you mentioned above? (<somefile.htm> being some html file in your web).
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
Alfred
Senior Member
USA
1527 Posts |
Posted - 19 September 2003 : 22:10:30
|
Yes, when I try to access the home page (XYZ/INDEX.HTM) I get "You are not authorized to view this page", and any of the othe pages usually "cannot be found", although they are clearly in the folders pointed to. I was already thinking of doing the IIS stuff all over from scratch, although I can't even remember how I did that when I installed it. But would that make sense, since it seems to be installed ok now, and just doesn't seem to find the web on localhost? |
Alfred The Battle Group CREDO
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 20 September 2003 : 03:30:13
|
The error sounds as though there is a permission problem. IIS normally uses the IUSR_computername user account, did you by any chance do any user account changes or editing? Somewhere in the IIS property pages there is a place to verify the IUSR account is what's being used by IIS.
Also check that you didn't somehow remove the IUSR_computername account from the root of your web. You can check this in Windows Explorer, navigate to your \InetPub\wwwroot folder, open the property pages, Security and verify the IUSR account has access.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
Alfred
Senior Member
USA
1527 Posts |
Posted - 20 September 2003 : 12:21:31
|
quote: and verify the IUSR account has access.
there only is a checkbox in properies|Network|Network sharing and security to "share this folder on the network". I checked this box - to no avail. |
Alfred The Battle Group CREDO
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 20 September 2003 : 14:14:33
|
If you navigate to your web folder in Windows Explorer and right-click the folder name, open Properties, and you don't see a tab labeled Security possibly you have enabled "simple file sharing"
In the Windows Explorer Tools menu, open Folder Options, click the View tab, and scroll down the options list to find "Enable Simple File Sharing (recommended)". Uncheck this and reboot & see what happens.
If this setting is already unchecked we have to look elsewhere.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
Topic |
|