473,854 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to access other computer project through LAN in ASP.NET

144 New Member
Let me explain my problem simply.

Assume 2 pc are connected through LAN with different ipaddress.

My pc ip address :-192.168.33.101
Other pc ip address:- 192.168.33.102

I have a PC where visual studio .net 2003 is installed where my project run perfectly in ASP.NET.

If I give http://localhost/sqls/c.aspx in browser, it will open the webform c.aspx.

As I said 2 systems are connected through lan.

I want the same url http://localhost/sqls/c.aspx should open the webform c.aspx in another pc also.
Whose ipaddress 191.168.33.102 where visual studio .net 2003 may not be installed.

I tried this way http://192.168.33.101/sqls/c.aspx in other pc but it still not worked.

For that do i need to host my project in my pc so that it can be accessed by other pc?
Mar 13 '08 #1
4 15093
sicarie
4,677 Recognized Expert Moderator Specialist
Did you install and configure IIS?
Mar 13 '08 #2
davidson1
144 New Member
Let me explain my problem simply.

Assume 2 pc are connected through LAN with different ipaddress.

My pc ip address :-192.168.33.101
Other pc ip address:- 192.168.33.102

I have a PC where visual studio .net 2003 is installed where my project run perfectly in ASP.NET.

If I give http://localhost/sqls/c.aspx in browser, it will open the webform c.aspx.

As I said 2 systems are connected through lan.

I want the same url http://localhost/sqls/c.aspx should open the webform c.aspx in another pc also.
Whose ipaddress 191.168.33.102 where visual studio .net 2003 may not be installed.

I tried this way http://192.168.33.101/sqls/c.aspx in other pc but it still not worked.

For that do i need to host my project in my pc so that it can be accessed by other pc?
Mar 14 '08 #3
reachkars
3 New Member
Hi.... I know the quested was posted almost 2 years before.... But neverthless, I thought this might be useful for others....

When access your IIS web application from another computer in the LAN, use ur Computer name instead of IP address.

for example if your computer name is abdc123 ( the easiest place to check your computer name is by right clicking "My Computer" and selecting 'Properties') and your IIS virtual director is: test and your start page name is test.aspx

The Url should look like,

http://abdc123/test/test.aspx

(Note, if you are not using the default port, then you need to specify the port number after the computer name. abdc123:portnum ber)


Also, remember to enable anonymous access in your website IIS security properties.

Thanks,
Karthik
Feb 17 '10 #4
sicarie
4,677 Recognized Expert Moderator Specialist
That really depends on your setup - one way you can get around that is by putting the IP address and hostname in the Windows/system32/driver/etc/hosts file - then you can use either and they won't need to be resolved on the network.
Feb 19 '10 #5

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

Similar topics

63
5972
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy in Visual Studio to create reports and labels as it's in Access?` The advantage of VS.net is that not every user needs Access, right? And that would eliminate the Access version problem as well I guess.
0
1754
by: Gregor | last post by:
Hello everyone, I have a problem with an ms-access ADP Project under Access XP and an SQL Server 2000. On my computer the program is running without any problems. Then I create a copy of the Access file and I make a backup of my database. I reinstall the backup on another (identical) sql server. When I trie to run the program, I usually get a page allocation fault.
0
1157
by: Greg Cyrus | last post by:
When I use localhost as Webserver I can access everything. But running another Webserver on a seperate Computer in the network - I can open or create projects. As I understand the Standard-Access on NTFS handles the access. But why can I create a new project on that other computer webserver (alsways UNC-error). How can I prepare the Websever to allow VStudion.NET to crate on projects?
12
2126
by: dennist685 | last post by:
How to get an Access database on the web from my own computer I have an Access database project in inetpub/wwwroot/Access2 . I build it, and then press cntrl-F5. - I still get the development server - Version Information: ASP.NET Development Server 8.0.0.0, instead of IIS. This is a serious problem. How does one get an Access database on the web, using one's own computer(I have windows xp pro).
52
10019
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server 2005, and, since he already has licenses for Office Pro 2002, he wants to upgrade to that. I've been saying that we need to upgrade to Access 2003, not 2002, even if Office is kept at 2002. We are also looking to do a fair amount of...
5
2695
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callnetfrcom.asp The Joy of Interoperability Sometimes a revolution in programming forces you to abandon all that's come before. To take an extreme example, suppose you have been writing Visual Basic applications for years now. If you're like many developers, you will have built up a substantial inventory of code in that time. And if you've been following...
17
4429
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting there, but is there a way they can find out if that application was put there from a CD or email or created at work? Hint: It's not on a client/server database, just native jet database mdb created on Access 2003 (default 2000)...
21
4137
by: nihad.nasim | last post by:
Hi there, I have a database in Access that I need on the web. The web page should connect to the database and write records for certain tables and view records for others. I want to know a reliable way of connecting Access to a server. I am willing to switch to any version of Access which might solve the problem. Which server would you recommend and what are the advanatages and disadvantatges of the server you propose? Please also inlcude...
6
2426
by: Wesley Peace | last post by:
I hate to cross post, but I've gotten no answer yet on a problem I'm having with visual studio 2008. I've created a series of forms with controls to access a Access database tables. The connection string works fine and the tables are added to the project without a problem. When I create the tables they appear to bind and I am able to preview the data in the database in design mode; however, at runtime no data is displayed and the...
0
9903
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10692
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10767
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10375
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...
1
7927
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7084
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
5754
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4567
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
2
4168
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.