2013-08-27 4 views
0

asp.net mvc4 응용 프로그램에서 glimpse를 사용하고 있습니다. 문제없이 배포 한 개발 서버에서 로컬로 잘 작동하고 있습니다. 하지만 다른 테스트 서버에서 glimpse.log에 다음 오류가 표시됩니다. 왜 그런지 모르겠습니다. 나는 두 서버에 접근 할 수 없으며 다른 팀에 의해 제어된다.asp.net에서 엿볼 일부 서버에 배포하는 동안 mvc4 응용 프로그램이 작동하지 않습니다

2013-08-27 09:47:47.4020 | DEBUG | RuntimePolicy set to 'Off' by IRuntimePolicy of type 'Glimpse.Core.Policy.StatusCodePolicy' during RuntimeEvent 'EndRequest'. | 

나는 url/glimpse.axd에 액세스 할 수 있으며 테스트 URL에서 엿볼 켜,하지만 아무것도 후 엿볼으로 발생합니다. 다음은 중요한 정보가 제거 된 테스트 서버에 대한 내 web.config입니다.

<?xml version="1.0" encoding="utf-8"?> 
<!-- 
For more information on how to configure your ASP.NET application, please visit 
http://go.microsoft.com/fwlink/?LinkId=169433 
--> 
<configuration> 
<configSections> 
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> 
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> 
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> 
<section name="glimpse" type="Glimpse.Core.Configuration.Section, Glimpse.Core" /> 
</configSections> 
<appSettings> 
<add key="webpages:Version" value="2.0.0.0" /> 
<add key="webpages:Enabled" value="false" /> 
<add key="PreserveLoginUrl" value="true" /> 
<add key="ClientValidationEnabled" value="true" /> 
<add key="UnobtrusiveJavaScriptEnabled" value="true" /> 

</appSettings> 
<system.web> 
<compilation targetFramework="4.0"> 
    <assemblies> 
    <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
    </assemblies> 
</compilation> 
<authentication mode="Windows" /> 
<authorization> 
    <deny users="?" /> 
</authorization> 
<pages> 
    <namespaces> 
    <add namespace="System.Web.Helpers" /> 
    <add namespace="System.Web.Mvc" /> 
    <add namespace="System.Web.Mvc.Ajax" /> 
    <add namespace="System.Web.Mvc.Html" /> 
    <add namespace="System.Web.Optimization" /> 
    <add namespace="System.Web.Routing" /> 
    <add namespace="System.Web.WebPages" /> 
    </namespaces> 
</pages> 
<!-- Glimpse: This can be commented in to add additional data to the Trace tab when using WebForms 
    <trace writeToDiagnosticsTrace="true" enabled="true" pageOutput="false"/> --> 
<httpModules> 
    <add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" /> 
</httpModules> 
<httpHandlers> 
    <add path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" /> 
</httpHandlers> 
</system.web> 
<system.webServer> 
<validation validateIntegratedModeConfiguration="false" /> 
<modules runAllManagedModulesForAllRequests="true"> 
    <add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" preCondition="integratedMode" /> 
</modules> 
<handlers> 
    <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" /> 
    <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" /> 
    <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> 
    <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> 
    <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> 
    <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> 
    <add name="Glimpse" path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" preCondition="integratedMode" /> 
</handlers> 
</system.webServer> 
<runtime> 
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 
    <dependentAssembly> 
    <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" /> 
    <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" /> 
    </dependentAssembly> 
    <dependentAssembly> 
    <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> 
    <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> 
    </dependentAssembly> 
    <dependentAssembly> 
    <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" /> 
    <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" /> 
    </dependentAssembly> 
</assemblyBinding> 
</runtime> 
<entityFramework> 
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> 
    <parameters> 
    <parameter value="v11.0" /> 
    </parameters> 
    </defaultConnectionFactory> 
</entityFramework> 
<glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd"> 
<!-- If you are having issues with Glimpse, please include this. It will help us figure out whats going on. --> 
<logging level="Trace" /> 
<inspectors> 
<ignoredTypes> 
    <add type="Glimpse.Mvc.Inspector.DependencyInjectionInspector, Glimpse.Mvc4" /> 
</ignoredTypes> 
</inspectors> 
<runtimePolicies> 
<ignoredTypes> 
    <add type="Glimpse.AspNet.Policy.LocalPolicy, Glimpse.AspNet"/> 
</ignoredTypes> 
</runtimePolicies> 
</glimpse> 
</configuration> 

답변

0

기본적으로 HTTP 요청의 경우 200, 301 또는 302 상태 코드가 표시됩니다.

포함 된 로그 파일의 행은 해당 서버에서 다른 상태 코드가 반환되고 있음을 나타냅니다. 아마도 해당 서버에 구성된 상태 코드를 변경하는 추가 HTTP 모듈이 있습니까?