|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
You are not authorized to view this page
I created a Virtual directory and put 2 files in it, an html file and an asp file that it links to.
Code:
<a href="http://192.168.1.104:8090/LearningASP/4by4TableDisplay.asp">4by4 table</a> and Code:
<%@ Language=VBScript %> <html> <head> <title>4 x 4 display</title> </head> <body> <table border="1"> <tr> <% DIM a, b b = 0 for a = 1 to 16 if b = 4 then %></tr><tr><% b = 0 end if %><th><%=a%> </th><% b = b + 1 next%> </tr> </table> </body> </html> I open the first file in my browser and click the link and I get the unauthorized message. In the Interent services manager I have it set for anonymous access and I even tried changing the user name and password. This is my first time ever trying to confiigure IIS so please help. I have only done some JSP on Tomcat. EdCompSci |
|
#2
|
|||
|
|||
|
First question, did you configure IIS to listen on port 8090?
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Yes I did that because I maight install Tomcat on the same somputer on 8080. Bad Idea?
|
|
#4
|
|||
|
|||
|
Did you move the file to that folder or copied it? If you moved that file from another directory it would require credentials because moving doesnt set the required rights. Try moving it back and copy the file there.
|
|
#5
|
|||
|
|||
|
Quote:
No, I was just eliminating possibilities ![]() |
|
#6
|
|||
|
|||
|
Quote:
Never doing this before, I'm going by the MCSE Exam 70-087 Implementing & Supporting MS IIS4 book in which I followed these instructions: (skip the blue and read the red first, the red is what I did just now. The blue was weeks ago and is probably more confusing.) IIS Instructions (see starting on pg 47 MCSE Implementing and Supporting MS IIS4) ---------------- Control Panel-Admin Tools - Internet Service Manager Right click Default Web Site and choose Properties choose WebSite tab SetLimited to 1000 Users, tcp port to something other than 80, IP Address from dropdown choose Directory Security tab set password Choose Documents tab close properties click IISAdmin. Notice on right is Global.asa jump to page 65 Create a directory (a folder) (created Learning ASP IIS Directory on J: drive) Click win 2k on left, right click Default Web Site on right, choose new-virtual directory ...follow wizard I think I'm confused btween home directory and virtual directory, so I have a virtual directory created, called LearningASP and it's the same directory as the home directory. ----------------------------------- Let's try this again... In Deafult Web Site Properties Dialog: Right-Clicking Default web Site and choosing properties, settings are IP:192.168.1.104 TCP Port: 8090 Anonymous Access enabled Home Directory D:\IIS Default Web Page, checked are Script source access,Read,Write,...Execute permissions:Scripts Only Default Document enabled: LearningASPDefaultPage.html in home directory are all of my pages, some html, some asp I type http://192.168.1.104:8090/LearningASPDefaultPage.asp into my browser and I get "You are not authorized to view this page." I think I'm running in circles and just starting fresh with the book from where i started before might help. I know this is a mess. Where did I get lost? I'm using Windows 2000 Professional. |
|
#7
|
|||
|
|||
|
Hi,
Check that everyone has read and execute permissions on the file directory, then check that the VH in IIS manager has correct access. (in IIS, right-click VH > Properties > Directory Security > Authentication and Access control > Edit) Check IUSR account is enabled for anonymous access. |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > You are not authorized to view this page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|