How do i access an asp page from LAN?
I have installed IIS 5.1 on one of my nekwork pc named ABC (say). Then i have included the folder (named "aspeg") which contains the asp webpages inside the wwwroot folder. Then i have configured the IIS by going to Default website -> Properties->Under Directory Security, i have enabled anonymous access and have checked on "Allow IIS to control password"
Now the Home Directory i have checked on "A directory located in this computer" then specified the default directory "C:\Inetpub\wwwroot" also checked on the "Read" and then Execute permission i have given Scripts only.
Now under the Documents tab i have checked the "Enable default document" and specified "webpage1.asp" ( this webpage1.asp is located under the aspeg folder again which is under the wwwroot folder)
So now when i access my asp webpage from other computer using this address "http://ABC/aspeg/webpage1.asp" or "http://ABC/webpage1.asp", it gives error.
so can u please specify where my problem lies?
5 2563
I would use the IP. (Not sure of your skill level, so hop on ABC, click 'Start' and 'Run' and type in 'cmd' and press enter. A command prompt will open, and you then want to type 'ipconfig'. That will give the IP address of system ABC, probably something like 192.168.1.3, but that could vary depending on your setup.)
Then try http://<ABC's IP>/webpage1.asp (or as in the example above, http://192.168.1.3/webpage1.asp).
If that doesn't work, try pinging system ABC, make sure you can reach it. (On your box you want to load the webpage onto, go Start, Run, cmd, and then type in 'ping <system ABC's IP>' which would be 'ping 192.168.1.3' in my example above.) If you can't, then you know that it is a network issue.
ok i tried pinging the ABC computer and the response is fine. But still i cant access the webpage using the IP address nor the computer name. Here LAN connection is through a switch and a router, also having an internet connection.
Is there anything related to IIS configuration or windows problem?
Well from the ABC computer (the server computer where the IIS is installed) i can access the webpage using “http://ABC/aspeg/webpage1.asp” or http://ABC/aspeg or using the IP address instead of the “ABC” and it works fine.
So anyone knows where my problem lies?
I would use the IP. (Not sure of your skill level, so hop on ABC, click 'Start' and 'Run' and type in 'cmd' and press enter. A command prompt will open, and you then want to type 'ipconfig'. That will give the IP address of system ABC, probably something like 192.168.1.3, but that could vary depending on your setup.)
Then try http://<ABC's IP>/webpage1.asp (or as in the example above, http://192.168.1.3/webpage1.asp).
If that doesn't work, try pinging system ABC, make sure you can reach it. (On your box you want to load the webpage onto, go Start, Run, cmd, and then type in 'ping <system ABC's IP>' which would be 'ping 192.168.1.3' in my example above.) If you can't, then you know that it is a network issue.
ok i tried pinging the ABC computer and the response is fine. But still i cant access the webpage using the IP address nor the computer name. Here LAN connection is through a switch and a router, also having an internet connection.
Is there anything related to IIS configuration or windows problem?
Well from the ABC computer (the server computer where the IIS is installed) i can access the webpage using “http://ABC/aspeg/webpage1.asp” or http://ABC/aspeg or using the IP address instead of the “ABC” and it works fine.
So anyone knows where my problem lies?
Well Well Well Bingo! The problem has been solved!
Actually its a Windows firewall problem.
From Advance tab in Windows Firewall screen->Advance tab->Local Area Connection-> Settings->Services-> Check on "Web Server (HTTP) and then clicking OK button.
And thats it! accessing from other LAN pc works! Thanks SICARIE for the clue
Great! Glad you were able to figure it out.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Vivek Sharma |
last post by:
Hi,
I have created a dropdownlist as a web user control. I am using its
multiple instances on the webpage. How do I access the selectedValue of
each instance? All the instances have different...
|
by: nick |
last post by:
I'm wondering if it's possible to access and use windows file icons in
a webpage using, for example, the shell method SHGetFileInfo. I'm
writing a small asp.net app to browse directories on a...
|
by: Ranjan as usual |
last post by:
Dear folks,
I'm building an ASP .net page and integrating it into my share point portal server 2003 using a webpage viewing webpart. What I need to do is, when the user logs in, I need to be able to...
|
by: Sammy |
last post by:
When a user control access SQL Server, what happens if I host it multiple
times on one webpage (create several instances of that user control), in
terms of trips being made to the server? How can I...
|
by: Daniel Corbett |
last post by:
I am trying to save a file dynamically created in a webpage. I get the
following headers, but cannot figure out how to save the attachment. I am
basically trying to replicate what internet...
|
by: YAH |
last post by:
I don't know where to post this so I'll try here. I'm trying to create
a C# based Windows Form app which hosts a webbrowser control,
loads a webpage of mine, and after DocumentComplete extracts...
|
by: Jeff |
last post by:
Hey
asp.net 2.0
I have a Repeater control consisting of linkbuttons on my webpage. when a
linkbutton is clicked I need to get the info about the linkbutton clicked
and put that info in a...
|
by: landy |
last post by:
Hi all! Here is my issue -
I have a linux box set up as the server for the external webpage for my organization using apache/PHP to write the pages. I also use MySQL on this box for storing...
|
by: Watermark |
last post by:
i got problem with this
i m implementing web based mail system.
i want to access mbox and retrieve mail from it and display it on web page..
can anybody help me.
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |