Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Hassles installing WCF & with xws_reg

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 09-24-2006   #1 (permalink)
garth@silverminute.com
Guest


 

Hassles installing WCF & with xws_reg

Hi,
I've downloaded the dotnet 3 installs and have installed them. I also
have installed the Visual Studio addons.
The WPF demos run fine.
I'm having hassles with WCF.
I've downloaded the "Getting Started" sample. I've configured IIS to
point to the folder that the sample is sitting in. When I browse the
"service.svc" file with my browser I get the following
<%@ServiceHost language=c# Debug="true"
Service="Microsoft.ServiceModel.Samples.CalculatorService" %>

It seems that asp.net does not recognise WCF
(http://www.devx.com/dotnet/Article/29706/1954?pf=true). From the link
just mentioned I'm recommended to run xws_reg.exe to reinstall WCF.

But I cant find xws_reg.exe anywhere on my machine. I've looked in the
"%windir%\microsoft.net\framework\v2.0.50727" folder but it's not
there. I've done a search on the entire machine but it's not there. I
saw a posting that said it's been renamed to something like
"wsatconfig.exe" but that's missing as well.

Please Help
Thanks


My System SpecsSystem Spec
Old 09-25-2006   #2 (permalink)
Arkady Frenkel
Guest


 

Re: Hassles installing WCF & with xws_reg

Did you installed virtual directory as stand for IIS , just a hint.
To check if you need to reinstall WCF try first selfhost example which use
service and client as console apps.
Arkady

<garth@silverminute.com> wrote in message
news:1159117850.164915.29190@m73g2000cwd.googlegroups.com...
> Hi,
> I've downloaded the dotnet 3 installs and have installed them. I also
> have installed the Visual Studio addons.
> The WPF demos run fine.
> I'm having hassles with WCF.
> I've downloaded the "Getting Started" sample. I've configured IIS to
> point to the folder that the sample is sitting in. When I browse the
> "service.svc" file with my browser I get the following
> <%@ServiceHost language=c# Debug="true"
> Service="Microsoft.ServiceModel.Samples.CalculatorService" %>
>
> It seems that asp.net does not recognise WCF
> (http://www.devx.com/dotnet/Article/29706/1954?pf=true). From the link
> just mentioned I'm recommended to run xws_reg.exe to reinstall WCF.
>
> But I cant find xws_reg.exe anywhere on my machine. I've looked in the
> "%windir%\microsoft.net\framework\v2.0.50727" folder but it's not
> there. I've done a search on the entire machine but it's not there. I
> saw a posting that said it's been renamed to something like
> "wsatconfig.exe" but that's missing as well.
>
> Please Help
> Thanks
>



My System SpecsSystem Spec
Old 09-25-2006   #3 (permalink)
GR
Guest


 

Re: Hassles installing WCF & with xws_reg

Arkady,
I unzipped the sample files and went to IIS and got it to point to the
root folder where the web service should sit. It still did not work.

I have not tried the selfhost example but from reading other postings
it seems that the problem is more with ASP.Net not recognizing the
".svc" file. Than a WCF problem. I ran a WPF sample and it worked so
it seems that dotnet3 has installed ok. And I dont get any build
errors.

Arkady Frenkel wrote:
> Did you installed virtual directory as stand for IIS , just a hint.
> To check if you need to reinstall WCF try first selfhost example which use
> service and client as console apps.
> Arkady
>
> <garth@silverminute.com> wrote in message
> news:1159117850.164915.29190@m73g2000cwd.googlegroups.com...
> > Hi,
> > I've downloaded the dotnet 3 installs and have installed them. I also
> > have installed the Visual Studio addons.
> > The WPF demos run fine.
> > I'm having hassles with WCF.
> > I've downloaded the "Getting Started" sample. I've configured IIS to
> > point to the folder that the sample is sitting in. When I browse the
> > "service.svc" file with my browser I get the following
> > <%@ServiceHost language=c# Debug="true"
> > Service="Microsoft.ServiceModel.Samples.CalculatorService" %>
> >
> > It seems that asp.net does not recognise WCF
> > (http://www.devx.com/dotnet/Article/29706/1954?pf=true). From the link
> > just mentioned I'm recommended to run xws_reg.exe to reinstall WCF.
> >
> > But I cant find xws_reg.exe anywhere on my machine. I've looked in the
> > "%windir%\microsoft.net\framework\v2.0.50727" folder but it's not
> > there. I've done a search on the entire machine but it's not there. I
> > saw a posting that said it's been renamed to something like
> > "wsatconfig.exe" but that's missing as well.
> >
> > Please Help
> > Thanks
> >


My System SpecsSystem Spec
Old 09-25-2006   #4 (permalink)
Arkady Frenkel
Guest


 

Re: Hassles installing WCF & with xws_reg

Did you set all as
http://windowssdk.msdn.microsoft.com.../ms751432.aspx stand ?
just a hint
Arkady


"GR" <garth@silverminute.com> wrote in message
news:1159178910.516502.223120@b28g2000cwb.googlegroups.com...
> Arkady,
> I unzipped the sample files and went to IIS and got it to point to the
> root folder where the web service should sit. It still did not work.
>
> I have not tried the selfhost example but from reading other postings
> it seems that the problem is more with ASP.Net not recognizing the
> ".svc" file. Than a WCF problem. I ran a WPF sample and it worked so
> it seems that dotnet3 has installed ok. And I dont get any build
> errors.
>
> Arkady Frenkel wrote:
>> Did you installed virtual directory as stand for IIS , just a hint.
>> To check if you need to reinstall WCF try first selfhost example which
>> use
>> service and client as console apps.
>> Arkady
>>
>> <garth@silverminute.com> wrote in message
>> news:1159117850.164915.29190@m73g2000cwd.googlegroups.com...
>> > Hi,
>> > I've downloaded the dotnet 3 installs and have installed them. I also
>> > have installed the Visual Studio addons.
>> > The WPF demos run fine.
>> > I'm having hassles with WCF.
>> > I've downloaded the "Getting Started" sample. I've configured IIS to
>> > point to the folder that the sample is sitting in. When I browse the
>> > "service.svc" file with my browser I get the following
>> > <%@ServiceHost language=c# Debug="true"
>> > Service="Microsoft.ServiceModel.Samples.CalculatorService" %>
>> >
>> > It seems that asp.net does not recognise WCF
>> > (http://www.devx.com/dotnet/Article/29706/1954?pf=true). From the link
>> > just mentioned I'm recommended to run xws_reg.exe to reinstall WCF.
>> >
>> > But I cant find xws_reg.exe anywhere on my machine. I've looked in the
>> > "%windir%\microsoft.net\framework\v2.0.50727" folder but it's not
>> > there. I've done a search on the entire machine but it's not there. I
>> > saw a posting that said it's been renamed to something like
>> > "wsatconfig.exe" but that's missing as well.
>> >
>> > Please Help
>> > Thanks
>> >

>



My System SpecsSystem Spec
Old 09-25-2006   #5 (permalink)
GR
Guest


 

Re: Hassles installing WCF & with xws_reg

Yes, I followed the steps at
(http://windowssdk.msdn.microsoft.com.../ms751432.aspx)
I have the sample in the following folder:
"c:\references\WFC\service"
I created a new Virtual Directory that points to
"c:\references\WFC\service".

Another attempt was to create an asmx webservice and then to put a
".svc" file nex to the ".asmx" file that pointed to a new class that I
created "Class1.cs" in the "App_Code" folder. Basically mirroring the
structure of asmx but using WCF code examples.

This also simply displayed the text of the ".svc"file in the browser
when I browsed to it.

It seems like asp.net is not routing the ".svc" file to wcf. Just had
an idea....
I'll do the following:
- Open IIS
- Goto Virtual Directory folder's properties
- Goto ASP.Net tab
- Look at the ASP.Net version drop down box and see if dotnet 3 is
listed. I"ve had similar issues before when going from .net 1.1 to .net
2.

Will try this later when I get home.

Arkady Frenkel wrote:
> Did you set all as
> http://windowssdk.msdn.microsoft.com.../ms751432.aspx stand ?
> just a hint
> Arkady
>
>
> "GR" <garth@silverminute.com> wrote in message
> news:1159178910.516502.223120@b28g2000cwb.googlegroups.com...
> > Arkady,
> > I unzipped the sample files and went to IIS and got it to point to the
> > root folder where the web service should sit. It still did not work.
> >
> > I have not tried the selfhost example but from reading other postings
> > it seems that the problem is more with ASP.Net not recognizing the
> > ".svc" file. Than a WCF problem. I ran a WPF sample and it worked so
> > it seems that dotnet3 has installed ok. And I dont get any build
> > errors.
> >
> > Arkady Frenkel wrote:
> >> Did you installed virtual directory as stand for IIS , just a hint.
> >> To check if you need to reinstall WCF try first selfhost example which
> >> use
> >> service and client as console apps.
> >> Arkady
> >>
> >> <garth@silverminute.com> wrote in message
> >> news:1159117850.164915.29190@m73g2000cwd.googlegroups.com...
> >> > Hi,
> >> > I've downloaded the dotnet 3 installs and have installed them. I also
> >> > have installed the Visual Studio addons.
> >> > The WPF demos run fine.
> >> > I'm having hassles with WCF.
> >> > I've downloaded the "Getting Started" sample. I've configured IIS to
> >> > point to the folder that the sample is sitting in. When I browse the
> >> > "service.svc" file with my browser I get the following
> >> > <%@ServiceHost language=c# Debug="true"
> >> > Service="Microsoft.ServiceModel.Samples.CalculatorService" %>
> >> >
> >> > It seems that asp.net does not recognise WCF
> >> > (http://www.devx.com/dotnet/Article/29706/1954?pf=true). From the link
> >> > just mentioned I'm recommended to run xws_reg.exe to reinstall WCF.
> >> >
> >> > But I cant find xws_reg.exe anywhere on my machine. I've looked in the
> >> > "%windir%\microsoft.net\framework\v2.0.50727" folder but it's not
> >> > there. I've done a search on the entire machine but it's not there. I
> >> > saw a posting that said it's been renamed to something like
> >> > "wsatconfig.exe" but that's missing as well.
> >> >
> >> > Please Help
> >> > Thanks
> >> >

> >


My System SpecsSystem Spec
Old 09-25-2006   #6 (permalink)
Arkady Frenkel
Guest


 

Re: Hassles installing WCF & with xws_reg

Additionally check that IIS service is running
Arkady

"GR" <garth@silverminute.com> wrote in message
news:1159183547.840506.200830@d34g2000cwd.googlegroups.com...
> Yes, I followed the steps at
> (http://windowssdk.msdn.microsoft.com.../ms751432.aspx)
> I have the sample in the following folder:
> "c:\references\WFC\service"
> I created a new Virtual Directory that points to
> "c:\references\WFC\service".
>
> Another attempt was to create an asmx webservice and then to put a
> ".svc" file nex to the ".asmx" file that pointed to a new class that I
> created "Class1.cs" in the "App_Code" folder. Basically mirroring the
> structure of asmx but using WCF code examples.
>
> This also simply displayed the text of the ".svc"file in the browser
> when I browsed to it.
>
> It seems like asp.net is not routing the ".svc" file to wcf. Just had
> an idea....
> I'll do the following:
> - Open IIS
> - Goto Virtual Directory folder's properties
> - Goto ASP.Net tab
> - Look at the ASP.Net version drop down box and see if dotnet 3 is
> listed. I"ve had similar issues before when going from .net 1.1 to .net
> 2.
>
> Will try this later when I get home.
>
> Arkady Frenkel wrote:
>> Did you set all as
>> http://windowssdk.msdn.microsoft.com.../ms751432.aspx stand ?
>> just a hint
>> Arkady
>>
>>
>> "GR" <garth@silverminute.com> wrote in message
>> news:1159178910.516502.223120@b28g2000cwb.googlegroups.com...
>> > Arkady,
>> > I unzipped the sample files and went to IIS and got it to point to the
>> > root folder where the web service should sit. It still did not work.
>> >
>> > I have not tried the selfhost example but from reading other postings
>> > it seems that the problem is more with ASP.Net not recognizing the
>> > ".svc" file. Than a WCF problem. I ran a WPF sample and it worked so
>> > it seems that dotnet3 has installed ok. And I dont get any build
>> > errors.
>> >
>> > Arkady Frenkel wrote:
>> >> Did you installed virtual directory as stand for IIS , just a hint.
>> >> To check if you need to reinstall WCF try first selfhost example which
>> >> use
>> >> service and client as console apps.
>> >> Arkady
>> >>
>> >> <garth@silverminute.com> wrote in message
>> >> news:1159117850.164915.29190@m73g2000cwd.googlegroups.com...
>> >> > Hi,
>> >> > I've downloaded the dotnet 3 installs and have installed them. I
>> >> > also
>> >> > have installed the Visual Studio addons.
>> >> > The WPF demos run fine.
>> >> > I'm having hassles with WCF.
>> >> > I've downloaded the "Getting Started" sample. I've configured IIS to
>> >> > point to the folder that the sample is sitting in. When I browse the
>> >> > "service.svc" file with my browser I get the following
>> >> > <%@ServiceHost language=c# Debug="true"
>> >> > Service="Microsoft.ServiceModel.Samples.CalculatorService" %>
>> >> >
>> >> > It seems that asp.net does not recognise WCF
>> >> > (http://www.devx.com/dotnet/Article/29706/1954?pf=true). From the
>> >> > link
>> >> > just mentioned I'm recommended to run xws_reg.exe to reinstall WCF.
>> >> >
>> >> > But I cant find xws_reg.exe anywhere on my machine. I've looked in
>> >> > the
>> >> > "%windir%\microsoft.net\framework\v2.0.50727" folder but it's not
>> >> > there. I've done a search on the entire machine but it's not there.
>> >> > I
>> >> > saw a posting that said it's been renamed to something like
>> >> > "wsatconfig.exe" but that's missing as well.
>> >> >
>> >> > Please Help
>> >> > Thanks
>> >> >
>> >

>



My System SpecsSystem Spec
Old 09-25-2006   #7 (permalink)
GR
Guest


 

Re: Hassles installing WCF & with xws_reg

Nope. Still not working. I checked under the ASP.Net tab on the site
properties and there's only .net 1 & 2 listed.

And IIS service is definately running I can brows ".asmx" files.

Any ideas?

Arkady Frenkel wrote:
> Additionally check that IIS service is running
> Arkady
>
> "GR" <garth@silverminute.com> wrote in message
> news:1159183547.840506.200830@d34g2000cwd.googlegroups.com...
> > Yes, I followed the steps at
> > (http://windowssdk.msdn.microsoft.com.../ms751432.aspx)
> > I have the sample in the following folder:
> > "c:\references\WFC\service"
> > I created a new Virtual Directory that points to
> > "c:\references\WFC\service".
> >
> > Another attempt was to create an asmx webservice and then to put a
> > ".svc" file nex to the ".asmx" file that pointed to a new class that I
> > created "Class1.cs" in the "App_Code" folder. Basically mirroring the
> > structure of asmx but using WCF code examples.
> >
> > This also simply displayed the text of the ".svc"file in the browser
> > when I browsed to it.
> >
> > It seems like asp.net is not routing the ".svc" file to wcf. Just had
> > an idea....
> > I'll do the following:
> > - Open IIS
> > - Goto Virtual Directory folder's properties
> > - Goto ASP.Net tab
> > - Look at the ASP.Net version drop down box and see if dotnet 3 is
> > listed. I"ve had similar issues before when going from .net 1.1 to .net
> > 2.
> >
> > Will try this later when I get home.
> >
> > Arkady Frenkel wrote:
> >> Did you set all as
> >> http://windowssdk.msdn.microsoft.com.../ms751432.aspx stand ?
> >> just a hint
> >> Arkady
> >>
> >>
> >> "GR" <garth@silverminute.com> wrote in message
> >> news:1159178910.516502.223120@b28g2000cwb.googlegroups.com...
> >> > Arkady,
> >> > I unzipped the sample files and went to IIS and got it to point to the
> >> > root folder where the web service should sit. It still did not work.
> >> >
> >> > I have not tried the selfhost example but from reading other postings
> >> > it seems that the problem is more with ASP.Net not recognizing the
> >> > ".svc" file. Than a WCF problem. I ran a WPF sample and it worked so
> >> > it seems that dotnet3 has installed ok. And I dont get any build
> >> > errors.
> >> >
> >> > Arkady Frenkel wrote:
> >> >> Did you installed virtual directory as stand for IIS , just a hint.
> >> >> To check if you need to reinstall WCF try first selfhost example which
> >> >> use
> >> >> service and client as console apps.
> >> >> Arkady
> >> >>
> >> >> <garth@silverminute.com> wrote in message
> >> >> news:1159117850.164915.29190@m73g2000cwd.googlegroups.com...
> >> >> > Hi,
> >> >> > I've downloaded the dotnet 3 installs and have installed them. I
> >> >> > also
> >> >> > have installed the Visual Studio addons.
> >> >> > The WPF demos run fine.
> >> >> > I'm having hassles with WCF.
> >> >> > I've downloaded the "Getting Started" sample. I've configured IIS to
> >> >> > point to the folder that the sample is sitting in. When I browse the
> >> >> > "service.svc" file with my browser I get the following
> >> >> > <%@ServiceHost language=c# Debug="true"
> >> >> > Service="Microsoft.ServiceModel.Samples.CalculatorService" %>
> >> >> >
> >> >> > It seems that asp.net does not recognise WCF
> >> >> > (http://www.devx.com/dotnet/Article/29706/1954?pf=true). From the
> >> >> > link
> >> >> > just mentioned I'm recommended to run xws_reg.exe to reinstall WCF.
> >> >> >
> >> >> > But I cant find xws_reg.exe anywhere on my machine. I've looked in
> >> >> > the
> >> >> > "%windir%\microsoft.net\framework\v2.0.50727" folder but it's not
> >> >> > there. I've done a search on the entire machine but it's not there.
> >> >> > I
> >> >> > saw a posting that said it's been renamed to something like
> >> >> > "wsatconfig.exe" but that's missing as well.
> >> >> >
> >> >> > Please Help
> >> >> > Thanks
> >> >> >
> >> >

> >


My System SpecsSystem Spec
Old 09-25-2006   #8 (permalink)
Arkady Frenkel
Guest


 

Re: Hassles installing WCF & with xws_reg

I have 1.1 and 2.0 ( chosen ) in the list and that work for me without
problems , try selfhost beforee reinstall
Arkady

"GR" <garth@silverminute.com> wrote in message
news:1159192339.473730.267780@b28g2000cwb.googlegroups.com...
> Nope. Still not working. I checked under the ASP.Net tab on the site
> properties and there's only .net 1 & 2 listed.
>
> And IIS service is definately running I can brows ".asmx" files.
>
> Any ideas?
>
> Arkady Frenkel wrote:
>> Additionally check that IIS service is running
>> Arkady
>>
>> "GR" <garth@silverminute.com> wrote in message
>> news:1159183547.840506.200830@d34g2000cwd.googlegroups.com...
>> > Yes, I followed the steps at
>> > (http://windowssdk.msdn.microsoft.com.../ms751432.aspx)
>> > I have the sample in the following folder:
>> > "c:\references\WFC\service"
>> > I created a new Virtual Directory that points to
>> > "c:\references\WFC\service".
>> >
>> > Another attempt was to create an asmx webservice and then to put a
>> > ".svc" file nex to the ".asmx" file that pointed to a new class that I
>> > created "Class1.cs" in the "App_Code" folder. Basically mirroring the
>> > structure of asmx but using WCF code examples.
>> >
>> > This also simply displayed the text of the ".svc"file in the browser
>> > when I browsed to it.
>> >
>> > It seems like asp.net is not routing the ".svc" file to wcf. Just had
>> > an idea....
>> > I'll do the following:
>> > - Open IIS
>> > - Goto Virtual Directory folder's properties
>> > - Goto ASP.Net tab
>> > - Look at the ASP.Net version drop down box and see if dotnet 3 is
>> > listed. I"ve had similar issues before when going from .net 1.1 to .net
>> > 2.
>> >
>> > Will try this later when I get home.
>> >
>> > Arkady Frenkel wrote:
>> >> Did you set all as
>> >> http://windowssdk.msdn.microsoft.com.../ms751432.aspx stand
>> >> ?
>> >> just a hint
>> >> Arkady
>> >>
>> >>
>> >> "GR" <garth@silverminute.com> wrote in message
>> >> news:1159178910.516502.223120@b28g2000cwb.googlegroups.com...
>> >> > Arkady,
>> >> > I unzipped the sample files and went to IIS and got it to point to
>> >> > the
>> >> > root folder where the web service should sit. It still did not work.
>> >> >
>> >> > I have not tried the selfhost example but from reading other
>> >> > postings
>> >> > it seems that the problem is more with ASP.Net not recognizing the
>> >> > ".svc" file. Than a WCF problem. I ran a WPF sample and it worked
>> >> > so
>> >> > it seems that dotnet3 has installed ok. And I dont get any build
>> >> > errors.
>> >> >
>> >> > Arkady Frenkel wrote:
>> >> >> Did you installed virtual directory as stand for IIS , just a hint.
>> >> >> To check if you need to reinstall WCF try first selfhost example
>> >> >> which
>> >> >> use
>> >> >> service and client as console apps.
>> >> >> Arkady
>> >> >>
>> >> >> <garth@silverminute.com> wrote in message
>> >> >> news:1159117850.164915.29190@m73g2000cwd.googlegroups.com...
>> >> >> > Hi,
>> >> >> > I've downloaded the dotnet 3 installs and have installed them. I
>> >> >> > also
>> >> >> > have installed the Visual Studio addons.
>> >> >> > The WPF demos run fine.
>> >> >> > I'm having hassles with WCF.
>> >> >> > I've downloaded the "Getting Started" sample. I've configured IIS
>> >> >> > to
>> >> >> > point to the folder that the sample is sitting in. When I browse
>> >> >> > the
>> >> >> > "service.svc" file with my browser I get the following
>> >> >> > <%@ServiceHost language=c# Debug="true"
>> >> >> > Service="Microsoft.ServiceModel.Samples.CalculatorService" %>
>> >> >> >
>> >> >> > It seems that asp.net does not recognise WCF
>> >> >> > (http://www.devx.com/dotnet/Article/29706/1954?pf=true). From
>> >> >> > the
>> >> >> > link
>> >> >> > just mentioned I'm recommended to run xws_reg.exe to reinstall
>> >> >> > WCF.
>> >> >> >
>> >> >> > But I cant find xws_reg.exe anywhere on my machine. I've looked
>> >> >> > in
>> >> >> > the
>> >> >> > "%windir%\microsoft.net\framework\v2.0.50727" folder but it's not
>> >> >> > there. I've done a search on the entire machine but it's not
>> >> >> > there.
>> >> >> > I
>> >> >> > saw a posting that said it's been renamed to something like
>> >> >> > "wsatconfig.exe" but that's missing as well.
>> >> >> >
>> >> >> > Please Help
>> >> >> > Thanks
>> >> >> >
>> >> >
>> >

>



My System SpecsSystem Spec
Old 09-25-2006   #9 (permalink)
GR
Guest


 

Re: Hassles installing WCF & with xws_reg

Arkady,
I appreciate your patience.
Ok I did the following:
- downloaded the selfhost example
- compiled and ran it
- when the client calls the host I get the following error

Could not connect to http://localhost:8000/servicemodelsamples/service.
TCP error code 10061: No connection could be made because the target
machine actively refused it.

I looked in the help about the firewall settings and tried all 3
options but no luck.

Thanks
Garth

Arkady Frenkel wrote:
> I have 1.1 and 2.0 ( chosen ) in the list and that work for me without
> problems , try selfhost beforee reinstall
> Arkady
>
> "GR" <garth@silverminute.com> wrote in message
> news:1159192339.473730.267780@b28g2000cwb.googlegroups.com...
> > Nope. Still not working. I checked under the ASP.Net tab on the site
> > properties and there's only .net 1 & 2 listed.
> >
> > And IIS service is definately running I can brows ".asmx" files.
> >
> > Any ideas?
> >
> > Arkady Frenkel wrote:
> >> Additionally check that IIS service is running
> >> Arkady
> >>
> >> "GR" <garth@silverminute.com> wrote in message
> >> news:1159183547.840506.200830@d34g2000cwd.googlegroups.com...
> >> > Yes, I followed the steps at
> >> > (http://windowssdk.msdn.microsoft.com.../ms751432.aspx)
> >> > I have the sample in the following folder:
> >> > "c:\references\WFC\service"
> >> > I created a new Virtual Directory that points to
> >> > "c:\references\WFC\service".
> >> >
> >> > Another attempt was to create an asmx webservice and then to put a
> >> > ".svc" file nex to the ".asmx" file that pointed to a new class that I
> >> > created "Class1.cs" in the "App_Code" folder. Basically mirroring the
> >> > structure of asmx but using WCF code examples.
> >> >
> >> > This also simply displayed the text of the ".svc"file in the browser
> >> > when I browsed to it.
> >> >
> >> > It seems like asp.net is not routing the ".svc" file to wcf. Just had
> >> > an idea....
> >> > I'll do the following:
> >> > - Open IIS
> >> > - Goto Virtual Directory folder's properties
> >> > - Goto ASP.Net tab
> >> > - Look at the ASP.Net version drop down box and see if dotnet 3 is
> >> > listed. I"ve had similar issues before when going from .net 1.1 to .net
> >> > 2.
> >> >
> >> > Will try this later when I get home.
> >> >
> >> > Arkady Frenkel wrote:
> >> >> Did you set all as
> >> >> http://windowssdk.msdn.microsoft.com.../ms751432.aspx stand
> >> >> ?
> >> >> just a hint
> >> >> Arkady
> >> >>
> >> >>
> >> >> "GR" <garth@silverminute.com> wrote in message
> >> >> news:1159178910.516502.223120@b28g2000cwb.googlegroups.com...
> >> >> > Arkady,
> >> >> > I unzipped the sample files and went to IIS and got it to point to
> >> >> > the
> >> >> > root folder where the web service should sit. It still did not work.
> >> >> >
> >> >> > I have not tried the selfhost example but from reading other
> >> >> > postings
> >> >> > it seems that the problem is more with ASP.Net not recognizing the
> >> >> > ".svc" file. Than a WCF problem. I ran a WPF sample and it worked
> >> >> > so
> >> >> > it seems that dotnet3 has installed ok. And I dont get any build
> >> >> > errors.
> >> >> >
> >> >> > Arkady Frenkel wrote:
> >> >> >> Did you installed virtual directory as stand for IIS , just a hint.
> >> >> >> To check if you need to reinstall WCF try first selfhost example
> >> >> >> which
> >> >> >> use
> >> >> >> service and client as console apps.
> >> >> >> Arkady
> >> >> >>
> >> >> >> <garth@silverminute.com> wrote in message
> >> >> >> news:1159117850.164915.29190@m73g2000cwd.googlegroups.com...
> >> >> >> > Hi,
> >> >> >> > I've downloaded the dotnet 3 installs and have installed them. I
> >> >> >> > also
> >> >> >> > have installed the Visual Studio addons.
> >> >> >> > The WPF demos run fine.
> >> >> >> > I'm having hassles with WCF.
> >> >> >> > I've downloaded the "Getting Started" sample. I've configured IIS
> >> >> >> > to
> >> >> >> > point to the folder that the sample is sitting in. When I browse
> >> >> >> > the
> >> >> >> > "service.svc" file with my browser I get the following
> >> >> >> > <%@ServiceHost language=c# Debug="true"
> >> >> >> > Service="Microsoft.ServiceModel.Samples.CalculatorService" %>
> >> >> >> >
> >> >> >> > It seems that asp.net does not recognise WCF
> >> >> >> > (http://www.devx.com/dotnet/Article/29706/1954?pf=true). From
> >> >> >> > the
> >> >> >> > link
> >> >> >> > just mentioned I'm recommended to run xws_reg.exe to reinstall
> >> >> >> > WCF.
> >> >> >> >
> >> >> >> > But I cant find xws_reg.exe anywhere on my machine. I've looked
> >> >> >> > in
> >> >> >> > the
> >> >> >> > "%windir%\microsoft.net\framework\v2.0.50727" folder but it's not
> >> >> >> > there. I've done a search on the entire machine but it's not
> >> >> >> > there.
> >> >> >> > I
> >> >> >> > saw a posting that said it's been renamed to something like
> >> >> >> > "wsatconfig.exe" but that's missing as well.
> >> >> >> >
> >> >> >> > Please Help
> >> >> >> > Thanks
> >> >> >> >
> >> >> >
> >> >

> >


My System SpecsSystem Spec
Old 09-25-2006   #10 (permalink)
GR
Guest


 

Re: Hassles installing WCF & with xws_reg

When I run the GettingStarted application I get the following.
"The remote server returned an unexpected response: (405) Method not
allowed."

When I run the SelfHost sample application I get the following (Note:
I've tried the firewall options to resolve the error but they did not
work):
"Could not connect to
http://localhost:8000/servicemodelsamples/service.
TCP error code 10061: No connection could be made because the target
machine actively refused it."

This happens when the client program calls the server in client.cs on
line 22
"double result = client.Add(value1, value2);"



GR wrote:
> Arkady,
> I appreciate your patience.
> Ok I did the following:
> - downloaded the selfhost example
> - compiled and ran it
> - when the client calls the host I get the following error
>
> Could not connect to http://localhost:8000/servicemodelsamples/service.
> TCP error code 10061: No connection could be made because the target
> machine actively refused it.
>
> I looked in the help about the firewall settings and tried all 3
> options but no luck.
>
> Thanks
> Garth
>
> Arkady Frenkel wrote:
> > I have 1.1 and 2.0 ( chosen ) in the list and that work for me without
> > problems , try selfhost beforee reinstall
> > Arkady
> >
> > "GR" <garth@silverminute.com> wrote in message
> > news:1159192339.473730.267780@b28g2000cwb.googlegroups.com...
> > > Nope. Still not working. I checked under the ASP.Net tab on the site
> > > properties and there's only .net 1 & 2 listed.
> > >
> > > And IIS service is definately running I can brows ".asmx" files.
> > >
> > > Any ideas?
> > >
> > > Arkady Frenkel wrote:
> > >> Additionally check that IIS service is running
> > >> Arkady
> > >>
> > >> "GR" <garth@silverminute.com> wrote in message
> > >> news:1159183547.840506.200830@d34g2000cwd.googlegroups.com...
> > >> > Yes, I followed the steps at
> > >> > (http://windowssdk.msdn.microsoft.com.../ms751432.aspx)
> > >> > I have the sample in the following folder:
> > >> > "c:\references\WFC\service"
> > >> > I created a new Virtual Directory that points to
> > >> > "c:\references\WFC\service".
> > >> >
> > >> > Another attempt was to create an asmx webservice and then to put a
> > >> > ".svc" file nex to the ".asmx" file that pointed to a new class that I
> > >> > created "Class1.cs" in the "App_Code" folder. Basically mirroring the
> > >> > structure of asmx but using WCF code examples.
> > >> >
> > >> > This also simply displayed the text of the ".svc"file in the browser
> > >> > when I browsed to it.
> > >> >
> > >> > It seems like asp.net is not routing the ".svc" file to wcf. Just had
> > >> > an idea....
> > >> > I'll do the following:
> > >> > - Open IIS
> > >> > - Goto Virtual Directory folder's properties
> > >> > - Goto ASP.Net tab
> > >> > - Look at the ASP.Net version drop down box and see if dotnet 3 is
> > >> > listed. I"ve had similar issues before when going from .net 1.1 to .net
> > >> > 2.
> > >> >
> > >> > Will try this later when I get home.
> > >> >
> > >> > Arkady Frenkel wrote:
> > >> >> Did you set all as
> > >> >> http://windowssdk.msdn.microsoft.com.../ms751432.aspx stand
> > >> >> ?
> > >> >> just a hint
> > >> >> Arkady
> > >> >>
> > >> >>
> > >> >> "GR" <garth@silverminute.com> wrote in message
> > >> >> news:1159178910.516502.223120@b28g2000cwb.googlegroups.com...
> > >> >> > Arkady,
> > >> >> > I unzipped the sample files and went to IIS and got it to point to
> > >> >> > the
> > >> >> > root folder where the web service should sit. It still did not work.
> > >> >> >
> > >> >> > I have not tried the selfhost example but from reading other
> > >> >> > postings
> > >> >> > it seems that the problem is more with ASP.Net not recognizing the
> > >> >> > ".svc" file. Than a WCF problem. I ran a WPF sample and it worked
> > >> >> > so
> > >> >> > it seems that dotnet3 has installed ok. And I dont get any build
> > >> >> > errors.
> > >> >> >
> > >> >> > Arkady Frenkel wrote:
> > >> >> >> Did you installed virtual directory as stand for IIS , just a hint.
> > >> >> >> To check if you need to reinstall WCF try first selfhost example
> > >> >> >> which
> > >> >> >> use
> > >> >> >> service and client as console apps.
> > >> >> >> Arkady
> > >> >> >>
> > >> >> >> <garth@silverminute.com> wrote in message
> > >> >> >> news:1159117850.164915.29190@m73g2000cwd.googlegroups.com...
> > >> >> >> > Hi,
> > >> >> >> > I've downloaded the dotnet 3 installs and have installed them. I
> > >> >> >> > also
> > >> >> >> > have installed the Visual Studio addons.
> > >> >> >> > The WPF demos run fine.
> > >> >> >> > I'm having hassles with WCF.
> > >> >> >> > I've downloaded the "Getting Started" sample. I've configured IIS
> > >> >> >> > to
> > >> >> >> > point to the folder that the sample is sitting in. When I browse
> > >> >> >> > the
> > >> >> >> > "service.svc" file with my browser I get the following
> > >> >> >> > <%@ServiceHost language=c# Debug="true"
> > >> >> >> > Service="Microsoft.ServiceModel.Samples.CalculatorService" %>
> > >> >> >> >
> > >> >> >> > It seems that asp.net does not recognise WCF
> > >> >> >> > (http://www.devx.com/dotnet/Article/29706/1954?pf=true). From
> > >> >> >> > the
> > >> >> >> > link
> > >> >> >> > just mentioned I'm recommended to run xws_reg.exe to reinstall
> > >> >> >> > WCF.
> > >> >> >> >
> > >> >> >> > But I cant find xws_reg.exe anywhere on my machine. I've looked
> > >> >> >> > in
> > >> >> >> > the
> > >> >> >> > "%windir%\microsoft.net\framework\v2.0.50727" folder but it's not
> > >> >> >> > there. I've done a search on the entire machine but it's not
> > >> >> >> > there.
> > >> >> >> > I
> > >> >> >> > saw a posting that said it's been renamed to something like
> > >> >> >> > "wsatconfig.exe" but that's missing as well.
> > >> >> >> >
> > >> >> >> > Please Help
> > >> >> >> > Thanks
> > >> >> >> >
> > >> >> >
> > >> >
> > >


My System SpecsSystem Spec
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing IE5 and IE6 lstearns Network & Internet 1 04-21-2007 01:59 PM
installing windows xp after installing vista Abubakar Vista installation & setup 3 03-16-2007 05:46 AM
Installing RC1 =?Utf-8?B?UmljaGFyZA==?= Vista General 2 09-26-2006 05:31 AM
Installing RC1 =?Utf-8?B?UmljaGFyZA==?= Vista General 0 09-26-2006 12:18 AM
Installing Pre-RC1 without PID? =?Utf-8?B?SkNHZW9HdXk=?= Vista installation & setup 2 08-29-2006 11:03 PM


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008