0

我们在冷融合站点上遇到了这个无情的 500 错误。我们使用的是 Coldfusion 9.0.1,只有当我们提交表单以更新数据库表时,才会收到此错误。只有一页导致它,但日志中没有任何内容表明发生了什么。

我打开了这个站点的详细错误,我看到错误是由错误代码 0x00000000 的 JWildCardHandler 引起的。

我已经检查了所有内容的权限。即使在正在使用的 Access DB 上。

我在另一台服务器上尝试了相同的代码和数据库,我完全没有收到错误。我尝试确保两台服务器上的 IIS 和 CF 的配置完全相同,但仍然出现错误。

有任何想法吗?似乎没有理由抛出这个错误。

这是导致错误的表单处理页面。真的不多,只是一些基本的查询:

<cfquery datasource="#Datasource#" name="UpdateTheTable">
    UPDATE Our_table SET 
    #Est# = #PreserveSingleQuotes(EstValue)#,
    Username = '#CurrentUser.Username#',
    DateCurrent = NOW()
    WHERE Attribute1=#CurrentUser.Attribute1ID# AND Attribute2=#Attribute2ID#;
</cfquery>

这是我们的堆栈跟踪:

<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type='text/xsl' href='freb.xsl'?>
<!-- saved from url=(0014)about:internet -->
<failedRequest url="http://oursite.domain.com:80/subdir/index.cfm"
               siteId="8"
               appPoolId="subdir"
               processId="13528"
               verb="POST"
               remoteUserName=""
               userName=""
               tokenUserName="NT AUTHORITY\IUSR"
               authenticationType="anonymous"
               activityId="{00000000-0000-0000-7E06-0080000000E2}"
               failureReason="STATUS_CODE"
               statusCode="500"
               triggerStatusCode="500"
               timeTaken="202"
               xmlns:freb="http://schemas.microsoft.com/win/2006/06/iis/freb"
               >
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>0</Level>
  <Opcode>1</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2013-04-22T13:36:17.490Z"/>
  <Correlation ActivityID="{00000000-0000-0000-7E06-0080000000E2}"/>
  <Execution ProcessID="13528" ThreadID="13628"/>
  <Computer>Server1</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{00000000-0000-0000-7E06-0080000000E2}</Data>
  <Data Name="SiteId">8</Data>
  <Data Name="AppPoolId">subdir</Data>
  <Data Name="ConnId">1610614393</Data>
  <Data Name="RawConnId">0</Data>
  <Data Name="RequestURL">http://oursite.domain.com:80/subdir/index.cfm</Data>
  <Data Name="RequestVerb">POST</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>GENERAL_REQUEST_START</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>0</Level>
  <Opcode>12</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2013-04-22T13:36:17.490Z"/>
  <Correlation ActivityID="{00000000-0000-0000-7E06-0080000000E2}"/>
  <Execution ProcessID="13528" ThreadID="13628"/>
  <Computer>Server1</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{00000000-0000-0000-7E06-0080000000E2}</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>GENERAL_ISAPI_HANDLER</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>0</Level>
  <Opcode>1</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2013-04-22T13:36:17.599Z"/>
  <Correlation ActivityID="{00000000-0000-0000-7E06-0080000000E2}"/>
  <Execution ProcessID="13528" ThreadID="13628"/>
  <Computer>Server1</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{00000000-0000-0000-7E06-0080000000E2}</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>ISAPI_START</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{2E94E6C7-EDA0-4B73-9010-2529EDCE1C27}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="ISAPI Extension" Guid="{A1C2040E-8840-4C31-BA11-9871031A19EA}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>0</Level>
  <Opcode>1</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2013-04-22T13:36:17.599Z"/>
  <Correlation ActivityID="{00000000-0000-0000-7E06-0080000000E2}"/>
  <Execution ProcessID="13528" ThreadID="13628"/>
  <Computer>Server1</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{00000000-0000-0000-7E06-0080000000E2}</Data>
  <Data Name="DllName">C:\ColdFusion9\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>CALL_ISAPI_EXTENSION</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{ACADE3B2-B7D7-4339-956C-811B4EDB1B24}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="ISAPI Extension" Guid="{A1C2040E-8840-4C31-BA11-9871031A19EA}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>0</Level>
  <Opcode>2</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2013-04-22T13:36:17.614Z"/>
  <Correlation ActivityID="{00000000-0000-0000-7E06-0080000000E2}"/>
  <Execution ProcessID="13528" ThreadID="13628"/>
  <Computer>Server1</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{00000000-0000-0000-7E06-0080000000E2}</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>ISAPI_EXTENSION_DONE</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{ACADE3B2-B7D7-4339-956C-811B4EDB1B24}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>0</Level>
  <Opcode>2</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2013-04-22T13:36:17.614Z"/>
  <Correlation ActivityID="{00000000-0000-0000-7E06-0080000000E2}"/>
  <Execution ProcessID="13528" ThreadID="13628"/>
  <Computer>Server1</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{00000000-0000-0000-7E06-0080000000E2}</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>ISAPI_END</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{2E94E6C7-EDA0-4B73-9010-2529EDCE1C27}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>0</Level>
  <Opcode>33</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2013-04-22T13:36:17.614Z"/>
  <Correlation ActivityID="{00000000-0000-0000-7E06-0080000000E2}"/>
  <Execution ProcessID="13528" ThreadID="13628"/>
  <Computer>Server1</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{00000000-0000-0000-7E06-0080000000E2}</Data>
  <Data Name="HttpStatus">500</Data>
  <Data Name="HttpSubStatus">0</Data>
  <Data Name="FileNameOrURL">500.htm</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>GENERAL_SEND_CUSTOM_ERROR</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
  <EventID>0</EventID>
  <Version>1</Version>
  <Level>0</Level>
  <Opcode>2</Opcode>
  <Keywords>0x0</Keywords>
  <TimeCreated SystemTime="2013-04-22T13:36:17.692Z"/>
  <Correlation ActivityID="{00000000-0000-0000-7E06-0080000000E2}"/>
  <Execution ProcessID="13528" ThreadID="13628"/>
  <Computer>Server1</Computer>
 </System>
 <EventData>
  <Data Name="ContextId">{00000000-0000-0000-7E06-0080000000E2}</Data>
  <Data Name="BytesSent">6428</Data>
  <Data Name="BytesReceived">4864</Data>
  <Data Name="HttpStatus">500</Data>
  <Data Name="HttpSubStatus">0</Data>
 </EventData>
 <RenderingInfo Culture="en-US">
  <Opcode>GENERAL_REQUEST_END</Opcode>
 </RenderingInfo>
 <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
  <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
 </ExtendedTracingInfo>
</Event>
</failedRequest>
4

1 回答 1

1

我最近遇到了同样的问题,同样的错误,同样的 0x00000000 错误代码,甚至在单个表单上出现(其他表单工作正常)也是如此。问题归结为 CF 的 neo-runtime.xml 中的“postParametersLimit”设置。表单数据超出限制,导致 CF 拒绝请求,并在 JWildCardHandler 处理程序处显示错误。我只是在 neo-runtime 中增加了 postParametersLimit(使用记事本,只需在 xml 文件中对该参数名称进行文本搜索。您会看到它的值。更改。保存。)并重新启动 CF 服务。一切都很好。我在负载平衡的 64 位 Win2008 R2 服务器上运行 64 位 CF9.0.2。祝你好运。

于 2014-04-23T19:20:13.077 回答