PDA

View Full Version : سوال: خطا هنگام اپلود سایتThe file '/Home.aspx' has not been pre-compiled, and cannot be requested.



آسمان زندگی
سه شنبه 03 اردیبهشت 1392, 08:34 صبح
وقتی سایتم رو اپلود میکنم خطای زیر رو می ده کسی می دونه چطور باید رفعش کرد؟
Server Error in '/' Application.

The file '/Home.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 '/Home.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 '/Home.aspx' has not been pre-compiled, and cannot be requested.] System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +12591542 System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +203 System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) +249 System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +56 System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +42 System.Web.MaterializeHandlerExecutionStep.System. Web.HttpApplication.IExecutionStep.Execute() +516 System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +288

m-rezaee
سه شنبه 03 اردیبهشت 1392, 09:15 صبح
من فکر می کنم، فایل precompile سایت را همراه صفحات ارسال کرده اید. به نظر من دوباره پروژه را build و publish کنید