Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Running WCF in Developer Server(Cassini)

 
 
Old 04-17-2007   #1 (permalink)
Shimon Sim


 
 

Running WCF in Developer Server(Cassini)

I keep getting following error when I am trying open or call a method in WCF
service that is hosted in cassini
"HTTP could not register URL
http://+:80/Temporary_Listen_Address...-0e2bbb93e5e1/
because TCP port 80 is being used by another application."

Why does it use port 80 when service is configured for port 4000?

My System SpecsSystem Spec
Old 04-20-2007   #2 (permalink)
Dwight@QuickLearn


 
 

RE: Running WCF in Developer Server(Cassini)


Please explain some more about your scenario...

How many en dpoints and what is your configuration?
Do you have Any code implemented endpoints?





"Shimon Sim" wrote:

> I keep getting following error when I am trying open or call a method in WCF
> service that is hosted in cassini
> "HTTP could not register URL
> http://+:80/Temporary_Listen_Address...-0e2bbb93e5e1/
> because TCP port 80 is being used by another application."
>
> Why does it use port 80 when service is configured for port 4000?

My System SpecsSystem Spec
Old 04-20-2007   #3 (permalink)
Shimon Sim


 
 

RE: Running WCF in Developer Server(Cassini)

I got it working with basicHttpBinding. But the configuration was as follows.
All the code has correct implementation.
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="ReportService.ServiceImplementation.AgentLogin_Behavior">
<serviceDebug includeExceptionDetailInFaults="false" />
<serviceMetadata httpGetEnabled="true" />

</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service
behaviorConfiguration="ReportService.ServiceImplementation.AgentLogin_Behavior"
name="ReportService.ServiceImplementation.AgentLogin">
<endpoint binding="wsDualHttpBinding"
bindingNamespace="http://ReportService.ServiceContracts/2007/04"
contract="ReportService.ServiceContracts.IAgentLogin" />
</service>
</services>
</system.serviceModel>


"Dwight@QuickLearn" wrote:

>
> Please explain some more about your scenario...
>
> How many en dpoints and what is your configuration?
> Do you have Any code implemented endpoints?
>
>
>
>
>
> "Shimon Sim" wrote:
>
> > I keep getting following error when I am trying open or call a method in WCF
> > service that is hosted in cassini
> > "HTTP could not register URL
> > http://+:80/Temporary_Listen_Address...-0e2bbb93e5e1/
> > because TCP port 80 is being used by another application."
> >
> > Why does it use port 80 when service is configured for port 4000?

My System SpecsSystem Spec
Old 04-23-2007   #4 (permalink)
Arkady Frenkel


 
 

Re: Running WCF in Developer Server(Cassini)

You have no "address", but "binding" only in endpoint attribs
Arkady

"Shimon Sim" <ShimonSim@discussions.microsoft.com> wrote in message
news:30E05BC8-366D-4141-9EDA-897BCEE59E38@microsoft.com...
>I got it working with basicHttpBinding. But the configuration was as
>follows.
> All the code has correct implementation.
> <system.serviceModel>
> <behaviors>
> <serviceBehaviors>
> <behavior name="ReportService.ServiceImplementation.AgentLogin_Behavior">
> <serviceDebug includeExceptionDetailInFaults="false" />
> <serviceMetadata httpGetEnabled="true" />
>
> </behavior>
> </serviceBehaviors>
> </behaviors>
> <services>
> <service
> behaviorConfiguration="ReportService.ServiceImplementation.AgentLogin_Behavior"
> name="ReportService.ServiceImplementation.AgentLogin">
> <endpoint binding="wsDualHttpBinding"
> bindingNamespace="http://ReportService.ServiceContracts/2007/04"
> contract="ReportService.ServiceContracts.IAgentLogin" />
> </service>
> </services>
> </system.serviceModel>
>
>
> "Dwight@QuickLearn" wrote:
>
>>
>> Please explain some more about your scenario...
>>
>> How many en dpoints and what is your configuration?
>> Do you have Any code implemented endpoints?
>>
>>
>>
>>
>>
>> "Shimon Sim" wrote:
>>
>> > I keep getting following error when I am trying open or call a method
>> > in WCF
>> > service that is hosted in cassini
>> > "HTTP could not register URL
>> > http://+:80/Temporary_Listen_Address...-0e2bbb93e5e1/
>> > because TCP port 80 is being used by another application."
>> >
>> > Why does it use port 80 when service is configured for port 4000?



My System SpecsSystem Spec
Old 04-23-2007   #5 (permalink)
Shimon Sim


 
 

Re: Running WCF in Developer Server(Cassini)

I think that page address is the address of the service and there is no need
to spcify the address in config. Am I wrong?

"Arkady Frenkel" wrote:

