503服务错误不可用,附加我的app.config [英] 503 Error on Service Unavailable, Attaching my app.config

查看:111
本文介绍了503服务错误不可用,附加我的app.config的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以导航到http://localhost:8731,但是在尝试点击
时出现503错误 http://localhost:8731/Design_Time_Addresses/RackleyService.DataConnection/AcordConnection/

I can navigate to http://localhost:8731 but I get the 503 error when trying to hit
http://localhost:8731/Design_Time_Addresses/RackleyService.DataConnection/AcordConnection/

<configuration>
  <configsections>
  </configsections>
    <system.servicemodel>
    <diagnostics>
      <messagelogging logmalformedmessages="true" logmessagesattransportlevel="true" />
    </diagnostics>
    <bindings>
      <basichttpbinding>
	  <binding name="RackleyServiceBinding" maxbuffersize="2147483647">
		maxReceivedMessageSize="2147483647" />
      </binding></basichttpbinding>
    </bindings>
    <client />
    <servicehostingenvironment multiplesitebindingsenabled="true">

    </servicehostingenvironment>
    <behaviors>
      <servicebehaviors>
        <behavior name="RackleyServiceBehavior">
          <servicemetadata httpgetenabled="true" />
			<servicedebug includeexceptiondetailinfaults="true" />
			<datacontractserializer maxitemsinobjectgraph="2147483647" />
        </behavior>
      </servicebehaviors>
      <endpointbehaviors>
        <behavior name="CrossDomainBehavior">
          <webhttp />
        </behavior>
      </endpointbehaviors>
    </behaviors>
    <services>
      <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">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <endpoint address="mex" binding="mexHttpBinding" name="AcordMex">
          contract="IMetadataExchange" />
        <endpoint address="" behaviorconfiguration="CrossDomainBehavior">
          binding="webHttpBinding" name="CrossDomain" contract="RackleyService.DataConnection.ICrossDomainService">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
        <host>
          <baseAddresses>
            <add baseaddress="http://localhost:8731/" />
          </baseAddresses>
        </host>
      </endpoint></service>
    </services>
  </system.servicemodel>
  <startup>
    <supportedruntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  </startup>
  <system.net>
    <defaultproxy>
      <proxy bypassonlocal="False" usesystemdefault="True" />
    </defaultproxy>
  </system.net>
</configuration>

推荐答案

类似的声音,您可能需要配置crossdomain.xml文件,以允许通过
进行请求
http://msdn.microsoft.com/en-us/library/cc197955(VS .95).aspx [ ^ ]
Sounds like you might need to configure your crossdomain.xml file a little more to allow request through

http://msdn.microsoft.com/en-us/library/cc197955(VS.95).aspx[^]


这篇关于503服务错误不可用,附加我的app.config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