안녕하세요. 제 문제를 해결하려고 노력했지만 아무 것도 할 수 없었습니다.서비스를 사용할 수 없습니다. 503 + http : //localhost/ProductsService/Service.svc에있는 HTTP 서비스가 너무 바쁩니다.
문제는 나에게 내가 VS 2010 년 내 코드를 실행하면 그것은 나를
에게 HTTP 서비스를 제공
503 서비스를 사용할 수 없음 오류를 제공
http://localhost/productservice/service.svc
때 유형 브라우저에서이 주소입니다 http://localhost/ProductsService/Service.svc에있는 전화가 너무 바쁩니다. 예외.
ProductService는 ApplicationPoolIdentity가있는 ASP.NET 버전 4.0 통합 응용 프로그램 풀에서 실행됩니다.
나는 내가해야 할 일이 전혀 없다는 것을 알았습니다.
(윈도우 7 홈 & IIS7)
은 BasicHttpBinding은
를 사용하는 서버 측 설정이
<?xml version="1.0"?>
<configuration>
<connectionStrings>
<add name="AdventureWorksEntities" connectionString="metadata=res://*/ProductsModel.csdl|res://*/ProductsModel.ssdl|res://*/ProductsModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=PINCHY\SQLEXPRESS;Initial Catalog=AdventureWorks;Integrated Security=True;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient"/>
</connectionStrings>
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
</system.web>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>
클라이언트의 app.config는 어떤 도움을
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IProductsService" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:80/ProductsService/Service.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IProductsService"
contract="ProductsService.IProductsService" name="BasicHttpBinding_IProductsService" />
</client>
</system.serviceModel>
</configuration>
것입니다 많이 감사하겠습니다. 그쪽으로 nks
당신은 계속 우리에게 더 줄 필요가! 당신의 설정은 무엇입니까? 어떤 바인딩을 사용합니까? 우리에게 서버 측 설정보기! ( 태그 안의 모든 것) –
구성 감사를 추가했습니다 – Pinchy
구성이 올바른 것처럼 보입니다. 서비스를 디버그하려고 했습니까? Btw. Windows 7 Home에는 IIS7이 있습니까? –