How can we help you today? How can we help you today?
rgelb
Hi @Jessica R I cleared out the event log and recreated the crash. Event log had the following entries: .NET Runtime version 4.0.30319.0 - The profiler was loaded successfully. Profiler CLSID: '{F487E236-8315-45AF-833E-DF0967B1E79A}'. Process ID (decimal): 364. Message ID: [0x2507]. The Open Procedure for service "BITS" in DLL "C:\Windows\System32\bitsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code. The configuration information of the performance library "C:\Windows\System32\perfts.dll" for the "TermService" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted. Faulting application name: w3wp.exe, version: 10.0.15063.0, time stamp: 0xacce422f Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc00000fd Fault offset: 0x3636e10b Faulting process id: 0x16c Faulting application start time: 0x01d30fde87182b0a Faulting application path: C:\WINDOWS\SysWOW64\inetsrv\w3wp.exe Faulting module path: unknown Report Id: b7193eb4-f29b-47fa-bf35-5ba0de499542 Faulting package full name: Faulting package-relative application ID: I chose to debug the w3p crash using a new copy of Visual Studio and it pinpointed the following line with the Stack Overflow exception: result = engine.Invoke(outputType, renderOptions.ComponentName, properties).ToString(); [image] / comments
Hi @Jessica R I cleared out the event log and recreated the crash. Event log had the following entries: .NET Runtime version 4.0.30319.0 - The profiler was loaded successfully. Profiler CLSID: '{...
0 votes
Hi @Jessica R I cleared out the Event Viewer, repeated the test and it crashed again. The Event Viewer had the following things (separated by carriage returns): .NET Runtime version 4.0.30319.0 - The profiler was loaded successfully. Profiler CLSID: '{F487E236-8315-45AF-833E-DF0967B1E79A}'. Process ID (decimal): 364. Message ID: [0x2507]. The Open Procedure for service "BITS" in DLL "C:\Windows\System32\bitsperf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code. The configuration information of the performance library "C:\Windows\System32\perfts.dll" for the "TermService" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted. Faulting application name: w3wp.exe, version: 10.0.15063.0, time stamp: 0xacce422f Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc00000fd Fault offset: 0x3636e10b Faulting process id: 0x16c Faulting application start time: 0x01d30fde87182b0a Faulting application path: C:\WINDOWS\SysWOW64\inetsrv\w3wp.exe Faulting module path: unknown Report Id: b7193eb4-f29b-47fa-bf35-5ba0de499542 Faulting package full name: Faulting package-relative application ID: I then selected to "debug" the w3p crash using a new copy of Visual Studio and it pinpointed this line of code in our code base: result = engine.Invoke(outputType, renderOptions.ComponentName, properties).ToString(); The error was Stack Overflow. [image] As I mentioned before none of these errors happen if I profile without line level stats. / comments
Hi @Jessica R I cleared out the Event Viewer, repeated the test and it crashed again. The Event Viewer had the following things (separated by carriage returns): .NET Runtime version 4.0.30319.0 - ...
0 votes
Brian, I am about to dump a lot of XML and code on you. If there is a better way, please let me know. Here is the Markup: <%@ ServiceHost Language="C#" Debug="true" Service="CC.AP.Services.Services.CalculationService" CodeBehind="CalculationService.svc.cs" %> Here is some of the code from the code behind of the service: &#91;OperationReportServiceBehavior&#93; public class CalculationService : ServiceBase, ICalculationService &#123; #region Constructors public CalculationService&#40;&#41; : base&#40;LogManager.GetLogger&#40;"CalculationServiceSystemLog"&#41;&#41; &#123; &#125; /// Public Methods &#125; I didn't include any of the public methods since they are immaterial to this. The interface ICalculationService simply contains public methods that need to be implemented. Here is the web.config: <?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --> <configuration> <configSections> <!-- For log4net. --> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" requirePermission="false"/> </configSections> <appSettings> <add key="ApDbConnection" value="Data Source=lani-dev3;Initial Catalog=AP_RT_Dev;User ID=svc_fusion;Password=svc_fusion"/> <add key="TallyURL" value="http://lani-radio007:8080/ArbitronTallyWebServices/tally"/&gt; <add key="PreloadBooksOnStartup" value="true"/> <add key="WhatToLoadAtInterval" value="LastXMonths"/> <!-- Choices are LastXMonths or LastXBooksForMarket--> <add key="HowManyToLoadAtInterval" value="18"/> <!-- Indicates either how many months of books to load or how many books to load for each market--> <!-- The names of these variables/keys should be in the form of 'Monitor'<ServiceName>'Ops' for the OperationReportInspector to find them. --> <add key="MonitorCalculationServiceOps" value="true"/> <add key="MonitorMetadataServiceOps" value="true"/> </appSettings> <connectionStrings/> <log4net> <!-- Each service has its own system log file, and the corresponding operations logs which are controled by the above monitoring flags, 'MonitorCalculationServiceOps' and 'MonitorMetadataServiceOps'. The operations logs must be in the form of <ServiceName><OpsLog> for it to be picked up by the service. --> <!-- This is for the Calculation Service. --> <appender name="CalculationServiceSystemLog" type="log4net.Appender.RollingFileAppender"> <file value="Logs\\CalculationServiceSystem.log"/> <appendToFile value="true"/> <rollingStyle value="Composite"/> <datePattern value="yyyyMMdd"/> <maxSizeRollBackups value="10"/> <maximumFileSize value="20MB"/> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level - %message%newline"/> </layout> </appender> <!-- Here we reference the logger name to the appender. --> <logger name="CalculationServiceSystemLog"> <level value="ALL"/> <appender-ref ref="CalculationServiceSystemLog"/> </logger> <!-- Calculation operations' log. --> <appender name="CalculationServiceOpsLog" type="log4net.Appender.RollingFileAppender"> <file value="Logs\\ops\\CalculationServiceOps.log"/> <appendToFile value="true"/> <rollingStyle value="Composite"/> <datePattern value="yyyyMMdd"/> <maxSizeRollBackups value="10"/> <maximumFileSize value="20MB"/> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level - %message%newline"/> </layout> </appender> <!-- Here we reference the logger name to the appender. --> <logger name="CalculationServiceOpsLog"> <level value="ALL"/> <appender-ref ref="CalculationServiceOpsLog"/> </logger> <!-- This is for the Metadata Service. --> <appender name="MetadataServiceSystemLog" type="log4net.Appender.RollingFileAppender"> <file value="Logs\\MetadataServiceSystem.log"/> <appendToFile value="true"/> <rollingStyle value="Composite"/> <datePattern value="yyyyMMdd"/> <maxSizeRollBackups value="10"/> <maximumFileSize value="20MB"/> <staticLogFileName value="true"/> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level - %message%newline"/> </layout> </appender> <!-- Here we reference the logger name to the appender. --> <logger name="MetadataServiceSystemLog"> <level value="ALL"/> <appender-ref ref="MetadataServiceSystemLog"/> </logger> <!-- Metada service operations' log. --> <appender name="MetadataServiceOpsLog" type="log4net.Appender.RollingFileAppender"> <file value="Logs\\ops\\MetadataServiceOps.log"/> <appendToFile value="true"/> <rollingStyle value="Composite"/> <datePattern value="yyyyMMdd"/> <maxSizeRollBackups value="10"/> <maximumFileSize value="20MB"/> <staticLogFileName value="true"/> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level - %message%newline"/> </layout> </appender> <!-- Here we reference the logger name to the appender. --> <logger name="MetadataServiceOpsLog"> <level value="ALL"/> <appender-ref ref="MetadataServiceOpsLog"/> </logger> <!-- Utilized by the Cache Manager, since it is a Singleton it will write to its own file. --> <appender name="TallyCacheManagerSystemLog" type="log4net.Appender.RollingFileAppender"> <file value="Logs\\TallyCacheManagerSystemLog.log"/> <appendToFile value="true"/> <rollingStyle value="Composite"/> <datePattern value="yyyyMMdd"/> <maxSizeRollBackups value="10"/> <maximumFileSize value="20MB"/> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level - %message%newline"/> </layout> </appender> <logger name="TallyCacheManagerSystemLog"> <level value="ALL"/> <appender-ref ref="TallyCacheManagerSystemLog"/> </logger> </log4net> <system.web> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. --> <compilation debug="true" targetFramework="4.0"/> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Windows"/> <!-- The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> --> <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/> </system.web> <!-- The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0. It is not necessary for previous version of IIS. --> <system.serviceModel> <serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> <bindings> <basicHttpBinding> <binding name="XmlMessageBinding" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" closeTimeout="00:03:00" openTimeout="00:03:00" receiveTimeout="00:10:00" sendTimeout="00:03:00"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> <security mode="None"/> </binding> </basicHttpBinding> </bindings> <services> <service behaviorConfiguration="CC.AP.Services.Services.MetadataServiceBehavior" name="CC.AP.Services.Services.MetadataService"> <endpoint address="" binding="basicHttpBinding" contract="CC.AP.WcfContracts.IMetadataService"> <!--<identity> <dns value="localhost"/> </identity>--> </endpoint> <endpoint address="ws" binding="wsHttpBinding" contract="CC.AP.WcfContracts.IMetadataService"/> <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>--> </service> <service behaviorConfiguration="CC.AP.Services.Services.CalculationServiceBehavior" name="CC.AP.Services.Services.CalculationService"> <endpoint address="" binding="basicHttpBinding" contract="CC.AP.WcfContracts.ICalculationService"> <!--<identity> <dns value="localhost"/> </identity>--> </endpoint> <endpoint address="ws" binding="wsHttpBinding" contract="CC.AP.WcfContracts.ICalculationService"/> <!--<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>--> </service> </services> <behaviors> <endpointBehaviors> <behavior name="webBehavior"> <webHttp /> <dataContractSerializer maxItemsInObjectGraph="2147483647" /> </behavior> </endpointBehaviors> <serviceBehaviors> <behavior name="CC.AP.Services.Services.MetadataServiceBehavior"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="true" /> <serviceThrottling maxConcurrentCalls="100" maxConcurrentSessions="200" maxConcurrentInstances="100" /> </behavior> <behavior name="CC.AP.Services.Services.CalculationServiceBehavior"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="true" /> <serviceThrottling maxConcurrentCalls="100" maxConcurrentSessions="200" maxConcurrentInstances="100" /> </behavior> <behavior name=""> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="false" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> </configuration> / comments
Brian, I am about to dump a lot of XML and code on you. If there is a better way, please let me know. Here is the Markup: <%@ ServiceHost Language="C#" Debug="true" Service="CC.AP.Services.Service...
0 votes