サービスを利用でき503+は、HTTPサービスありhttp://localhost/ProductsService/Service.svc は忙しく

StackOverflow https://stackoverflow.com/questions/4793226

質問

こんにちはそこで広く用いられている解決私の問題だと思います。

問題は

http://localhost/productservice/service.svc typeこのアドレスは私のブラウザでく503本サービスエラー

かける私のコードからVS2010年ちょっと

HTTPサービスあり http://localhost/ProductsService/Service.svc も忙しいのです。ます。

ProductServiceの運ASP.NET v4.0統合アプリケーションプールのApplicationPoolIdentity.

行くかもしれませんかい!

(Windows7Home&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=&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>
                    <!-- 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>

トのアプリです。コンフィグである

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

の手ですよろしくお願いいたします 感謝

役に立ちましたか?

解決

同じ問題が異なる。でIIS(左側パネル)をクリックし、応用プールっていることを確認してくださいASP.NET 版または実際に走っています。鉱山offある。

他のヒント

私は同じ問題です。問題は私にとって出される無効のパスワードになります。メールアドレスのフォーマットが変更になり、アプリのプールIISを利用し古いパスワードになります。一度パスワードを更新しましたの申請た。

待できる。

また、同じる問題点とその解決策は、

でIISをクリックしProductsServiceサイトの下のデフォルトです。右側の下での動画をクリック先端を設定します。チェックの有効トプロトコルのプロパティの値がこの物件はコンマで区切られた例:httpます。tcp.実際に入ったセミコロンの代わりにカンマで区切っを取得するために使用される同一の例外です。試しに交換セミコロンカンマで区切る.できればと思います。

当社のチームと同じ体験を行 503 Service Unavailable.この例の場合、アプリケーションプール、スーパーマーケットのアイデンティティを正しく設定しているアプリのプール開始).

その後の評価を見いだした、WCFサービスにインストールされるサーバreservedポート80.を使用 netsh http コマンドを見ることができたのurlを予約。

netsh http show urlacl

Reserved URL            : http://+:80/

以下のリンクをた:http://blogs.msdn.com/b/webtopics/archive/2010/02/17/a-not-so-common-root-cause-for-503-service-unavailable.aspx

自分が入りたかったの503エラー IIS7走行。NET4.0のサイトにlocalhost.私はsmugでいたのをクリック用プールの左側の区画がご覧いただく場所サイト及び応用プールを記載します。のでしょうか、関連するアプリケーションプールのしずかだけを再開します。しかしながら、現時点ではその理由に帰ってきたこの問いこなかった問題解決にはならない。私の場合はおいてなどを行っているサイトの一部公開ページ、そして2つのアプリケーションをパスワードで保護されています。一つだけの用途に503エラーになります。を選んだのは、クリック先端の設定は、この問題に応用プールがあります。することを指摘し、DefaultAppPoolの代わりにアプリケーションプールのウェブサイト全体私が修正される、すべての3つのサイトで働き始めたのは通常です。なので、和、503エラーにより停止した応用プールがあります。だただくには再開の右にアプリケーションプールにサイト走行ます。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top