Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ms-access/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Coldfusion 提交表单时JWildCardHandler内部500错误_Coldfusion_Iis 7.5 - Fatal编程技术网

Coldfusion 提交表单时JWildCardHandler内部500错误

Coldfusion 提交表单时JWildCardHandler内部500错误,coldfusion,iis-7.5,Coldfusion,Iis 7.5,我们在一个coldfusion网站上得到了这个无情的500错误。我们使用的是Coldfusion 9.0.1,只有在提交表单以更新数据库表时,才会出现此错误。只有一个页面导致了它,但是日志中没有显示发生了什么 我打开了这个站点的详细错误,发现错误是由JWildCardHandler引起的,错误代码为0x00000000 我已经检查了所有的权限。甚至在正在使用的访问数据库上 我在另一台服务器上尝试了相同的代码和数据库,但没有收到任何错误。我尝试确保两台服务器上的IIS和CF的配置完全相同,但仍然出

我们在一个coldfusion网站上得到了这个无情的500错误。我们使用的是Coldfusion 9.0.1,只有在提交表单以更新数据库表时,才会出现此错误。只有一个页面导致了它,但是日志中没有显示发生了什么

我打开了这个站点的详细错误,发现错误是由JWildCardHandler引起的,错误代码为0x00000000

我已经检查了所有的权限。甚至在正在使用的访问数据库上

我在另一台服务器上尝试了相同的代码和数据库,但没有收到任何错误。我尝试确保两台服务器上的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>

更新我们的表格集
#Est#=#保留单引号(EstValue)#,
用户名='#CurrentUser.Username#',
DateCurrent=NOW()
其中Attribute1=#CurrentUser.Attribute1ID#和Attribute2=#Attribute2ID#;
这是我们的堆栈跟踪:

<?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.
0
1.
0x0
服务器1
{00000000-0000-0000-7E06-0080000000E2}
8.
细分
1610614393
0
http://oursite.domain.com:80/subdir/index.cfm
邮递
一般请求启动
{D42CF7EF-DE92-473E-8B6C-621EA663113A}
0
1.
0
12
0x0
服务器1
{00000000-0000-0000-7E06-0080000000E2}
通用ISAPI处理器
{D42CF7EF-DE92-473E-8B6C-621EA663113A}
0
1.
0
1.
0x0
服务器1
{00000000-0000-0000-7E06-0080000000E2}
伊萨皮尤开始
{2E94E6C7-EDA0-4B73-9010-2529EDCE1C27}
0
1.
0
1.
0x0
服务器1
{00000000-0000-0000-7E06-0080000000E2}
C:\ColdFusion9\runtime\lib\wsconfig\1\jrun\u iis6\u wildcard.dll
呼叫ISAPI分机
{ACADE3B2-B7D7-4339-956C-811B4EDB1B24}
0
1.
0
2.
0x0
服务器1
{00000000-0000-0000-7E06-0080000000E2}
ISAPI_扩展_完成
{ACADE3B2-B7D7-4339-956C-811B4EDB1B24}
0
1.
0
2.
0x0
服务器1
{00000000-0000-0000-7E06-0080000000E2}
伊萨皮尤端
{2E94E6C7-EDA0-4B73-9010-2529EDCE1C27}
0
1.
0
33
0x0
服务器1
{00000000-0000-0000-7E06-0080000000E2}
500
0
500.htm
常规\u发送\u自定义\u错误
{D42CF7EF-DE92-473E-8B6C-621EA663113A}
0
1.
0
2.
0x0
服务器1
{00000000-0000-0000-7E06-0080000000E2}
6428
4864
500
0
一般要求(完)
{D42CF7EF-DE92-473E-8B6C-621EA663113A}

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

你能发布代码和完整的错误,包括堆栈跟踪的前20多个条目吗。您检查了哪些日志(请列出它们)。你有没有在谷歌上搜索过“JWildCardHandler错误”,有没有什么有用的建议,你有没有按照这些建议去做?您thusfar尝试了哪些故障排除步骤(列出的步骤除外)?我检查了该站点的CF Admin、IIS日志中的所有日志,并打开了失败的请求跟踪。我已经在谷歌上搜索过很多次了,没有任何帮助。大多数人都有不同的错误代码。不管怎样,我已经尝试了所有的建议。我采取的步骤是:-在应用程序池中尝试在32位和64位模式之间切换。当32位应用程序被启用时,该站点根本不工作-尝试匹配我们其他服务器中的环境设置。即使将CF切换为使用Java 1.7,而不是像我们的其他服务器一样使用其内部JVM-我给了站点文件夹和数据库目录“所有人都已满”权限。我还测试了将数据提交到同一表单处理页面的其他页面,除此之外,所有页面都正常工作。-重新启动CF,重新启动IIS-我还尝试断开CF与IIS的连接并重新连接,我将尝试尽快发布代码。出现的完整错误如下:模块IsapiModule Notification ExecuteRequestHandler JWildCardHandler错误代码0x00000000请求的URL物理路径C:\inetpub\wwwroot\oursite.domain.com\subdir\index.cfm登录方法匿名登录用户匿名失败请求跟踪日志目录C:\inetpub\logs\failedReqLogFiles请更新问题,而不是将额外信息添加到注释中:人们不一定会看到注释。那个错误消息。。。这就是你在浏览器上看到的吗?它看起来不像是人们通常看到的由CF返回到浏览器的那种东西。与堆栈跟踪相同:这看起来不像Java生成的堆栈跟踪。