473,386 Members | 1,795 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,386 software developers and data experts.

ERROR: 'HTTP/1.0 503 Service Unavailable'

Hi,

i'm trying to create my first ASP.NET project ( HelloASPWorld project) but
an error occured when I put OK button in NewProject.
ERROR:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service Unavailable'."
I have installed IIS first and then reinstall Visual Studio
I don't know what I have to set yet to solve this problem.

Please help me!
--
Tomas
Nov 19 '05 #1
11 7704
When I replace localhost in: 'https://localhost/HelloASPWorld' with 127.0.0.1
'https://127.0.0.1/HelloASPWorld' an error accured:

The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'https://127.0.0.1/HelloASPWorld'.'A connection with the server could not be
established'.

So can anyone help me????

Thanx, Tomas

"Tomas Kepic" wrote:
Hi,

i'm trying to create my first ASP.NET project ( HelloASPWorld project) but
an error occured when I put OK button in NewProject.
ERROR:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service Unavailable'."
I have installed IIS first and then reinstall Visual Studio
I don't know what I have to set yet to solve this problem.

Please help me!
--
Tomas

Nov 19 '05 #2
Are you trying to create a secure site ?

Try http://localhost/HelloASPWorld
or http://127.0.0.1/HelloASPWorld
and see if *those* work...


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
When I replace localhost in: 'https://localhost/HelloASPWorld' with
127.0.0.1
'https://127.0.0.1/HelloASPWorld' an error accured:

The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'https://127.0.0.1/HelloASPWorld'.'A connection with the server could not
be
established'.

So can anyone help me????

Thanx, Tomas

"Tomas Kepic" wrote:
Hi,

i'm trying to create my first ASP.NET project ( HelloASPWorld project)
but
an error occured when I put OK button in NewProject.
ERROR:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service Unavailable'."
I have installed IIS first and then reinstall Visual Studio
I don't know what I have to set yet to solve this problem.

Please help me!
--
Tomas

Nov 19 '05 #3
Hi Juan,

first option failed, but second "http://127.0.0.1/HelloASPWorld" works.
Thanks.

Can you tell me why alias 'localhost' doesn't work? In
"C:\WINDOWS\system32\drivers\etc\hosts" I have mapped IIS IP address:
127.0.0.1 localhost

Thank you, Tomas
"Juan T. Llibre" wrote:
Are you trying to create a secure site ?

Try http://localhost/HelloASPWorld
or http://127.0.0.1/HelloASPWorld
and see if *those* work...


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
When I replace localhost in: 'https://localhost/HelloASPWorld' with
127.0.0.1
'https://127.0.0.1/HelloASPWorld' an error accured:

The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'https://127.0.0.1/HelloASPWorld'.'A connection with the server could not
be
established'.

So can anyone help me????

Thanx, Tomas

"Tomas Kepic" wrote:
Hi,

i'm trying to create my first ASP.NET project ( HelloASPWorld project)
but
an error occured when I put OK button in NewProject.
ERROR:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service Unavailable'."
I have installed IIS first and then reinstall Visual Studio
I don't know what I have to set yet to solve this problem.

Please help me!
--
Tomas


