我们在coldfusion网站上得到了这个无情的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>
答案 0 :(得分:1)
我最近遇到了同样的问题,同样的错误,同样的0x00000000错误代码,同样甚至直到单个表单上的出现(其他表格工作正常)。问题归结为CF的neo-runtime.xml中的“postParametersLimit”设置。表单数据超出限制,导致CF拒绝请求,并在JWildCardHandler处理程序点处显示错误。我只是在neo-runtime中增加了postParametersLimit(使用记事本,只需在xml文件中对该参数名进行文本搜索。您将看到它的值。更改。保存。)并重新启动CF服务。一切都很好。我在负载均衡的64位Win2008 R2服务器上运行64位CF9.0.2。祝你好运。