的Windows 2008 / IIS 7网站工作在64位模式罚款32位模式下无法正常工作 [英] Windows 2008 / IIS 7 Website works fine in 64bit mode does not work in 32bit mode

查看:246
本文介绍了的Windows 2008 / IIS 7网站工作在64位模式罚款32位模式下无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立的网站在Windows 2008 / IIS7需要报告功能的32位模式。一切工作正常使用的应用程序池允许32位应用程序设置为false,但是当我设置的应用程序池,让32位应用程序设置为true,我得到404错误,因为被调用的路径得到改变。
下面是IIS日志片段:


  

UAT设置为false - 工程罚款304意味着该请求被高速缓存
  2012-07-09十八点29分56秒xxx.xx.xxx.xx GET /Metron/images/flags/ae.png - 80
   - xxx.xx.xxx.xxx Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+InfoPath.2;+MS-RTC+LM+8)
  304 0 0 109


  
  

uatext设置为true - /美唐是从路径和浏览器中删除
  抛出一个404错误。 404错误表示请求项目已移动或
  无法找到。 2012-07-09 18点24分33秒xxx.xx.xxx.xx GET
  /images/flags/ae.png - 80 - xxx.xx.xxx.xxx
  Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+InfoPath.2;+MS-RTC+LM+8)
  404 0 2 93。



解决方案

看来,即使你试图使用.NET框架可用,这可能是不正确绑定到IIS安装。导航到C:\\ WINDOWS \\ Microsoft.NET \\框架\\然后到对应的.NET版本,你要使用的目录。 ASPNET_REGIIS.EXE -i:由安装框架。另请参阅: http://msdn.microsoft.com /en-us/library/k6h9cz8h(v=vs.80).aspx 。又见这个计算器的问题:<一href=\"http://stackoverflow.com/questions/87107/how-do-i-fix-404-17-error-on-win-server-2k8-and-iis7\">How我固定在Win服务器2K8 404.17错误和IIS7

I am building web site on windows 2008 / iis7 that requires 32bit mode for reporting functionality. Everything working fine with app pool allow 32bit applications set to false, but when I set app pool to allow 32bit application set to true I get 404 error because the path being called is getting changed. Below is clip from the IIS log:

uat set to false - Works fine 304 means that the request is cached 2012-07-09 18:29:56 xxx.xx.xxx.xx GET /Metron/images/flags/ae.png - 80 - xxx.xx.xxx.xxx Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+InfoPath.2;+MS-RTC+LM+8) 304 0 0 109

uatext set to true - /Metron is removed from the path and browser throws a 404 error. A 404 error means the request item has moved or cannot be found. 2012-07-09 18:24:33 xxx.xx.xxx.xx GET /images/flags/ae.png - 80 - xxx.xx.xxx.xxx Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+InfoPath.2;+MS-RTC+LM+8) 404 0 2 93.

解决方案

It seems that even though the .NET framework you are trying to use is available, it is probably not properly bound to the IIS installation. Navigate to c:\Windows\Microsoft.NET\Framework\ then to the directory corresponding to the version of .NET you are trying to use. The install the framework by: aspnet_regiis.exe -i. See also: http://msdn.microsoft.com/en-us/library/k6h9cz8h(v=vs.80).aspx. See also this StackOverflow question: How do I fix 404.17 error on Win Server 2k8 and IIS7

这篇关于的Windows 2008 / IIS 7网站工作在64位模式罚款32位模式下无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