Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 9th, 2005, 09:52 PM
EdCompSci EdCompSci is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 26 EdCompSci User rank is Private First Class (20 - 50 Reputation Level)EdCompSci User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 13 h 4 m 39 sec
Reputation Power: 0
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%>&nbsp;</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

Reply With Quote
  #2  
Old October 10th, 2005, 01:12 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
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

Reply With Quote
  #3  
Old October 11th, 2005, 10:38 AM
EdCompSci EdCompSci is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 26 EdCompSci User rank is Private First Class (20 - 50 Reputation Level)EdCompSci User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 13 h 4 m 39 sec
Reputation Power: 0
Yes I did that because I maight install Tomcat on the same somputer on 8080. Bad Idea?

Reply With Quote
  #4  
Old October 26th, 2005, 01:27 PM
AdemMeral AdemMeral is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Posts: 1 AdemMeral User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 37 sec
Reputation Power: 0
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.

Reply With Quote
  #5  
Old October 26th, 2005, 06:21 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Quote:
Originally Posted by EdCompSci
Yes I did that because I maight install Tomcat on the same somputer on 8080. Bad Idea?

No, I was just eliminating possibilities

Reply With Quote
  #6  
Old October 29th, 2005, 05:40 PM
EdCompSci EdCompSci is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 26 EdCompSci User rank is Private First Class (20 - 50 Reputation Level)EdCompSci User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 13 h 4 m 39 sec
Reputation Power: 0
Quote:
Originally Posted by AdemMeral
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.



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.

Reply With Quote
  #7  
Old November 6th, 2005, 04:52 PM
Goof1E Goof1E is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 6 Goof1E User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 37 m
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > You are not authorized to view this page


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT