Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > [Please Help] simple problem

Reply
Thread Tools

[Please Help] simple problem

 
 
Eder
Guest
Posts: n/a
 
      01-09-2004
Hello,

I am a newbie to Web Services. I have been struggling with a very strange
problem for days. I want to write a simple "Hello World" Web Service, which
I want to invoke
from a browser. The automatic test web interface that IIS manages doesn't
work, when i enter
http://localhost/XMLWebServices/Chap.../Service1.asmx, it
launchs me to .NET IDE and open the content of Service1.asmx only. My IIS
5.0 server is working since i try http://localhost return my home page
without any problem. I am using XP SP1 professional with .NET 2002.
Many many thx !!!

Best Rgds
Eder


 
Reply With Quote
 
 
 
 
Jan Tielens
Guest
Posts: n/a
 
      01-09-2004
Probably you haven't configured the HelloWorld directory as a Virtual
Directory in IIS. To so, choose Add New Virtual Directory in the IIS MMC
plugin, give it a name and point it to the location of your project. Then
you can use it by browsing to
http://localhost/NameOfVirtualDir/Service1.ASMX.

Although if you create a new Web Project in Visual Studio, these things
should be set automatically.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan


"Eder" <> wrote in message
news:...
> Hello,
>
> I am a newbie to Web Services. I have been struggling with a very

strange
> problem for days. I want to write a simple "Hello World" Web Service,

which
> I want to invoke
> from a browser. The automatic test web interface that IIS manages doesn't
> work, when i enter
> http://localhost/XMLWebServices/Chap.../Service1.asmx, it
> launchs me to .NET IDE and open the content of Service1.asmx only. My IIS
> 5.0 server is working since i try http://localhost return my home page
> without any problem. I am using XP SP1 professional with .NET 2002.
> Many many thx !!!
>
> Best Rgds
> Eder
>
>



 
Reply With Quote
 
 
 
 
Eder
Guest
Posts: n/a
 
      01-09-2004
thx, it still doesn't work
"Jan Tielens" <> wrote in message
news:#...
> Probably you haven't configured the HelloWorld directory as a Virtual
> Directory in IIS. To so, choose Add New Virtual Directory in the IIS MMC
> plugin, give it a name and point it to the location of your project. Then
> you can use it by browsing to
> http://localhost/NameOfVirtualDir/Service1.ASMX.
>
> Although if you create a new Web Project in Visual Studio, these things
> should be set automatically.
>
> --
> Greetz
>
> Jan Tielens
> ________________________________
> Read my weblog: http://weblogs.asp.net/jan
>
>
> "Eder" <> wrote in message
> news:...
> > Hello,
> >
> > I am a newbie to Web Services. I have been struggling with a very

> strange
> > problem for days. I want to write a simple "Hello World" Web Service,

> which
> > I want to invoke
> > from a browser. The automatic test web interface that IIS manages

doesn't
> > work, when i enter
> > http://localhost/XMLWebServices/Chap.../Service1.asmx, it
> > launchs me to .NET IDE and open the content of Service1.asmx only. My

IIS
> > 5.0 server is working since i try http://localhost return my home page
> > without any problem. I am using XP SP1 professional with .NET 2002.
> > Many many thx !!!
> >
> > Best Rgds
> > Eder
> >
> >

>
>



 
Reply With Quote
 
Sami Vaaraniemi
Guest
Posts: n/a
 
      01-09-2004
It seems that you are missing ASP.NET mappings from IIS. You can set up the
mappings with the aspnet_regiis.exe tool in your framework directory.
aspnet_regiis -i will restore the mappings.

Regards,
Sami

"Eder" <> wrote in message
news:%...
> thx, it still doesn't work
> "Jan Tielens" <> wrote in message
> news:#...
> > Probably you haven't configured the HelloWorld directory as a Virtual
> > Directory in IIS. To so, choose Add New Virtual Directory in the IIS MMC
> > plugin, give it a name and point it to the location of your project.

