在ASP.NET 2.0 开发过程中,有时候开发人员可能会遇到这样的页面异常:
Could not load file or assembly 'App_Web_****, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
异常信息中的****是一个随机字符串,我们知道App_Web_****是一个ASP.NET即时编译的临时程序集。
我是今天在用Orcas beta 1开发一个基于WCF服务的浏览器应用时遇到该问题的,通常地讲,这是一个ASP.NET 2.0处理临时程序集的已知问题,ASP.NET论坛上的billr578说微软建议:
(they suggested) setting batch compilation to false. Basically put batch="false" in the compiliation tag in your web.config. Apparently this is an issue they're working on.
也就是说在web.config里配置成这样子:
<compilation debug="true" batch="false">...
这个解决方案对我有效。
此外,微软还对此提供了一个处于测试阶段的HotFix,您可以通过访问http://support.microsoft.com/kb/915782/以查看相关描述,以及获取对应的补丁程序。我猜该补丁应该会要集成到.NET Framework 2.0 SP 1中发布吧。
分享到:
相关推荐
* src/rpc.nisd/nisd_lookup.c (nis_lookup): Fix debug output. 2001-04-22 Thorsten Kukuk <kukuk@suse.de> * src/keylogin/keylogin.c (main): Allow reading of password from stdin. * etc/rc.config....
*) Bugfix: new sessions were not always stored if the "ssl_session_cache shared" directive was used and there was no free space in shared memory. Thanks to Piotr Sikora. *) Bugfix: multiple X-...
1 图象绘制完成后,将文件存为24位位图格式的BMP图象文件。 2 去除前54Byte内容. 3 改名为BODY+数字.FIX 4 修改CHECKCODE.ASP,调用你新做的这个文件.
*) Bugfix: switching to the next upstream server in the stream module did not work when using the "ssl_preread" directive. *) Bugfix: in the ngx_http_v2_module. Thanks to Piotr Sikora. *) Bug...
虚拟机以前比较卡主要是虚拟机显卡的问题,现在用fix_yosemite_vm_graphic_performance.zip这样的东西,让虚拟机不卡
ML-2160-V1.01.01.05_FIX_MA
8)....Fixed: Silently ignore and fix invalid values in project options EurekaLog 7.2 Hotfix 2 (7.2.2.0), 30-April-2015 1)....Fixed: Confusing message in Manage tool when using with Trial/Pro 2).......
电脑需先安装Keil MDK5。此固件库为Keil官方提供,直接双击安装即可,安装成功后在MDK5工程的Device中可以选择STM32该系列的ARM芯片。...Terminating app_main thread with osThreadExit() to avoid endless loop.
AGC8.4.300_V9.2_snap_Mod.apk
borland 64 软件调试出错. 解决Assertion failure: (!SetThreadContext failed) in ..\win32src\thread32.cpp 问题
ADS2011_10_600破解 eetop.cn_eetop.cn_ads2011.10win_fix.rar if ADS2011.10 install to C:\ADS2011_10 Users folder in D:\Users\Default
.NET_Component.pdf Building_a_SCADA_System.pdf Change_Management_and_iFIX.pdf Configuring_Security_Features.pdf Creating_Pictures_v2.pdf ...Viewing_Pictures_from_a_Web_Browser.pdf Writing_Scripts.pdf
Fix: C/C++ Source File: added *.hh file association Fix: Project > Add and Remove Project Files - fixed keyboard short cut in prompt to add top level sub-directories. Fix: Crash could happen when ...
MELHORA PING FIX LATENCY
News in 3.06*Fix bug in C++Builder.*Fix bug in scrollbar resize.*Fix bug in Delphi7 XPmanifest component.News in 3.05*Fix bug when move controls in different forms.*Fix problem in TStatusbar that is ...
1.8.5 new features: * 1.支持数据预取 bugfix: * 1.getStorage 相关 API 判断 Date 格式问题 mac 文件地址; windows 文件地址; ...new features: * 1.IDE ...修复 AppData 面板修改数据后页面反复切换数据丢失问题 m
ChipGenius_v4_20_1107_fix.rar
9260328582682381212.支持vivoOPPO系列GCAM_8.4.400.42.XX_SHAMIM_V9FIX.apk
eBoostr_4.5.0.575_Fix.rar