> You have no "address", but "binding" only in endpoint attribs
> Arkady
>
> "Shimon Sim" <ShimonSim@discussions.microsoft.com> wrote in message
> news:30E05BC8-366D-4141-9EDA-897BCEE59E38@microsoft.com...
> >I got it working with basicHttpBinding. But the configuration was as
> >follows.
> > All the code has correct implementation.
> > <system.serviceModel>
> > <behaviors>
> > <serviceBehaviors>
> > <behavior name="ReportService.ServiceImplementation.AgentLogin_Behavior">
> > <serviceDebug includeExceptionDetailInFaults="false" />
> > <serviceMetadata httpGetEnabled="true" />
> >
> > </behavior>
> > </serviceBehaviors>
> > </behaviors>
> > <services>
> > <service
> > behaviorConfiguration="ReportService.ServiceImplementation.AgentLogin_Behavior"
> > name="ReportService.ServiceImplementation.AgentLogin">
> > <endpoint binding="wsDualHttpBinding"
> > bindingNamespace="http://ReportService.ServiceContracts/2007/04"
> > contract="ReportService.ServiceContracts.IAgentLogin" />
> > </service>
> > </services>
> > </system.serviceModel>
> >
> >
> > "Dwight@QuickLearn" wrote:
> >
> >>
> >> Please explain some more about your scenario...
> >>
> >> How many en dpoints and what is your configuration?
> >> Do you have Any code implemented endpoints?
> >>
> >>
> >>
> >>
> >>
> >> "Shimon Sim" wrote:
> >>
> >> > I keep getting following error when I am trying open or call a method
> >> > in WCF
> >> > service that is hosted in cassini
> >> > "HTTP could not register URL
> >> > http://+:80/Temporary_Listen_Address...-0e2bbb93e5e1/
> >> > because TCP port 80 is being used by another application."
> >> >
> >> > Why does it use port 80 when service is configured for port 4000?

>
>
>

My System SpecsSystem Spec
Old 04-23-2007   #6 (permalink)
Arkady Frenkel


 
 

Re: Running WCF in Developer Server(Cassini)

You are right, that one define in
<appSettings> . E.g : ( with port 8001 )

<appSettings>

<add key="baseAddress" value="http://localhost:8001/service" />

</appSettings>

Arkady

"Shimon Sim" <ShimonSim@discussions.microsoft.com> wrote in message
news:355CF141-3E94-4F04-A449-C608DF426D76@microsoft.com...
>I think that page address is the address of the service and there is no
>need
> to spcify the address in config. Am I wrong?
>
> "Arkady Frenkel" wrote:
>
>> You have no "address", but "binding" only in endpoint attribs
>> Arkady
>>
>> "Shimon Sim" <ShimonSim@discussions.microsoft.com> wrote in message
>> news:30E05BC8-366D-4141-9EDA-897BCEE59E38@microsoft.com...
>> >I got it working with basicHttpBinding. But the configuration was as
>> >follows.
>> > All the code has correct implementation.
>> > <system.serviceModel>
>> > <behaviors>
>> > <serviceBehaviors>
>> > <behavior
>> > name="ReportService.ServiceImplementation.AgentLogin_Behavior">
>> > <serviceDebug includeExceptionDetailInFaults="false" />
>> > <serviceMetadata httpGetEnabled="true" />
>> >
>> > </behavior>
>> > </serviceBehaviors>
>> > </behaviors>
>> > <services>
>> > <service
>> > behaviorConfiguration="ReportService.ServiceImplementation.AgentLogin_Behavior"
>> > name="ReportService.ServiceImplementation.AgentLogin">
>> > <endpoint binding="wsDualHttpBinding"
>> > bindingNamespace="http://ReportService.ServiceContracts/2007/04"
>> > contract="ReportService.ServiceContracts.IAgentLogin" />
>> > </service>
>> > </services>
>> > </system.serviceModel>
>> >
>> >
>> > "Dwight@QuickLearn" wrote:
>> >
>> >>
>> >> Please explain some more about your scenario...
>> >>
>> >> How many en dpoints and what is your configuration?
>> >> Do you have Any code implemented endpoints?
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> "Shimon Sim" wrote:
>> >>
>> >> > I keep getting following error when I am trying open or call a
>> >> > method
>> >> > in WCF
>> >> > service that is hosted in cassini
>> >> > "HTTP could not register URL
>> >> > http://+:80/Temporary_Listen_Address...-0e2bbb93e5e1/
>> >> > because TCP port 80 is being used by another application."
>> >> >
>> >> > Why does it use port 80 when service is configured for port 4000?

>>
>>
>>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Hyper-V Server 2008 RPC is not running Virtual Server
Re: Server script no longger running PowerShell
Running Windows Server 2008 instead of Vista Vista General
Running connectivity program for Win2K SQL server. Vista networking & sharing
SQL server 2000 Developer Vista General


Vista Forums 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 Ltd

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