Then
> > you can use it by browsing to
> > http://localhost/NameOfVirtualDir/Service1.ASMX.
> >
> > Although if you create a new Web Project in Visual Studio, these things
> > should be set automatically.
> >
> > --
> > Greetz
> >
> > Jan Tielens
> > ________________________________
> > Read my weblog: http://weblogs.asp.net/jan
> >
> >
> > "Eder" <> wrote in message
> > news:...
> > > Hello,
> > >
> > > I am a newbie to Web Services. I have been struggling with a very

> > strange
> > > problem for days. I want to write a simple "Hello World" Web Service,

> > which
> > > I want to invoke
> > > from a browser. The automatic test web interface that IIS manages

> doesn't
> > > work, when i enter
> > > http://localhost/XMLWebServices/Chap.../Service1.asmx,

it
> > > launchs me to .NET IDE and open the content of Service1.asmx only. My

> IIS
> > > 5.0 server is working since i try http://localhost return my home page
> > > without any problem. I am using XP SP1 professional with .NET 2002.
> > > Many many thx !!!
> > >
> > > Best Rgds
> > > Eder
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Eder
Guest
Posts: n/a
 
      01-10-2004
would you tell what parameter should i use with aspnet_regiis.exe, many many
thx, Eder

"Sami Vaaraniemi" <> wrote in message
news:btm2ao$t39$...
> It seems that you are missing ASP.NET mappings from IIS. You can set up

the
> mappings with the aspnet_regiis.exe tool in your framework directory.
> aspnet_regiis -i will restore the mappings.
>
> Regards,
> Sami
>
> "Eder" <> wrote in message
> news:%...
> > thx, it still doesn't work
> > "Jan Tielens" <> wrote in message
> > news:#...
> > > Probably you haven't configured the HelloWorld directory as a Virtual
> > > Directory in IIS. To so, choose Add New Virtual Directory in the IIS

MMC
> > > plugin, give it a name and point it to the location of your project.

> Then
> > > you can use it by browsing to
> > > http://localhost/NameOfVirtualDir/Service1.ASMX.
> > >
> > > Although if you create a new Web Project in Visual Studio, these

things
> > > should be set automatically.
> > >
> > > --
> > > Greetz
> > >
> > > Jan Tielens
> > > ________________________________
> > > Read my weblog: http://weblogs.asp.net/jan
> > >
> > >
> > > "Eder" <> wrote in message
> > > news:...
> > > > Hello,
> > > >
> > > > I am a newbie to Web Services. I have been struggling with a very
> > > strange
> > > > problem for days. I want to write a simple "Hello World" Web

Service,
> > > which
> > > > I want to invoke
> > > > from a browser. The automatic test web interface that IIS manages

> > doesn't
> > > > work, when i enter
> > > > http://localhost/XMLWebServices/Chap.../Service1.asmx,

> it
> > > > launchs me to .NET IDE and open the content of Service1.asmx only.

My
> > IIS
> > > > 5.0 server is working since i try http://localhost return my home

page
> > > > without any problem. I am using XP SP1 professional with .NET 2002.
> > > > Many many thx !!!
> > > >
> > > > Best Rgds
> > > > Eder
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Sami Vaaraniemi
Guest
Posts: n/a
 
      01-10-2004
Try aspnet_regiis -i.

"Eder" <> wrote in message
news:...
> would you tell what parameter should i use with aspnet_regiis.exe, many

many
> thx, Eder
>
> "Sami Vaaraniemi" <> wrote in message
> news:btm2ao$t39$...
> > It seems that you are missing ASP.NET mappings from IIS. You can set up

> the
> > mappings with the aspnet_regiis.exe tool in your framework directory.
> > aspnet_regiis -i will restore the mappings.
> >
> > Regards,
> > Sami
> >
> > "Eder" <> wrote in message
> > news:%...
> > > thx, it still doesn't work
> > > "Jan Tielens" <> wrote in message
> > > news:#...
> > > > Probably you haven't configured the HelloWorld directory as a

Virtual
> > > > Directory in IIS. To so, choose Add New Virtual Directory in the IIS

> MMC
> > > > plugin, give it a name and point it to the location of your project.

> > Then
> > > > you can use it by browsing to
> > > > http://localhost/NameOfVirtualDir/Service1.ASMX.
> > > >
> > > > Although if you create a new Web Project in Visual Studio, these

