473,739 Members | 2,602 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7741
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********@dis cussions.micros oft.com> wrote in message
news:53******** *************** ***********@mic rosoft.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\sys tem32\drivers\e tc\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********@dis cussions.micros oft.com> wrote in message
news:53******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
news:A3******** *************** ***********@mic rosoft.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\sys tem32\drivers\e tc\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********@dis cussions.micros oft.com> wrote in message
news:53******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
news:A3******** *************** ***********@mic rosoft.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\sys tem32\drivers\e tc\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********@dis cussions.micros oft.com> wrote in message
news:53******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
news:C1******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
news:A3******** *************** ***********@mic rosoft.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\sys tem32\drivers\e tc\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********@dis cussions.micros oft.com> wrote in message
>> news:53******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
news:C1******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
news:A3******** *************** ***********@mic rosoft.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\sys tem32\drivers\e tc\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********@dis cussions.micros oft.com> wrote in message
>> news:53******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
news:ED******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
news:C1******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
>> news:A3******** *************** ***********@mic rosoft.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\sys tem32\drivers\e tc\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********@dis cussions.micros oft.com> wrote in
>> >> message
>> >> news:53******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
news:ED******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
news:C1******** *************** ***********@mic rosoft.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********@dis cussions.micros oft.com> wrote in message
>> news:A3******** *************** ***********@mic rosoft.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\sys tem32\drivers\e tc\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********@dis cussions.micros oft.com> wrote in
>> >> message
>> >> news:53******** *************** ***********@mic rosoft.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

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

Similar topics

5
2788
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
3157
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 Windows Server 2003 Enterprise Edition Only. This works on Windows 2000, Windows 2003 Web Edition and
8
10014
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 the following error when attempting to create or open the Web project located at the following URL: 'http://localhost/WebApplication1'. 'HTTP/1.1 500 Internal Server Error'."
7
5689
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. Occasionally, when I call: objMap.Distance(locNorthPole, locX) my code catches an exception that's raised, the exception is:
2
3996
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 suggestion to our error as follows: ------------------------------------------------------- If the error continues, it means that your website is exceeding the resource thresholds we set in IIS. Your website has been allocated 20% CPU and 800 MB of...
7
5075
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 to catch that. How would I customize the error page then? Regards DC
2
1123
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 http://localhost/website language VB....and after executing the "hello world" application i got following error..... Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please...
13
4772
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: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q315158 But the problem is that 99% of these are for ASP .NET 1.x and this is .NET 2.x which I just installed to try and get .net working for the first time ever. I've see all the HACKS to get .net 1.x...
2
4164
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 I try to navigate to the http:/localhost/ServiceName/Service.svc always gives me the error "HTTP Error 503. The service is unavailable." I have verified that I do not have port 80 reserved using the "netsh http show urlacl" command. The...
0
8792
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
9337
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
9209
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...
0
8215
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6754
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
6054
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
4570
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
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.