473,653 Members | 3,000 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

accessing asp webpage through IIS 5.1 server from LAN

JDMM
4 New Member
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\www root" 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.a sp" ( 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?
Jan 17 '08 #1
5 2573
sicarie
4,677 Recognized Expert Moderator Specialist
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.
Jan 17 '08 #2
JDMM
4 New Member
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?
Jan 24 '08 #3
JDMM
4 New Member
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?
Jan 24 '08 #4
JDMM
4 New Member
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
Jan 24 '08 #5
sicarie
4,677 Recognized Expert Moderator Specialist
Great! Glad you were able to figure it out.
Jan 24 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2790
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 IDs. Thanks Vivek
1
1727
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 server and would like the icons to display as a regular windows directory browser. Is this even possible? The following link provides a class to do it in a VB app, but it uses System.Drawing to display the icon. For the puposes of a webpage, I...
1
994
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 capture the log in information and then find a value called 'row id' based on this log on information. This row id, will then be used to look up his information on our sql server. I can fix the second part of the problem, however the first part is...
1
1124
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 make sure a page calls the server only once, and gets all information required by all user controls? This applies to a case where user controls are not even the same, that is, multiple user controls that each access the database using a...
5
3051
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 explorer would do in this case. The headers I am getting are: Headers {Content-Disposition: attachment; filename="dynamic_file.mdb" Connection: close Cache-Control: private Content-Type: application/octet-stream
0
1458
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 data that is stored in javascript arrays. FWIW, the javascript arrays aren't declared in the head or body of the webpage; they are globals in an included .js file. Could someone provide a brief explanation or example snippet that would guide me...
2
1535
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 session variable so it can be accessed from another webpage in the same application (the webpage opened by the linkbutton) I tryed using this script, but it gives me compile error: wrong parameter
0
1120
landy
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 data to be displayed in some of the webpages. However, I have another 2003 server set up as an intranet that uses MS Sharepoint as a way for scheduling, document storage, etc. what I want to be able to do his get some information from within...
6
2797
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.
0
8283
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8811
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8590
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5620
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.