2

バックグラウンド

JSON でエンコードされたデータを HTML/AJAX 対応のインターフェイスに提供する OpenRasta で構築された API があります。

問題

IIS 6 でホストされている場合、リソースのクエリ時に断続的な 404 エラーが発生します。アプリケーション プールの再起動後、すべてが正常に機能します。いくつかのリクエストが成功した後、404 エラーが発生し、アプリ プールがリサイクルされるまで持続します。IIS 6 で ISAPI マッピングが設定されていることを確認しましたが、何が欠けていますか?

断続的に失敗したリクエストのトレース出力

Unregistering host of type OpenRasta.Hosting.AspNet.AspNetHost

比較のための成功した要求のトレース出力 (名前空間とリソース URI は編集済み)

Registering host of type OpenRasta.Hosting.AspNet.AspNetHost
Using dependency resolver of type OpenRasta.DI.InternalDependencyResolver.
Registering host's root dependencies..
Using dependency registrar of type OpenRasta.Configuration.DefaultDependencyRegistrar..
Ignoring constructor, following dependencies didn't have a registration:OpenRasta.TypeSystem.Surrogates.ISurrogateBuilder[].
Registering host's leaf dependencies..
Using configuration source <namespace>.api.Configuration.
Ignoring constructor, following dependencies didn't have a registration:System.Func`1[System.Collections.Generic.IEnumerable`1[OpenRasta.Configuration.MetaModel.Handlers.IMetaModelHandler]].
Ignoring constructor, following dependencies didn't have a registration:System.Diagnostics.TraceSource.
Ignoring constructor, following dependencies didn't have a registration:OpenRasta.OperationModel.MethodBased.IMethodFilter[].
Incoming host request for http://<resource URI>.
Adding communication context data.
Entering OpenRastaRewriterHandler: Rewriting to original path.
Entering OpenRastaIntegratedHandler: Request for http://<resource URI>.
Incoming host request for http://<resource URI>.
Adding communication context data.
Found 1 operation(s) with a matching name..
Found 0 operation(s) with matching [HttpOperation] attribute..
Operation <handler>::Get() selected with 0 required members and 0 optional members, without request codec.
Ignoring constructor, following dependencies didn't have a registration:OpenRasta.OperationModel.Interceptors.IOperationInterceptor[].
Executing OperationResult OperationResult: type=OK, statusCode=200..
Selected codec JsonDataContractCodec out of 1 codecs for entity of type List`1 and negotiated media type application/json; q=0.5..
Codec JsonDataContractCodec selected..
Entering ResponseEntityWriterContributor: Generating response entity..
Setting Content-Length to 133.
Exiting ResponseEntityWriterContributor.
Writing http headers..
Exiting OpenRastaIntegratedHandler.
Exiting OpenRastaRewriterHandler.
Request finished..

GitHub masterから構築された OpenRasta.Hosting.AspNet.dll : OpenRasta.Hosting.AspNet.dll バージョン

4

0 に答える 0