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

Running WCF in Developer Server(Cassini)

 
 
Thread Tools Display Modes
Old 04-17-2007   #1 (permalink)
Shimon Sim
Guest


 

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?
Old 04-20-2007   #2 (permalink)
Dwight@QuickLearn
Guest


 

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?

Old 04-20-2007   #3 (permalink)
Shimon Sim
Guest


 

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?

Old 04-23-2007   #4 (permalink)
Arkady Frenkel
Guest


 

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?



Old 04-23-2007   #5 (permalink)
Shimon Sim
Guest


 

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?

>
>
>

Old 04-23-2007   #6 (permalink)
Arkady Frenkel
Guest


 

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?

>>
>>
>>



 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running external app from an HTA on Windows Server 2003 x64 André Schneickert VB Script 0 07-28-2008 07:12 AM
Running Windows Server 2008 instead of Vista Ezmerelda Marty Kleindorf Vista General 0 09-07-2007 01:32 PM
Running connectivity program for Win2K SQL server. RR2 Vista networking & sharing 1 03-10-2007 03:45 AM
Running Powershell under Windows 2000 Server A. Petitjean PowerShell 4 02-02-2007 04:12 PM
SQL server 2000 Developer Kevin Vista General 0 06-13-2006 12:19 PM








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

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