发布用于64位计算机的asp.net网站 [英] Publish asp.net Website for 64bit machine

查看:68
本文介绍了发布用于64位计算机的asp.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在WinXP SP2 32位下的Asp.net 2008中开发Web应用程序.我可以在本地系统和测试服务器中发布它.当我将其转移到生产服务器时,我面临着问题.生产环境操作系统是Windows Server 2003 Standard 64位.当我访问登录页面时,出现此错误"../../login.aspx/尚未预编译,无法请求".

是什么原因导致错误消息?是否有阻止IIS加载已编译文件的IIS设置或.NET 2.0设置?任何.dll的

预先感谢.

问候,

Jeevan.

Hi All,

I am developing the web application in Asp.net 2008 under WinXP SP2 32bit. I am able to publish it in the local system and Test server. When i move this to production sever i am facing problems. The production environment OS is Windows Server 2003 Standard 64bit. When i am accessing login page i am getting this error "../../login.aspx/ has not been pre-compiled and cannot be requested".

What could be causing the error message? Any IIS settings, or .NET 2.0 settings which prevents IIS from loading the compiled files? Any .dll''s

Thanks in an advance.

Regards,

Jeevan.

推荐答案

通常是由于缺少程序集而发生的.在此此处进行类似的讨论 [ ^ ].

然后,它可能是.NET Framework的错误配置.在您的IIS中,将网站配置为使用所需的框架版本.

另一个可能的原因是在此处讨论 [ ^ ]出现类似问题.
Mostly it occurs because of a missing assembly. Have a look at this similar discussion here[^].

Then it could be incorrect configuration of .NET Framework. Check in your IIS that website is configured to use the desired framework version.

Another possible reasons are discussed here[^] with similar issue.


好吧,如果您用Google搜索 [ ^ ],您会找到许多解决方案.

这是一个
Well if you google ''has not been pre-compiled and cannot be requested''[^] you will find many solution.

Here is one example [^]


这篇关于发布用于64位计算机的asp.net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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