如何解决文件"nnn.aspx"尚未预编译

编程入门 行业动态 更新时间:2024-10-20 11:44:12
本文介绍了如何解决文件"nnn.aspx"尚未预编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个预编译的网站,所有页面在部署和运行网站后都能正常运行.但只有一页显示以下错误. 文件"nnn.aspx"尚未预编译 如何解决这个问题我很需要,这在安装@客户端方面非常重要.

I have a precompiled web-site all the pages work fine after deploying and running the site. but only one page gives the following error. The file ''nnn.aspx'' has not been pre-compiled How to resolve it kindly I am in need and it is very very important Installation @ client side.

推荐答案

有趣的错误.根本原因可能是目标服务器上缺少参照实体. 几乎没有推荐的解决方案.您可以尝试以下项目: 1.重新部署相同文件将修复 2.将TargetFrameworkMoniker ="3.5"添加到AspNetCompiler指令. 3.删除bin文件夹中的所有文件,然后重新部署 我确定它将解决此问题. Interesting error. Root cause could be missing referenece assembies on the destination server. There are few recommended solutions. You can try the below items: 1. Redeployment of the same file will fix 2. Add TargetFrameworkMoniker="3.5" to your AspNetCompiler directives. 3. Delete all files in bin folder and redeploy them I''m sure it will resolve the issue.

更多推荐

如何解决文件"nnn.aspx"尚未预编译

本文发布于:2023-10-25 08:42:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1526465.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何解决   文件   quot   nnn   aspx

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!