Nov 19 '05 #4
Your hosts file doesn't have an extension, does it ?
( You don't have hosts.txt, I assume )

If your hosts file doesn't have an extension,
there might be something wrong with your TCP/IP stack.

It's difficult to diagnose the lack of recognition for localhost.

Can you ping 127.0.0.1 ?
Can you ping localhost ?

Does your machine name work ?
http://YourMachineName/ should work, too.

Can you ping YourMachineName ?

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
Hi Juan,

first option failed, but second "http://127.0.0.1/HelloASPWorld" works.
Thanks.

Can you tell me why alias 'localhost' doesn't work? In
"C:\WINDOWS\system32\drivers\etc\hosts" I have mapped IIS IP address:
127.0.0.1 localhost

Thank you, Tomas
"Juan T. Llibre" wrote:
Are you trying to create a secure site ?

Try http://localhost/HelloASPWorld
or http://127.0.0.1/HelloASPWorld
and see if *those* work...


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
> When I replace localhost in: 'https://localhost/HelloASPWorld' with
> 127.0.0.1
> 'https://127.0.0.1/HelloASPWorld' an error accured:
>
> The Web server reported the following error when attempting to create
> or
> open the Web project located at the following URL:
> 'https://127.0.0.1/HelloASPWorld'.'A connection with the server could
> not
> be
> established'.
>
> So can anyone help me????
>
> Thanx, Tomas
>
>
>
> "Tomas Kepic" wrote:
>
>> Hi,
>>
>> i'm trying to create my first ASP.NET project ( HelloASPWorld project)
>> but
>> an error occured when I put OK button in NewProject.
>> ERROR:
>> "The Web server reported the following error when attempting to create
>> or
>> open the Web project located at the following URL:
>> 'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service Unavailable'."
>>
>>
>> I have installed IIS first and then reinstall Visual Studio
>> I don't know what I have to set yet to solve this problem.
>>
>> Please help me!
>> --
>> Tomas


Nov 19 '05 #5
Hi,

I can ping all from this options:
ping 127.0.0.1
ping localhost
and also ping MyMachineName

but http://myMachineName/ doesn't work!!!
And you are true, my host file doesn't have an extension. Should I rename it
to host.txt?

Tomas

"Juan T. Llibre" wrote:
Your hosts file doesn't have an extension, does it ?
( You don't have hosts.txt, I assume )

If your hosts file doesn't have an extension,
there might be something wrong with your TCP/IP stack.

It's difficult to diagnose the lack of recognition for localhost.

Can you ping 127.0.0.1 ?
Can you ping localhost ?

Does your machine name work ?
http://YourMachineName/ should work, too.

Can you ping YourMachineName ?

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
Hi Juan,

first option failed, but second "http://127.0.0.1/HelloASPWorld" works.
Thanks.

Can you tell me why alias 'localhost' doesn't work? In
"C:\WINDOWS\system32\drivers\etc\hosts" I have mapped IIS IP address:
127.0.0.1 localhost

Thank you, Tomas
"Juan T. Llibre" wrote:
Are you trying to create a secure site ?

Try http://localhost/HelloASPWorld
or http://127.0.0.1/HelloASPWorld
and see if *those* work...


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
> When I replace localhost in: 'https://localhost/HelloASPWorld' with
> 127.0.0.1
> 'https://127.0.0.1/HelloASPWorld' an error accured:
>
> The Web server reported the following error when attempting to create
> or
> open the Web project located at the following URL:
> 'https://127.0.0.1/HelloASPWorld'.'A connection with the server could
> not
> be
> established'.
>
> So can anyone help me????
>
> Thanx, Tomas
>
>
>
> "Tomas Kepic" wrote:
>
>> Hi,
>>
>> i'm trying to create my first ASP.NET project ( HelloASPWorld project)
>> but
>> an error occured when I put OK button in NewProject.
>> ERROR:
>> "The Web server reported the following error when attempting to create
>> or
>> open the Web project located at the following URL:
>> 'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service Unavailable'."
>>
>>
>> I have installed IIS first and then reinstall Visual Studio
>> I don't know what I have to set yet to solve this problem.
>>
>> Please help me!
>> --
>> Tomas


Nov 19 '05 #6
re:
Should I rename it to host.txt?
No. Do *not* rename it.

It should *not* have an extension.
It's fine as it is.

If it *did* have an extension ( like .txt,
added almost automatically by Notepad ),
*That* could be a reason for it *not* to work.

Sorry if I wasn't clear enough.

re: but http://myMachineName/ doesn't work!!!
Then, it's pretty sure there's something
screwed up in your TCP/IP stack.

That happened to me a long time ago,
using Windows 98 and ASP 1.0.

It was a pain in the you-know-what,
and I was never able to fix it

Only when I changed the OS to a Server OS,
was I able to use localhost for a web address.

Which OS are you using ? Windows XP ?

There's a patch available from Microsoft
which covers precisely that problem.

You might want to apply it, if you're running
Windows XP and have applied SP2.

It's at

http://www.microsoft.com/downloads/d...DisplayLang=en

Try that, and let us know...


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:C1**********************************@microsof t.com... Hi,

I can ping all from this options:
ping 127.0.0.1
ping localhost
and also ping MyMachineName

but http://myMachineName/ doesn't work!!!
And you are true, my host file doesn't have an extension. Should I rename
it
to host.txt?

Tomas

"Juan T. Llibre" wrote:
Your hosts file doesn't have an extension, does it ?
( You don't have hosts.txt, I assume )

If your hosts file doesn't have an extension,
there might be something wrong with your TCP/IP stack.

It's difficult to diagnose the lack of recognition for localhost.

Can you ping 127.0.0.1 ?
Can you ping localhost ?

Does your machine name work ?
http://YourMachineName/ should work, too.

Can you ping YourMachineName ?

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
> Hi Juan,
>
> first option failed, but second "http://127.0.0.1/HelloASPWorld" works.
> Thanks.
>
> Can you tell me why alias 'localhost' doesn't work? In
> "C:\WINDOWS\system32\drivers\etc\hosts" I have mapped IIS IP address:
> 127.0.0.1 localhost
>
> Thank you, Tomas
>
>
> "Juan T. Llibre" wrote:
>
>> Are you trying to create a secure site ?
>>
>> Try http://localhost/HelloASPWorld
>> or http://127.0.0.1/HelloASPWorld
>> and see if *those* work...
>>
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
>> news:53**********************************@microsof t.com...
>> > When I replace localhost in: 'https://localhost/HelloASPWorld' with
>> > 127.0.0.1
>> > 'https://127.0.0.1/HelloASPWorld' an error accured:
>> >
>> > The Web server reported the following error when attempting to
>> > create
>> > or
>> > open the Web project located at the following URL:
>> > 'https://127.0.0.1/HelloASPWorld'.'A connection with the server
>> > could
>> > not
>> > be
>> > established'.
>> >
>> > So can anyone help me????
>> >
>> > Thanx, Tomas
>> >
>> >
>> >
>> > "Tomas Kepic" wrote:
>> >
>> >> Hi,
>> >>
>> >> i'm trying to create my first ASP.NET project ( HelloASPWorld
>> >> project)
>> >> but
>> >> an error occured when I put OK button in NewProject.
>> >> ERROR:
>> >> "The Web server reported the following error when attempting to
>> >> create
>> >> or
>> >> open the Web project located at the following URL:
>> >> 'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service
>> >> Unavailable'."
>> >>
>> >>
>> >> I have installed IIS first and then reinstall Visual Studio
>> >> I don't know what I have to set yet to solve this problem.
>> >>
>> >> Please help me!
>> >> --
>> >> Tomas
>>
>>
>>


Nov 19 '05 #7
Hi,

yes, my OS is Windows XP Professional, Version 2002, Service Pack 2.

I'll try "your" patch and I'll give you an answer if it helps.

Tomas

"Juan T. Llibre" wrote:
re:
Should I rename it to host.txt?


No. Do *not* rename it.

It should *not* have an extension.
It's fine as it is.

If it *did* have an extension ( like .txt,
added almost automatically by Notepad ),
*That* could be a reason for it *not* to work.

Sorry if I wasn't clear enough.

re:
but http://myMachineName/ doesn't work!!!


Then, it's pretty sure there's something
screwed up in your TCP/IP stack.

That happened to me a long time ago,
using Windows 98 and ASP 1.0.

It was a pain in the you-know-what,
and I was never able to fix it

Only when I changed the OS to a Server OS,
was I able to use localhost for a web address.

Which OS are you using ? Windows XP ?

There's a patch available from Microsoft
which covers precisely that problem.

You might want to apply it, if you're running
Windows XP and have applied SP2.

It's at

http://www.microsoft.com/downloads/d...DisplayLang=en

Try that, and let us know...


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:C1**********************************@microsof t.com...
Hi,

I can ping all from this options:
ping 127.0.0.1
ping localhost
and also ping MyMachineName

but http://myMachineName/ doesn't work!!!
And you are true, my host file doesn't have an extension. Should I rename
it
to host.txt?

Tomas

"Juan T. Llibre" wrote:
Your hosts file doesn't have an extension, does it ?
( You don't have hosts.txt, I assume )

If your hosts file doesn't have an extension,
there might be something wrong with your TCP/IP stack.

It's difficult to diagnose the lack of recognition for localhost.

Can you ping 127.0.0.1 ?
Can you ping localhost ?

Does your machine name work ?
http://YourMachineName/ should work, too.

Can you ping YourMachineName ?

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
> Hi Juan,
>
> first option failed, but second "http://127.0.0.1/HelloASPWorld" works.
> Thanks.
>
> Can you tell me why alias 'localhost' doesn't work? In
> "C:\WINDOWS\system32\drivers\etc\hosts" I have mapped IIS IP address:
> 127.0.0.1 localhost
>
> Thank you, Tomas
>
>
> "Juan T. Llibre" wrote:
>
>> Are you trying to create a secure site ?
>>
>> Try http://localhost/HelloASPWorld
>> or http://127.0.0.1/HelloASPWorld
>> and see if *those* work...
>>
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
>> news:53**********************************@microsof t.com...
>> > When I replace localhost in: 'https://localhost/HelloASPWorld' with
>> > 127.0.0.1
>> > 'https://127.0.0.1/HelloASPWorld' an error accured:
>> >
>> > The Web server reported the following error when attempting to
>> > create
>> > or
>> > open the Web project located at the following URL:
>> > 'https://127.0.0.1/HelloASPWorld'.'A connection with the server
>> > could
>> > not
>> > be
>> > established'.
>> >
>> > So can anyone help me????
>> >
>> > Thanx, Tomas
>> >
>> >
>> >
>> > "Tomas Kepic" wrote:
>> >
>> >> Hi,
>> >>
>> >> i'm trying to create my first ASP.NET project ( HelloASPWorld
>> >> project)
>> >> but
>> >> an error occured when I put OK button in NewProject.
>> >> ERROR:
>> >> "The Web server reported the following error when attempting to
>> >> create
>> >> or
>> >> open the Web project located at the following URL:
>> >> 'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service
>> >> Unavailable'."
>> >>
>> >>
>> >> I have installed IIS first and then reinstall Visual Studio
>> >> I don't know what I have to set yet to solve this problem.
>> >>
>> >> Please help me!
>> >> --
>> >> Tomas
>>
>>
>>


Nov 19 '05 #8
It's not "my" patch.

It's an "official" Microsoft patch.

Apparently, others have had
the same problem you're reporting.

It *clicked* for me, after we'd exchanged a couple of posts,
that this patch had been made available to Windows XP SP2
users, to solve -precisely- that problem, last September.

I'll be looking forward to your confirmation that installing the
patch does, indeed, make it possible for you to connect to
localhost and to your machinename in URL addresses.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:ED**********************************@microsof t.com...
Hi,

yes, my OS is Windows XP Professional, Version 2002, Service Pack 2.

I'll try "your" patch and I'll give you an answer if it helps.

Tomas

"Juan T. Llibre" wrote:
re:
> Should I rename it to host.txt?


No. Do *not* rename it.

It should *not* have an extension.
It's fine as it is.

If it *did* have an extension ( like .txt,
added almost automatically by Notepad ),
*That* could be a reason for it *not* to work.

Sorry if I wasn't clear enough.

re:
> but http://myMachineName/ doesn't work!!!


Then, it's pretty sure there's something
screwed up in your TCP/IP stack.

That happened to me a long time ago,
using Windows 98 and ASP 1.0.

It was a pain in the you-know-what,
and I was never able to fix it

Only when I changed the OS to a Server OS,
was I able to use localhost for a web address.

Which OS are you using ? Windows XP ?

There's a patch available from Microsoft
which covers precisely that problem.

You might want to apply it, if you're running
Windows XP and have applied SP2.

It's at

http://www.microsoft.com/downloads/d...DisplayLang=en

Try that, and let us know...


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:C1**********************************@microsof t.com...
> Hi,
>
> I can ping all from this options:
> ping 127.0.0.1
> ping localhost
> and also ping MyMachineName
>
> but http://myMachineName/ doesn't work!!!
>
>
> And you are true, my host file doesn't have an extension. Should I
> rename
> it
> to host.txt?
>
> Tomas
>
> "Juan T. Llibre" wrote:
>
>> Your hosts file doesn't have an extension, does it ?
>> ( You don't have hosts.txt, I assume )
>>
>> If your hosts file doesn't have an extension,
>> there might be something wrong with your TCP/IP stack.
>>
>> It's difficult to diagnose the lack of recognition for localhost.
>>
>> Can you ping 127.0.0.1 ?
>> Can you ping localhost ?
>>
>> Does your machine name work ?
>> http://YourMachineName/ should work, too.
>>
>> Can you ping YourMachineName ?
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
>> news:A3**********************************@microsof t.com...
>> > Hi Juan,
>> >
>> > first option failed, but second "http://127.0.0.1/HelloASPWorld"
>> > works.
>> > Thanks.
>> >
>> > Can you tell me why alias 'localhost' doesn't work? In
>> > "C:\WINDOWS\system32\drivers\etc\hosts" I have mapped IIS IP
>> > address:
>> > 127.0.0.1 localhost
>> >
>> > Thank you, Tomas
>> >
>> >
>> > "Juan T. Llibre" wrote:
>> >
>> >> Are you trying to create a secure site ?
>> >>
>> >> Try http://localhost/HelloASPWorld
>> >> or http://127.0.0.1/HelloASPWorld
>> >> and see if *those* work...
>> >>
>> >>
>> >>
>> >>
>> >> Juan T. Llibre
>> >> ASP.NET MVP
>> >> http://asp.net.do/foros/
>> >> Foros de ASP.NET en Español
>> >> Ven, y hablemos de ASP.NET...
>> >> ======================
>> >>
>> >> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in
>> >> message
>> >> news:53**********************************@microsof t.com...
>> >> > When I replace localhost in: 'https://localhost/HelloASPWorld'
>> >> > with
>> >> > 127.0.0.1
>> >> > 'https://127.0.0.1/HelloASPWorld' an error accured:
>> >> >
>> >> > The Web server reported the following error when attempting to
>> >> > create
>> >> > or
>> >> > open the Web project located at the following URL:
>> >> > 'https://127.0.0.1/HelloASPWorld'.'A connection with the server
>> >> > could
>> >> > not
>> >> > be
>> >> > established'.
>> >> >
>> >> > So can anyone help me????
>> >> >
>> >> > Thanx, Tomas
>> >> >
>> >> >
>> >> >
>> >> > "Tomas Kepic" wrote:
>> >> >
>> >> >> Hi,
>> >> >>
>> >> >> i'm trying to create my first ASP.NET project ( HelloASPWorld
>> >> >> project)
>> >> >> but
>> >> >> an error occured when I put OK button in NewProject.
>> >> >> ERROR:
>> >> >> "The Web server reported the following error when attempting to
>> >> >> create
>> >> >> or
>> >> >> open the Web project located at the following URL:
>> >> >> 'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service
>> >> >> Unavailable'."
>> >> >>
>> >> >>
>> >> >> I have installed IIS first and then reinstall Visual Studio
>> >> >> I don't know what I have to set yet to solve this problem.
>> >> >>
>> >> >> Please help me!
>> >> >> --
>> >> >> Tomas
>> >>
>> >>
>> >>
>>
>>
>>


Nov 19 '05 #9
Hello Juan,

hmm, this patch doesn't work with my problem. I installed this patch,
restarted OS and then I tried again create a new project using 'localhost'
('http://localhost/TestProject') and the same error occured: 'HTTP/1.0 503
Service Unavailable'.
Also htttp://localhost/ and http://MyMachineName/ doesn't work.

So, seems that I have just use 127.0.0.1 address if I want create some ASP
project.

Thanks Juan for your time.
Tomas

"Juan T. Llibre" wrote:
It's not "my" patch.

It's an "official" Microsoft patch.

Apparently, others have had
the same problem you're reporting.

It *clicked* for me, after we'd exchanged a couple of posts,
that this patch had been made available to Windows XP SP2
users, to solve -precisely- that problem, last September.

I'll be looking forward to your confirmation that installing the
patch does, indeed, make it possible for you to connect to
localhost and to your machinename in URL addresses.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:ED**********************************@microsof t.com...
Hi,

yes, my OS is Windows XP Professional, Version 2002, Service Pack 2.

I'll try "your" patch and I'll give you an answer if it helps.

Tomas

"Juan T. Llibre" wrote:
re:
> Should I rename it to host.txt?

No. Do *not* rename it.

It should *not* have an extension.
It's fine as it is.

If it *did* have an extension ( like .txt,
added almost automatically by Notepad ),
*That* could be a reason for it *not* to work.

Sorry if I wasn't clear enough.

re:
> but http://myMachineName/ doesn't work!!!

Then, it's pretty sure there's something
screwed up in your TCP/IP stack.

That happened to me a long time ago,
using Windows 98 and ASP 1.0.

It was a pain in the you-know-what,
and I was never able to fix it

Only when I changed the OS to a Server OS,
was I able to use localhost for a web address.

Which OS are you using ? Windows XP ?

There's a patch available from Microsoft
which covers precisely that problem.

You might want to apply it, if you're running
Windows XP and have applied SP2.

It's at

http://www.microsoft.com/downloads/d...DisplayLang=en

Try that, and let us know...


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:C1**********************************@microsof t.com...
> Hi,
>
> I can ping all from this options:
> ping 127.0.0.1
> ping localhost
> and also ping MyMachineName
>
> but http://myMachineName/ doesn't work!!!
>
>
> And you are true, my host file doesn't have an extension. Should I
> rename
> it
> to host.txt?
>
> Tomas
>
> "Juan T. Llibre" wrote:
>
>> Your hosts file doesn't have an extension, does it ?
>> ( You don't have hosts.txt, I assume )
>>
>> If your hosts file doesn't have an extension,
>> there might be something wrong with your TCP/IP stack.
>>
>> It's difficult to diagnose the lack of recognition for localhost.
>>
>> Can you ping 127.0.0.1 ?
>> Can you ping localhost ?
>>
>> Does your machine name work ?
>> http://YourMachineName/ should work, too.
>>
>> Can you ping YourMachineName ?
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
>> news:A3**********************************@microsof t.com...
>> > Hi Juan,
>> >
>> > first option failed, but second "http://127.0.0.1/HelloASPWorld"
>> > works.
>> > Thanks.
>> >
>> > Can you tell me why alias 'localhost' doesn't work? In
>> > "C:\WINDOWS\system32\drivers\etc\hosts" I have mapped IIS IP
>> > address:
>> > 127.0.0.1 localhost
>> >
>> > Thank you, Tomas
>> >
>> >
>> > "Juan T. Llibre" wrote:
>> >
>> >> Are you trying to create a secure site ?
>> >>
>> >> Try http://localhost/HelloASPWorld
>> >> or http://127.0.0.1/HelloASPWorld
>> >> and see if *those* work...
>> >>
>> >>
>> >>
>> >>
>> >> Juan T. Llibre
>> >> ASP.NET MVP
>> >> http://asp.net.do/foros/
>> >> Foros de ASP.NET en Español
>> >> Ven, y hablemos de ASP.NET...
>> >> ======================
>> >>
>> >> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in
>> >> message
>> >> news:53**********************************@microsof t.com...
>> >> > When I replace localhost in: 'https://localhost/HelloASPWorld'
>> >> > with
>> >> > 127.0.0.1
>> >> > 'https://127.0.0.1/HelloASPWorld' an error accured:
>> >> >
>> >> > The Web server reported the following error when attempting to
>> >> > create
>> >> > or
>> >> > open the Web project located at the following URL:
>> >> > 'https://127.0.0.1/HelloASPWorld'.'A connection with the server
>> >> > could
>> >> > not
>> >> > be
>> >> > established'.
>> >> >
>> >> > So can anyone help me????
>> >> >
>> >> > Thanx, Tomas
>> >> >
>> >> >
>> >> >
>> >> > "Tomas Kepic" wrote:
>> >> >
>> >> >> Hi,
>> >> >>
>> >> >> i'm trying to create my first ASP.NET project ( HelloASPWorld
>> >> >> project)
>> >> >> but
>> >> >> an error occured when I put OK button in NewProject.
>> >> >> ERROR:
>> >> >> "The Web server reported the following error when attempting to
>> >> >> create
>> >> >> or
>> >> >> open the Web project located at the following URL:
>> >> >> 'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service
>> >> >> Unavailable'."
>> >> >>
>> >> >>
>> >> >> I have installed IIS first and then reinstall Visual Studio
>> >> >> I don't know what I have to set yet to solve this problem.
>> >> >>
>> >> >> Please help me!
>> >> >> --
>> >> >> Tomas
>> >>
>> >>
>> >>
>>
>>
>>


Nov 19 '05 #10
Hmmm...

Sorry to hear that.
I was hopeful that the patch would be the solution.

I'll see what I can do to explain your problem to
the development teams, and see if some sort
of answer comes out of that.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:D6**********************************@microsof t.com...
Hello Juan,

hmm, this patch doesn't work with my problem. I installed this patch,
restarted OS and then I tried again create a new project using 'localhost'
('http://localhost/TestProject') and the same error occured: 'HTTP/1.0 503
Service Unavailable'.
Also htttp://localhost/ and http://MyMachineName/ doesn't work.

So, seems that I have just use 127.0.0.1 address if I want create some ASP
project.

Thanks Juan for your time.
Tomas "Juan T. Llibre" wrote:
It's not "my" patch.

It's an "official" Microsoft patch.

Apparently, others have had
the same problem you're reporting.

It *clicked* for me, after we'd exchanged a couple of posts,
that this patch had been made available to Windows XP SP2
users, to solve -precisely- that problem, last September.

I'll be looking forward to your confirmation that installing the
patch does, indeed, make it possible for you to connect to
localhost and to your machinename in URL addresses.

Juan T. Llibre
===========

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:ED**********************************@microsof t.com...
> Hi,
>
> yes, my OS is Windows XP Professional, Version 2002, Service Pack 2.
>
> I'll try "your" patch and I'll give you an answer if it helps.
>
> Tomas
>
> "Juan T. Llibre" wrote:
>
>> re:
>> > Should I rename it to host.txt?
>>
>> No. Do *not* rename it.
>>
>> It should *not* have an extension.
>> It's fine as it is.
>>
>> If it *did* have an extension ( like .txt,
>> added almost automatically by Notepad ),
>> *That* could be a reason for it *not* to work.
>>
>> Sorry if I wasn't clear enough.
>>
>> re:
>> > but http://myMachineName/ doesn't work!!!
>>
>> Then, it's pretty sure there's something
>> screwed up in your TCP/IP stack.
>>
>> That happened to me a long time ago,
>> using Windows 98 and ASP 1.0.
>>
>> It was a pain in the you-know-what,
>> and I was never able to fix it
>>
>> Only when I changed the OS to a Server OS,
>> was I able to use localhost for a web address.
>>
>> Which OS are you using ? Windows XP ?
>>
>> There's a patch available from Microsoft
>> which covers precisely that problem.
>>
>> You might want to apply it, if you're running
>> Windows XP and have applied SP2.
>>
>> It's at
>>
>> http://www.microsoft.com/downloads/d...DisplayLang=en
>>
>> Try that, and let us know...
>>
>> Juan T. Llibre
>> ==========
>>
>> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
>> news:C1**********************************@microsof t.com...
>> > Hi,
>> >
>> > I can ping all from this options:
>> > ping 127.0.0.1
>> > ping localhost
>> > and also ping MyMachineName
>> >
>> > but http://myMachineName/ doesn't work!!!
>> >
>> >
>> > And you are true, my host file doesn't have an extension. Should I
>> > rename
>> > it
>> > to host.txt?
>> >
>> > Tomas
>> >
>> > "Juan T. Llibre" wrote:
>> >
>> >> Your hosts file doesn't have an extension, does it ?
>> >> ( You don't have hosts.txt, I assume )
>> >>
>> >> If your hosts file doesn't have an extension,
>> >> there might be something wrong with your TCP/IP stack.
>> >>
>> >> It's difficult to diagnose the lack of recognition for localhost.
>> >>
>> >> Can you ping 127.0.0.1 ?
>> >> Can you ping localhost ?
>> >>
>> >> Does your machine name work ?
>> >> http://YourMachineName/ should work, too.
>> >>
>> >> Can you ping YourMachineName ?
>> >>
>> >> Juan T. Llibre
>> >> ==========
>> >>
>> >> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in
>> >> message
>> >> news:A3**********************************@microsof t.com...
>> >> > Hi Juan,
>> >> >
>> >> > first option failed, but second "http://127.0.0.1/HelloASPWorld"
>> >> > works.
>> >> > Thanks.
>> >> >
>> >> > Can you tell me why alias 'localhost' doesn't work? In
>> >> > "C:\WINDOWS\system32\drivers\etc\hosts" I have mapped IIS IP
>> >> > address:
>> >> > 127.0.0.1 localhost
>> >> >
>> >> > Thank you, Tomas
>> >> >
>> >> >
>> >> > "Juan T. Llibre" wrote:
>> >> >
>> >> >> Are you trying to create a secure site ?
>> >> >>
>> >> >> Try http://localhost/HelloASPWorld
>> >> >> or http://127.0.0.1/HelloASPWorld
>> >> >> and see if *those* work...
>> >> >>
>> >> >> Juan T. Llibre
>> >> >> ===========
>> >> >>
>> >> >> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in
>> >> >> message
>> >> >> news:53**********************************@microsof t.com...
>> >> >> > When I replace localhost in: 'https://localhost/HelloASPWorld'
>> >> >> > with
>> >> >> > 127.0.0.1
>> >> >> > 'https://127.0.0.1/HelloASPWorld' an error accured:
>> >> >> >
>> >> >> > The Web server reported the following error when attempting to
>> >> >> > create
>> >> >> > or
>> >> >> > open the Web project located at the following URL:
>> >> >> > 'https://127.0.0.1/HelloASPWorld'.'A connection with the
>> >> >> > server
>> >> >> > could
>> >> >> > not
>> >> >> > be
>> >> >> > established'.
>> >> >> >
>> >> >> > So can anyone help me????
>> >> >> >
>> >> >> > Thanx, Tomas
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "Tomas Kepic" wrote:
>> >> >> >
>> >> >> >> Hi,
>> >> >> >>
>> >> >> >> i'm trying to create my first ASP.NET project ( HelloASPWorld
>> >> >> >> project)
>> >> >> >> but
>> >> >> >> an error occured when I put OK button in NewProject.
>> >> >> >> ERROR:
>> >> >> >> "The Web server reported the following error when attempting
>> >> >> >> to
>> >> >> >> create
>> >> >> >> or
>> >> >> >> open the Web project located at the following URL:
>> >> >> >> 'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service
>> >> >> >> Unavailable'."
>> >> >> >>
>> >> >> >>
>> >> >> >> I have installed IIS first and then reinstall Visual Studio
>> >> >> >> I don't know what I have to set yet to solve this problem.
>> >> >> >>
>> >> >> >> Please help me!
>> >> >> >> --
>> >> >> >> Tomas

Nov 19 '05 #11
Thanx, Tomas

"Juan T. Llibre" wrote:
Hmmm...

Sorry to hear that.
I was hopeful that the patch would be the solution.

I'll see what I can do to explain your problem to
the development teams, and see if some sort
of answer comes out of that.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:D6**********************************@microsof t.com...
Hello Juan,

hmm, this patch doesn't work with my problem. I installed this patch,
restarted OS and then I tried again create a new project using 'localhost'
('http://localhost/TestProject') and the same error occured: 'HTTP/1.0 503
Service Unavailable'.
Also htttp://localhost/ and http://MyMachineName/ doesn't work.

So, seems that I have just use 127.0.0.1 address if I want create some ASP
project.

Thanks Juan for your time.
Tomas

"Juan T. Llibre" wrote:
It's not "my" patch.

It's an "official" Microsoft patch.

Apparently, others have had
the same problem you're reporting.

It *clicked* for me, after we'd exchanged a couple of posts,
that this patch had been made available to Windows XP SP2
users, to solve -precisely- that problem, last September.

I'll be looking forward to your confirmation that installing the
patch does, indeed, make it possible for you to connect to
localhost and to your machinename in URL addresses.

Juan T. Llibre
===========

"Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
news:ED**********************************@microsof t.com...
> Hi,
>
> yes, my OS is Windows XP Professional, Version 2002, Service Pack 2.
>
> I'll try "your" patch and I'll give you an answer if it helps.
>
> Tomas
>
> "Juan T. Llibre" wrote:
>
>> re:
>> > Should I rename it to host.txt?
>>
>> No. Do *not* rename it.
>>
>> It should *not* have an extension.
>> It's fine as it is.
>>
>> If it *did* have an extension ( like .txt,
>> added almost automatically by Notepad ),
>> *That* could be a reason for it *not* to work.
>>
>> Sorry if I wasn't clear enough.
>>
>> re:
>> > but http://myMachineName/ doesn't work!!!
>>
>> Then, it's pretty sure there's something
>> screwed up in your TCP/IP stack.
>>
>> That happened to me a long time ago,
>> using Windows 98 and ASP 1.0.
>>
>> It was a pain in the you-know-what,
>> and I was never able to fix it
>>
>> Only when I changed the OS to a Server OS,
>> was I able to use localhost for a web address.
>>
>> Which OS are you using ? Windows XP ?
>>
>> There's a patch available from Microsoft
>> which covers precisely that problem.
>>
>> You might want to apply it, if you're running
>> Windows XP and have applied SP2.
>>
>> It's at
>>
>> http://www.microsoft.com/downloads/d...DisplayLang=en
>>
>> Try that, and let us know...
>>
>> Juan T. Llibre
>> ==========
>>
>> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in message
>> news:C1**********************************@microsof t.com...
>> > Hi,
>> >
>> > I can ping all from this options:
>> > ping 127.0.0.1
>> > ping localhost
>> > and also ping MyMachineName
>> >
>> > but http://myMachineName/ doesn't work!!!
>> >
>> >
>> > And you are true, my host file doesn't have an extension. Should I
>> > rename
>> > it
>> > to host.txt?
>> >
>> > Tomas
>> >
>> > "Juan T. Llibre" wrote:
>> >
>> >> Your hosts file doesn't have an extension, does it ?
>> >> ( You don't have hosts.txt, I assume )
>> >>
>> >> If your hosts file doesn't have an extension,
>> >> there might be something wrong with your TCP/IP stack.
>> >>
>> >> It's difficult to diagnose the lack of recognition for localhost.
>> >>
>> >> Can you ping 127.0.0.1 ?
>> >> Can you ping localhost ?
>> >>
>> >> Does your machine name work ?
>> >> http://YourMachineName/ should work, too.
>> >>
>> >> Can you ping YourMachineName ?
>> >>
>> >> Juan T. Llibre
>> >> ==========
>> >>
>> >> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in
>> >> message
>> >> news:A3**********************************@microsof t.com...
>> >> > Hi Juan,
>> >> >
>> >> > first option failed, but second "http://127.0.0.1/HelloASPWorld"
>> >> > works.
>> >> > Thanks.
>> >> >
>> >> > Can you tell me why alias 'localhost' doesn't work? In
>> >> > "C:\WINDOWS\system32\drivers\etc\hosts" I have mapped IIS IP
>> >> > address:
>> >> > 127.0.0.1 localhost
>> >> >
>> >> > Thank you, Tomas
>> >> >
>> >> >
>> >> > "Juan T. Llibre" wrote:
>> >> >
>> >> >> Are you trying to create a secure site ?
>> >> >>
>> >> >> Try http://localhost/HelloASPWorld
>> >> >> or http://127.0.0.1/HelloASPWorld
>> >> >> and see if *those* work...
>> >> >>
>> >> >> Juan T. Llibre
>> >> >> ===========
>> >> >>
>> >> >> "Tomas Kepic" <To********@discussions.microsoft.com> wrote in
>> >> >> message
>> >> >> news:53**********************************@microsof t.com...
>> >> >> > When I replace localhost in: 'https://localhost/HelloASPWorld'
>> >> >> > with
>> >> >> > 127.0.0.1
>> >> >> > 'https://127.0.0.1/HelloASPWorld' an error accured:
>> >> >> >
>> >> >> > The Web server reported the following error when attempting to
>> >> >> > create
>> >> >> > or
>> >> >> > open the Web project located at the following URL:
>> >> >> > 'https://127.0.0.1/HelloASPWorld'.'A connection with the
>> >> >> > server
>> >> >> > could
>> >> >> > not
>> >> >> > be
>> >> >> > established'.
>> >> >> >
>> >> >> > So can anyone help me????
>> >> >> >
>> >> >> > Thanx, Tomas
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "Tomas Kepic" wrote:
>> >> >> >
>> >> >> >> Hi,
>> >> >> >>
>> >> >> >> i'm trying to create my first ASP.NET project ( HelloASPWorld
>> >> >> >> project)
>> >> >> >> but
>> >> >> >> an error occured when I put OK button in NewProject.
>> >> >> >> ERROR:
>> >> >> >> "The Web server reported the following error when attempting
>> >> >> >> to
>> >> >> >> create
>> >> >> >> or
>> >> >> >> open the Web project located at the following URL:
>> >> >> >> 'https://localhost/HelloASPWorld'.'HTTP/1.0 503 Service
>> >> >> >> Unavailable'."
>> >> >> >>
>> >> >> >>
>> >> >> >> I have installed IIS first and then reinstall Visual Studio
>> >> >> >> I don't know what I have to set yet to solve this problem.
>> >> >> >>
>> >> >> >> Please help me!
>> >> >> >> --
>> >> >> >> Tomas


Nov 19 '05 #12

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

Similar topics

5
by: Ken Cox [Microsoft MVP] | last post by:
MS has posted this here: http://www.asp.net/faq/ms03-32-issue.aspx Fix for: 'Server Application Unavailable' Error after Applying Security Update for IE...
1
by: Keith | last post by:
All, I have been told this is an ASP.NET issue and not an IIS issue, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
7
by: Kath | last post by:
Hi, I hope this is the most relevant newsgroup for this post. I have a VB.NET app that uses the MapPoint component, and in my app I use pushpins to display/retrieve GPS locations....
2
by: maansi.creations | last post by:
Service unavailable error comes randomly while accessing our website and gets alright in matter of seconds....Could some one tell the possible reasons for these to happen: i got a earlier...
7
by: DC | last post by:
Hi, there is a 500;13 page one can configure in the website properties, but ..Net Framework 1.1 also delivers the "server too busy" message sometimes and the IIS custom error page does not seem...
2
by: Ash1 | last post by:
I am using Win XP and have installed .Net 1.0.3705.0,1.1.4322.0 and 2.0.50727.0 on my machine Now after clicking VS 2005 -->Create -->Website -->ASP.Net Web Service with location http and ...
13
by: Kevin Liebowicz | last post by:
Yes, I wasted the past two days trying to fix this. Yes, this is on a Win2003 Server. Yes, this machine is a domain controller. Yes, I seen the dozens of KB articles like this one:...
2
by: =?Utf-8?B?Umljaw==?= | last post by:
I am trying to set up a WCF service using VS2005 on Vista using IIS 7.0. I created a website, selecting a WCF Service template and http://localhost/ServiceName. Even the most simple project when...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.