473,657 Members | 2,516 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 15081
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
5893
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
1741
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
1142
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
2111
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
9955
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
2681
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
4403
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
4086
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
2413
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
8420
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
8324
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
8740
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...
0
8617
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
6176
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
5642
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
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
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
1733
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.