iis 7 - Service Unavailable 503 + The HTTP service located at http://localhost/ProductsService/Service.svc is too busy -


hi have been trying solve problem, couldn't it.

the problem

http://localhost/productservice/service.svc when type address in browser gives me 503 service unavailable error

when run code vs 2010 gives me

the http service located @ http://localhost/productsservice/service.svc busy. exception.

productservice running in asp.net v4.0 integrated application pool applicationpoolidentity.

i got no idea need do!

(windows 7 home & iis7)

basichttpbinding used

the server side config

<?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=&quot;data source=pinchy\sqlexpress;initial catalog=adventureworks;integrated security=true;multipleactiveresultsets=true&quot;" 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>                     <!-- avoid disclosing metadata information, set value below false , remove metadata endpoint above before deployment -->                     <servicemetadata httpgetenabled="true"/>                     <!-- receive exception details in faults debugging purposes, set value below true.  set false before deployment avoid disclosing exception information -->                     <servicedebug includeexceptiondetailinfaults="false"/>                 </behavior>             </servicebehaviors>         </behaviors>         <servicehostingenvironment multiplesitebindingsenabled="true"/>     </system.servicemodel>     <system.webserver>         <modules runallmanagedmodulesforallrequests="true"/>   </system.webserver> </configuration> 

the client app.config is

<?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> 

any appreciated thanks

had same problem, different cause. in iis (left side panel), click on application pools , make sure asp.net version you've selected running. mine off reason.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -