托管asp.net网站 [英] Hosting of the asp.net web site

查看:111
本文介绍了托管asp.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



谁能帮我解决问题所在.实际上,我已经开发了一个应用程序,并且在我的本地系统中运行良好.我已经发布并托管了该网站.当我访问该网站时,出现以下错误

我已在web.config文件中将自定义错误模式更改为关闭,并且可能会看到以下错误.

文件"/Admin/Login.aspx"尚未预编译,因此无法请求.

Hi,

Can any one help me where is the problem. Actually i have developed a application and it worked fine in my local system. i have published the site and hosted it . when i am accessing the site i am getting the Following Error

i have changed the custom error mode to off in the web.config file and could see the following error.

The file ''/Admin/Login.aspx'' has not been pre-compiled, and cannot be requested.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The file '/Admin/Login.aspx' has not been pre-compiled, and cannot be requested.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
Stack Trace: 

[HttpException (0x80004005): The file '/Admin/Login.aspx' has not been pre-compiled, and cannot be requested.]
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +8764830
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
   System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +126
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +62
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
   System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


请任何人指导我如何解决这个问题.

在此先感谢

问候,

aditya.


Please can any one guide me how can i solve this issue.

Thanks in advance

Regards,

aditya.

推荐答案



你可以尝试:
http://msdn.microsoft.com/en-us/library/e22s60h9(VS .85).aspx [ ^ ]

谢谢,
Hemant
Hi,

can you try:
http://blogs.msdn.com/b/asiatech/archive/2009/06/12/the-file-xxx-xxx-aspx-has-not-been-pre-compiled-and-cannot-be-requested.aspx[^]

http://msdn.microsoft.com/en-us/library/e22s60h9(VS.85).aspx[^]

thanks,
Hemant


更多尝试使用的链接

http://www. velocityreviews.com/forums/t120117-error-when-moving-a-vs-2005-precompiled-site-to-test-server.html [ http://connect.microsoft.com/VisualStudio/feedback/details/614493/misleading-error-message-the-file-default-aspx-has-not-been-pre-compiled-and-无法请求 [
A couple more links to try

http://www.velocityreviews.com/forums/t120117-error-when-moving-a-vs-2005-precompiled-site-to-test-server.html[^]

http://connect.microsoft.com/VisualStudio/feedback/details/614493/misleading-error-message-the-file-default-aspx-has-not-been-pre-compiled-and-cannot-be-requested[^]


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

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