Problema de pre-compiled

Boa tarde pessoal,

Alguém já passou por esse problema e sabe como solucionar?

Server Error in ‘/’ Application.
The file ‘/index.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 ‘/index.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 ‘/index.aspx’ has not been pre-compiled, and cannot be requested.]
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +9871702
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +103
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) +165
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +43
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +64
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +191
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +156
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3062.0

Bom dia bruno.n.hirata,
A partir de que momento vc passou a ter esse erro? tipo vc criou o projeto e ja comecou assim, ou pegou um projeto que ja tava dando esse erro, ou depois de tal alteração começou a dar esse erro?

Abraços

Bom dia FacaNaCaveira,
Eu peguei o projeto que já tava dando esse erro. Tem alguma ideia do que pode ser?

Falai nobre voce pode tentar umas dessas soluçoes expostas aqui nesse link
how-to-fix-asp-net-error-the-file-nnn-aspx-has-not-been-pre-compiled-and-can
Acredito que seja igual a seu problema. Normalmente utilizo a solução que possui mais likes ate pq sao as que parecem ter mais logicas nas soluções apresentadas. Como ta seu ingles? se precisar de ajuda tamos ai.
Abraços

Acredito que esse erro é genérico. Eu tentei usar a configuração de pré-compilação durante a publicação. Mas agora aparece esse erro:

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0030: Cannot convert type 'MasterPage' to 'ASP.masterpage_master'

Source Error:

[No relevant source lines]

Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\24583a4d\55dde294\App_Web_index.aspx.cdcab7d2.c4jt3ja5.0.cs Line: 181

Compiler Warning Messages:
Warning: CS0108: 'ASP.index_aspx.Profile' hides inherited member 'index.Profile'. Use the new keyword if hiding was intended.
Source Error:
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\24583a4d\55dde294\App_Web_index.aspx.cdcab7d2.c4jt3ja5.0.cs
[No relevant source lines]
Warning: CS0108: 'ASP.index_aspx.ApplicationInstance' hides inherited member 'index.ApplicationInstance'. Use the new keyword if hiding was intended.
Source Error:
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\24583a4d\55dde294\App_Web_index.aspx.cdcab7d2.c4jt3ja5.0.cs
[No relevant source lines]

Sabe o que pode ser?