如何解决文件"nnn.aspx"尚未预编译 [英] How to solve The file 'nnn.aspx' has not been pre-compiled

查看:81
本文介绍了如何解决文件"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"尚未预编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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