473,568 Members | 2,898 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remotly connecting to an web forms application that uses asp.net routing?

23 New Member
I've been developing a asp.net/c# web application that uses .net routing with Visual Studio 2008. The project is setup to use http://localhost:17315 as the server path. I'm trying to figure out a way for a co-worker to connect to my local project from their system. When I setup the project as a virtual directory in IIS (5.1) the .net routing doesn't work correctly and I get a 404 error (http://localhost/home).

Is there anyway for a user on our local network to connect to my application remotely with my current configuration? I know they can't connect to the Visual Studio Development Server, but I would think they should be able to connect if the application is setup in IIS. Maybe IIS6+ is needed for this?

Thank you for your help!

- Ian
Mar 30 '10 #1
21 2962
tlhintoq
3,525 Recognized Expert Specialist
Localhost automatically is mapped to 127.0.0.1, which is an internal address mapped to your own machine, regardless of the IP address assigned as an external address.

Is there any real reason you can't change it to
\\ianoblePC:173 15
So that it always works (within your local network) regardless of your IP address?
Mar 31 '10 #2
Frinavale
9,735 Recognized Expert Moderator Expert
Just a little bit more information: for tlhintoq's suggestion to work your network is going to need to be able to resolve the computer name that is hosting the web application.

-Frinny
Mar 31 '10 #3
ianoble
23 New Member
In the past I change my host file to resolve my local system to http://localfb instead of localhost, but for this project it doesn't seem to like either.

From what I've read, if I use the Visual Studio Development Server I can't have any remote connections. So I was hoping there was a way to setup the project in IIS so .net routing still works and it would be available to remote users in my network.
Mar 31 '10 #4
Frinavale
9,735 Recognized Expert Moderator Expert
Cassini is just a tool to help you debug your application.
Sometimes it's not even accurate to how a web server actually behaves/works.

I recommend that you publish your web application to an actual IIS hosted website so that people can connect IIS website and see what you have published.

Or you could try working like how I work, I move the project to the folder that is being used to host the website on IIS and I work from there. I don't like Cassini much and unless I need to step through server-side code to debug something I avoid running it.

-Frinny
Mar 31 '10 #5
ianoble
23 New Member
Unfortunately I don't have location to host my development project at this time. All the work is being done locally.

If there isn't a way to browse the web app remotely I might have to come up with another method of .net routing...which would be a bummer.
Mar 31 '10 #6
Frinavale
9,735 Recognized Expert Moderator Expert
What operating system are you using for development?

If it's a "pro" version of any Windows operating system then you should be able to install IIS onto your development machine.

-Frinny
Mar 31 '10 #7
ianoble
23 New Member
Yep, I using IIS 5.1 at the moment on XP Pro sp3. But running the app as a standard virtual directory doesn't work (404 error), but running the app through Visual Studio works just fine. The only difference in the url is the port specification.
Mar 31 '10 #8
Frinavale
9,735 Recognized Expert Moderator Expert
Oh, well, you should have said you have a 404 error ! (oh you did...hehe) :)
There could be a number of reasons for this but I suspect that it's probably because you don't have asp.net installed properly.

Try going to http://locahost/
Does the default "welcome to IIS" page come up or do you see a 404 error?
Mar 31 '10 #9
Frinavale
9,735 Recognized Expert Moderator Expert
If you don't see the default IIS page then follow the instructions in this article that outlines how to install ASP.NET...Visual Studio 2003 HTTP/1.1 500 Internal Server Error but instead of moving to the "C:\Windows\Mic rosoft.NET\Fram ework\v1.1.4322 " folder you're going to want to move to the "C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7" folder instead since you application targets the .NET Framework version 3+

-Frinny
Mar 31 '10 #10

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

Similar topics

1
1392
by: pmud | last post by:
Hi I need to connect an existing application to an SQL database. How to go about doing that coz its an application created by a third party & I dont even know how or in what programming language or what environmant that application uses. It is an application called Roboform which is used for auto filling logon forms or registration forms...
3
3234
by: stabbert | last post by:
We are running DB2 UDB 8.1.6 in a partitioned environment where we have 8 physical nodes. We have a process that remotely connects to each individual node and loads some data. By setting the DB2NODE variable to a different value then the coordinator node is the only way I am aware for a remote application to do this so I am making the...
6
2539
by: Ayende Rahien | last post by:
Excetremely annoying problem, I've an application with a long startup time. So I created another form with my logo in it to as a splash screen. The splash screen is run from another thread and is communicated solely through static method and Invoke()'s However, when I close my second form, the first one (main window) is hiding under all the...
5
1519
by: Ganesh Ramamurthy | last post by:
Hi Experts, I am using windows Authenication in my ASP.Net application. I have different LDAP's configured in my network and my applicaiton uses one of these LDAP users. How can I specify IIS to use one of these LDAP for user authentication. Is there any way of instructing the IIS to do so? Thanking in advance Regards
14
1470
by: Ray5531 | last post by:
I have a console application in my local computer which I like to use remoting in it,to instanciate an object (MyClass.dll) in a web application(its bin folder) in a completely seperated box(in the same domain thought) .I have two questions: 1)Is my case covered in "Remoting objects hosted in IIS" topic?Are they same? 2) How should I...
20
2679
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in contrast to one of them always being 'modal' (e.g., if you are moving over a picture the 'Info' form will update the (x,y) screen location in realtime...
7
2782
by: thersitz | last post by:
I can't seem to get my html form to submit properly from within a web form. Here's my form tag syntax and some delivery hidden fields. <form id="myForm" action="https://xxx.order.net/xxx/cgi-bin/delivery.cgi" method="POST" onsubmit="return verify();"> <input type="hidden" name="recipient" value=me@mymail.net /> <input type="hidden"...
0
855
by: baluMunugoti | last post by:
Hi to All I have done one application with asp.net ,ajax. I need to retrieve data from the .csv file which is in remotly means its there in other server system. How can we give the path for the remote ftp details. It is important to us.Please reply back .
5
1235
by: james_027 | last post by:
hi everyone, I am very new to python, I am almost done learning the python language enough that I can start learning developing web app in python. I have gone thru many research and I still say that I will want to develop web app in python. Although some says php should be better since the language is made for the web compare to python. In...
2
4945
by: samadams_2006 | last post by:
Hello, I have a problem that I'm hoping someone will be able to help me resolve. 1) I have a C# Web Site in which I connect to the database: "Install Microsoft SQL Server 2005 Express Edition" via the link on: http://msdn2.microsoft.com/en-us/express/bb410792.aspx
0
7693
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...
0
7604
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...
0
7962
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...
0
6275
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...
0
5217
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...
0
3651
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...
1
2101
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
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
932
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...

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.