[英]Asp.net on Windows 2003 R2 Enterprise on IIS 7.5
I recently upgraded my web server to Windows 2003 R2 Enterprise 64 Bit. 我最近将Web服务器升级到Windows 2003 R2 Enterprise 64位。 Now my website developed using Asp.net is not able to load reports developed using Crystal reports. 现在,我使用Asp.net开发的网站无法加载使用Crystal报表开发的报表。 The reason is Crystal reports dll are unable to load as they are 32 bit. 原因是Crystal报表dll无法加载,因为它们是32位。 To solve the above issue, I forced the aspnet_compiler.exe to compile in X86 mode. 为了解决上述问题,我强制将aspnet_compiler.exe以X86模式进行编译。 This was achieved by adding the following element in web.config 这是通过在web.config中添加以下元素来实现的
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
warningLevel="4"
compilerOptions="/platform:x86">
After adding this, I compiled and deployed again. 添加后,我再次编译并部署。 But the site stopped working. 但是该站点停止了工作。 It started throwing exception which stopped application pool. 它开始引发异常,从而停止了应用程序池。
It will be great help if somebody can find a solution for this. 如果有人可以找到解决方案,这将是极大的帮助。
Thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.