473,471 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Web application only runs when connected to the Internet

I have been working on a web application for a while. All of a
sudden, I can only open the project when connected to the Internet.
If I'm not connected, I get an error message stating that "a
connection to the server could not be established."

It is strange because it used to work just fine.

Any help would be appreciated!

Thanks!
Nov 18 '05 #1
4 1371
open the hosts file at this location (with notepad)
C:\WINXPPRO\system32\drivers\etc
replace WINXPPro with you machines windows directory
add an entry for

127.0.0.1 localhost
(if you dont find one)
it should work fine after this

--
Regards,
HD
Once a Geek.... Always a Geek
"Mindy Myers" <ms*****@yahoo.com> wrote in message
news:6f**************************@posting.google.c om...
I have been working on a web application for a while. All of a
sudden, I can only open the project when connected to the Internet.
If I'm not connected, I get an error message stating that "a
connection to the server could not be established."

It is strange because it used to work just fine.

Any help would be appreciated!

Thanks!

Nov 18 '05 #2
Hmmm. I already had that in my Hosts file. Thanks though.
Nov 18 '05 #3
Are you in offline mode in IE by any chance? Your web application will
not open in that case.

Make sure that your project name or location has not changed. Check
the .sln file to see if it is pointing to the correct project file.

Can you post the exact error message (copy/paste the message in the
dialog box)?

Karun.

ms*****@yahoo.com (Mindy Myers) wrote in message news:<6f**************************@posting.google. com>...
Hmmm. I already had that in my Hosts file. Thanks though.

Nov 18 '05 #4
ms*****@yahoo.com (Mindy Myers) wrote in message news:<6f**************************@posting.google. com>...
Hmmm. I already had that in my Hosts file. Thanks though.


Check if your ip-address of your Default Web Site Properties
in the Internet Information Server is set to [All Unassigned)
Richard Loupatty
Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: vinoth | last post by:
Hi, I have created WindowsService Project.In that Project OnStart Method i have written the following Code. In this code the Server is waiting for the connection from client. When the Client...
3
by: leveraged | last post by:
Why can I only connect to or create a web app in VS 2003 using localhost while I am connected to the internet. I have no problems using VS 2002 but for some reason I get Microsoft Development...
6
by: B B | last post by:
Okay, here is what's happening: I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz P4) doing .net development. Running Windows XP pro, SP2 IIS is installed and running...
0
by: mammucion | last post by:
Trying to automate processing 80,000 data sets through 15 web pages. Application URL creates a new IE instance in which runs first a login form and then runs the rest of the pages in the new...
2
by: ECathell | last post by:
I have an application that I have been using for quite a while. It runs a print queue for remote printers connected over TCP/IP. It reads from a print_queue on a database server then sends the job to...
3
by: Daniel Liberman | last post by:
Hi, everyone. That's my environment: - I have a pocket pc (iPAQ h4350) application developed with VSNET2003/C# that has a SQL Server CE Database, running. That's working fine. Obs: the pocket...
25
by: Charles Law | last post by:
What I mean is, I want my web client to be updated in real-time. The scenario is that I have a database that is updated asynchronously, and when the update takes place I want to 'notify' my web...
15
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter...
13
by: John | last post by:
Hi We have an MS Access application which runs on the server but some laptop users need the app to work offline. Our solution has been to use Access replication which automatically syncs data...
0
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,...
0
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...
0
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...
1
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...
0
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,...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
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.