Link to home
Start Free TrialLog in
Avatar of codequest
codequest

asked on

IIS Serving Pages to Other Machine on Home LAN

I'm doing ASP.NET development on an XP Pro SP2 PC ("PC1"), and I'd like to use another PC ("PC2" with XP Home SP2) on my home LAN for some additional testing.

The LAN has an internet gateway router/hub shared by both machines, and I've set up and can do file sharing and print sharing between PC1 and PC2.

I've got IIS (which came with XP Pro) set up on PC1.  I can access my ASP.NET development site through this IIS and it seems to work fine for local access to those aspx pages on PC1.

My question is:  what do I need to do to allow PC2 to browse my aspx pages on PC1?

Any guidance on this would be appreciated.

Thanks!


ASKER CERTIFIED SOLUTION
Avatar of 2hype
2hype
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of codequest
codequest

ASKER

Thanks for the input.  When I type in http://(PC1Name)  from IE on PC2 I get  error 403 not authorized.

I'm using Norton on the XP Pro machine and keep Windows Firewall off.   Norton Firewall Network settings sez the PC2 IP address is already in the Trusted Zone (plus since file sharing works I'm assuming that's not an issue?)




In IIS if you go to your Website.  Right Click and select Properties.  Select Directory Security Tab.  Click Edit under Authentication and Access Control.  And select Enable Anonymous Access.

Also right click Website and select permissions.  Ensure Everyone has read.

If that does not work try disabling Norton to see if it allows you to conncet
Lessee here....Checked Anonymous Access, and it was already set.
Saw that the inetpub folder was not shared, so made it shared.   Checked permissions in inetpub and it says Everybody Read.
Norton Off doesn't make any difference.

IIS Default Web Site Home Directory points to my development folder, and I can access it from PC2.

Ah, I can see inetpub from PC2, but can't access it...says I don't have permission.  I'll look into that.

So, there's a problem in letting PC2 access certain folders on PC1, including inetpub.   It can access other folders, and I can't easily see the difference.

This may be related to a problem I had a while back with permissions on this machine.

This LAN testing requirement for the ASP.NET app is not urgent.  You've answered the original question and this permissions issue is something different.  So I'm going to give you the points for this and ask another question on the permissions issue later.  Sorry if this leaves you in the lurch, partly it's because I'm losing focus here and need to get back to some other things.

Thanks for the help on the orginal question.
If you cant get into the Inetpub folder because of permissions try logging onto the Windows XP Home machine with the same username and password as the XP Pro Machine (something with Admin permissions).

You can also right click the inetpub and click properties.  Click the Security Tab.  Ensure that everyone has read control.  If there is no security tab go to My computer click tools --- folder options -- click the view tab -- scroll to the bottom and uncheck simple file sharing (reccommended).  Now a sercurity tab should appear.
Thanks for the message.  I adjusted permissions on the inetpub and can now access it from PC2.  I still get the  "HTTP Error 403 Forbidden Internet Explorer".   I notice there are a lot of entries for that on the web...I'll look into some of those and if I can't get it going I'll post another question on that specifically.

Thanks again for your suggestions.