> things
> > > > should be set automatically.
> > > >
> > > > --
> > > > Greetz
> > > >
> > > > Jan Tielens
> > > > ________________________________
> > > > Read my weblog: http://weblogs.asp.net/jan
> > > >
> > > >
> > > > "Eder" <> wrote in message
> > > > news:...
> > > > > Hello,
> > > > >
> > > > > I am a newbie to Web Services. I have been struggling with a

very
> > > > strange
> > > > > problem for days. I want to write a simple "Hello World" Web

> Service,
> > > > which
> > > > > I want to invoke
> > > > > from a browser. The automatic test web interface that IIS manages
> > > doesn't
> > > > > work, when i enter
> > > > >

http://localhost/XMLWebServices/Chap.../Service1.asmx,
> > it
> > > > > launchs me to .NET IDE and open the content of Service1.asmx only.

> My
> > > IIS
> > > > > 5.0 server is working since i try http://localhost return my home

> page
> > > > > without any problem. I am using XP SP1 professional with .NET

2002.
> > > > > Many many thx !!!
> > > > >
> > > > > Best Rgds
> > > > > Eder
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Eder
Guest
Posts: n/a
 
      01-11-2004
it doesn't work too, thx
"Sami Vaaraniemi" <> wrote in message
news:btp034$o16$...
> Try aspnet_regiis -i.
>
> "Eder" <> wrote in message
> news:...
> > would you tell what parameter should i use with aspnet_regiis.exe, many

> many
> > thx, Eder
> >
> > "Sami Vaaraniemi" <> wrote in message
> > news:btm2ao$t39$...
> > > It seems that you are missing ASP.NET mappings from IIS. You can set

up
> > the
> > > mappings with the aspnet_regiis.exe tool in your framework directory.
> > > aspnet_regiis -i will restore the mappings.
> > >
> > > Regards,
> > > Sami
> > >
> > > "Eder" <> wrote in message
> > > news:%...
> > > > thx, it still doesn't work
> > > > "Jan Tielens" <> wrote in message
> > > > news:#...
> > > > > Probably you haven't configured the HelloWorld directory as a

> Virtual
> > > > > Directory in IIS. To so, choose Add New Virtual Directory in the

IIS
> > MMC
> > > > > plugin, give it a name and point it to the location of your

project.
> > > Then
> > > > > you can use it by browsing to
> > > > > http://localhost/NameOfVirtualDir/Service1.ASMX.
> > > > >
> > > > > Although if you create a new Web Project in Visual Studio, these

> > things
> > > > > should be set automatically.
> > > > >
> > > > > --
> > > > > Greetz
> > > > >
> > > > > Jan Tielens
> > > > > ________________________________
> > > > > Read my weblog: http://weblogs.asp.net/jan
> > > > >
> > > > >
> > > > > "Eder" <> wrote in message
> > > > > news:...
> > > > > > Hello,
> > > > > >
> > > > > > I am a newbie to Web Services. I have been struggling with a

> very
> > > > > strange
> > > > > > problem for days. I want to write a simple "Hello World" Web

> > Service,
> > > > > which
> > > > > > I want to invoke
> > > > > > from a browser. The automatic test web interface that IIS

manages
> > > > doesn't
> > > > > > work, when i enter
> > > > > >

> http://localhost/XMLWebServices/Chap.../Service1.asmx,
> > > it
> > > > > > launchs me to .NET IDE and open the content of Service1.asmx

only.
> > My
> > > > IIS
> > > > > > 5.0 server is working since i try http://localhost return my

home
> > page
> > > > > > without any problem. I am using XP SP1 professional with .NET

> 2002.
> > > > > > Many many thx !!!
> > > > > >
> > > > > > Best Rgds
> > > > > > Eder
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple VB.Net / webservice requirement (but not simple for me....) Dave E ASP .Net 7 01-11-2006 02:07 PM
Simple Question - Simple Answer? Daniel Frey XML 4 01-12-2005 04:25 PM
Re: Simple Simple question!!! Kevin Spencer ASP .Net 0 06-25-2004 05:25 PM
Re: Simple Simple question!!! ashelley@inlandkwpp.com ASP .Net 0 06-25-2004 04:18 PM
Simple problem with a simple chat script dillon Javascript 1 11-17-2003 11:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57