文件'www.abc.com/xyz.aspx'尚未预编译,因此无法请求. [英] The file 'www.abc.com/xyz.aspx' has not been pre-compiled, and cannot be requested.

查看:62
本文介绍了文件'www.abc.com/xyz.aspx'尚未预编译,因此无法请求.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在那里使用固定的命名和单页程序集来发布我的项目
发布项目后,我将所有文件以程序集的形式放在bin文件夹中.然后,我复制所有文件并通过
上传 filezilla ftp软件.
现在文件已成功上传.无论在web.config中需要执行什么更改,我都已经完成了&我在服务器上配置了数据库.

我有我自己的域名,即www.abc.com/xyz.aspx,当我输入此地址n按Enter时,出现以下错误
文件"www.abc.com/xyz.aspx"尚未预编译,因此无法请求."
请帮我,我尝试从上个星期开始解决这个问题,但是一切都是徒劳的..如果有人有什么想法,那么请告诉我...

hii there i have used fixed naming and single page assemblies to publish my project
after publishing my project i get my all files in assemblies form inside the bin folder .Then i copy my all files and upload through the
filezilla ftp software .
Now the files upload successfully .whatever changes need to done in web.config i have already done & i configure my database on server.

i have my own domain name i.e www.abc.com/xyz.aspx when i put this address n press enter i get the following error
"The file ''www.abc.com/xyz.aspx'' has not been pre-compiled, and cannot be requested."
pls help me i try to solve this problem from last one week but all in vain ..if anybody have any idea then pls tell me ...

推荐答案

当将具有单页程序集的项目从测试转移到生产时,可以使用此功能.这是那些令人讨厌的错误之一,实际上并不意味着它的意思.

9/10的时间是因为缺少依存关系.确保在您的dev bin文件夹中具有所有发布库文件夹中的库.此外,还要确保将要安装到GAC的所有使用的组件都安装在目标位置.

通常是我的第三方GAC.
I always get this when moving projects with single page assemblies from test to production. It''s one of those annoying errors that doesn''t actually mean what it says.

9/10 time it will be because there''s a dependancy missing. Make sure you have all the libraries in your publish bin folder that you have in your dev bin folder. Also make sure that any components which you use which install to the GAC are install installed at your target destination.

It''s the 3rd party GAC one''s which normally get me.


在这里查看类似的讨论:

[已解决]接收文件''/default.aspx "尚未预先编译,因此无法请求. [ http://social.msdn.microsoft.com /Forums/zh-CN/msbuild/thread/70a7842b-222d-43f8-a8ea-6f28aa9d026a/ [
Look at the similar discussions here:

[Solved] Receiving The file ''/default.aspx'' has not been pre-compiled, and cannot be requested.[^]

http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/70a7842b-222d-43f8-a8ea-6f28aa9d026a/[^]


这篇关于文件'www.abc.com/xyz.aspx'尚未预编译,因此无法请求.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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