Click here to Skip to main content
15,846,145 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I can navigate to http://localhost:8731 but I get the 503 error when trying to hit

      <messagelogging logmalformedmessages="true" logmessagesattransportlevel="true" />
	  <binding name="RackleyServiceBinding" maxbuffersize="2147483647">
		maxReceivedMessageSize="2147483647" />
    <client />
    <servicehostingenvironment multiplesitebindingsenabled="true">

        <behavior name="RackleyServiceBehavior">
          <servicemetadata httpgetenabled="true" />
			<servicedebug includeexceptiondetailinfaults="true" />
			<datacontractserializer maxitemsinobjectgraph="2147483647" />
        <behavior name="CrossDomainBehavior">
          <webhttp />
      <service behaviorconfiguration="RackleyServiceBehavior" name="RackleyService.DataConnection.AcordConnection">
        <endpoint address="Design_Time_Addresses/RackleyService.DataConnection/AcordConnection/">
          binding="basicHttpBinding" bindingConfiguration="RackleyServiceBinding" 
		  name="AcordConnection" contract="RackleyService.DataConnection.IAcordConnection">
            <dns value="localhost" />
        <endpoint address="mex" binding="mexHttpBinding" name="AcordMex">
          contract="IMetadataExchange" />
        <endpoint address="" behaviorconfiguration="CrossDomainBehavior">
          binding="webHttpBinding" name="CrossDomain" contract="RackleyService.DataConnection.ICrossDomainService">
            <dns value="localhost" />
            <add baseaddress="http://localhost:8731/" />
    <supportedruntime version="v4.0" sku=".NETFramework,Version=v4.0" />
      <proxy bypassonlocal="False" usesystemdefault="True" />
Updated 31-Jan-12 16:35pm
ZurdoDev 31-Jan-12 15:12pm    
Service unavailable may mean the app pool has an issue. Try browsing the site from within IIS and see what happens and then check the event viewer. For example, if you also have a .Net 2.0 app in your .Net 4.0 app pool that can cause this issue.
sjones_30 6-Feb-12 13:14pm    
I am hosting the the WCF service in a windows service. I checked my local IIS and there was not an entry for the WCF service in the app pool. Should there be?

1 solution

Sounds like you might need to configure your crossdomain.xml file a little more to allow request through[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900