473,324 Members | 2,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

ASP.NET application: A connection with the server could not be established

I developed an ASP.NET application with Visual Studio .NET 2003 on a
Windows XP Pro machine. Everything seemed to work ok. One I was
working on this application while I was still dialled in. When I
disconnected I could not open my application in
http://localhost/webapp

Visual Studio .NET 2003 gives me the following error when I try to
open my application:
"The Web server reported the following error when attempting to create
or open the Web project located at the following
URL:'http://localhost/webapp'.'A connection with the server could not
be established'."

What I alread tried is:
- Connect again to the internet and open the applciation. This
works!!! But when I disconnect again I get the same error. I'm logged
on to my laptop that I'm working on with a domain user. I can also
work offline with this domain user. Maybe IIS want to connect to the
domain? Since I had a open analog connection when I was
developing/running my ASP.NET application?

- Run aspnet_issnet -i and restart. No effect.

- When I create a new ASP.NET application with VS.NET 2003 I get the
same error as above. But when I connect to the internet again I can
create new APS.NET application...

Can anybody help me? Why, all of a sudden, do I need to connect to the
internet to run local webapplication on my localhost???

Thank you,

Kind regards,

Jules Hoppenbrouwers

< don't reply by email. it's just a spam catcher >
Nov 17 '05 #1
1 2457
In article <4a*************************@posting.google.com> ,
ju******@hotmail.com says...
I developed an ASP.NET application with Visual Studio .NET 2003 on a
Windows XP Pro machine. Everything seemed to work ok. One I was
working on this application while I was still dialled in. When I
disconnected I could not open my application in
http://localhost/webapp

Visual Studio .NET 2003 gives me the following error when I try to
open my application:
"The Web server reported the following error when attempting to create
or open the Web project located at the following
URL:'http://localhost/webapp'.'A connection with the server could not
be established'."

What I alread tried is:
- Connect again to the internet and open the applciation. This
works!!! But when I disconnect again I get the same error. I'm logged
on to my laptop that I'm working on with a domain user. I can also
work offline with this domain user. Maybe IIS want to connect to the
domain? Since I had a open analog connection when I was
developing/running my ASP.NET application?

- Run aspnet_issnet -i and restart. No effect.

{SNIPPED}

your cmd prompt should be "aspnet_regiis -i"

not "aspnet_issnet -i".

Also, see: http://support.microsoft.com/default.aspx?scid=kb;en-
us;812405

HTH

Best,
Jerry
--
http://www.toasty0.com
http://www.toasty0.net
http://groups.yahoo.com/group/CSharp4Beginners/
Nov 17 '05 #2

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

Similar topics

0
by: TJ | last post by:
Dear Sir/Madam I made one user control using C#(.NET Runtime is 1.1). It is embeded in Internet Explorer Basically, this control is very similiar to FTP client program. So it should be connecte...
2
by: Dicky Cheng | last post by:
Hi, I am using .net remoting technology. I set up a .net remoting client and server in IIS. When the client calls the server, the server will run a long duration method (30-60seconds). I have a...
9
by: tgru | last post by:
Hello, I am looking to have the developers at my company start to use application roles to gain access to SQL. The basics seem simple, add the role to the database, use sp_setapprole to activate...
1
by: TJ | last post by:
Dear Sir/Madam I made one user control using C#(.NET Runtime is 1.1). It is embeded in Internet Explorer Basically, this control is very similiar to FTP client program. So it should be connecte...
0
by: Ross M | last post by:
Dear Microsoft, I m getting this error message, on every SECOND attempt to access a web service on a foreign PC. I am using .net framework 2 beta 2 with Visual Web developer 2. Below is the...
3
by: matt.delvecchio | last post by:
i saw a similar post from last year, but i didnt see any clear solution. the error message: "A connection was successfully established with the server, but then an error occurred during the...
2
by: yvan | last post by:
Hi, Here is my client/server scenario: Step1: Client connects to server and sends data sucessfully (using Socket.Send()). Step2: Server gracefully exists (calls Socket.Shutdown() and...
0
by: tamayi | last post by:
I have a problem (like most others posting issues on this forum :) ) I have a remote server running Windows XP SP2, with both SQL Server 2005 Express with Advanced Features and SQL 2000...
3
by: dynamo08 | last post by:
Hi, I am new to socket programming, I wrote an ftpclient which connects to an ftp server and downloads a file to the client computer. Now in one client connection I want to download multiple files...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.