हाय मैं अपनी समस्या का समाधान करने की कोशिश कर रहा हूं, हालांकि इसके बारे में कुछ भी नहीं कर सका।सेवा अनुपलब्ध 503 + http: //localhost/ProductsService/Service.svc पर स्थित HTTP सेवा बहुत व्यस्त है
समस्या
http://localhost/productservice/service.svc
जब प्रकार अपने ब्राउज़र में इस पता है यह मुझे 503 सेवा अनुपलब्ध त्रुटि
जब मैं VS 2010 से मेरे कोड चलाने यह मेरे
HTTP सेवा देता है देता है http://localhost/ProductsService/Service.svc पर स्थित है बहुत व्यस्त है। अपवाद।
उत्पाद सेवा ASP.NET v4.0 एकीकृत अनुप्रयोग पूल में ApplicationPoolIdentity के साथ चल रही है।
मुझे नहीं पता कि मुझे क्या करना है!
(विंडोज 7 होम & IIS7)
basicHttpBinding
प्रयोग किया जाता है सर्वर साइड 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="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। विंडोज 7 होम में आईआईएस 7 है? –