Hi, I'm getting this error. (Thanks if you can help me) ---------------------------------------------------- Exception Details: System.Web.HttpException: The directory '/ejemplos/pruebalink/App_Code/' is not allowed because the application is precompiled. ----------------------------------------------------- Server Error in '/ejemplos/pruebalink' Application. -------------------------------------------------------------------------------- The directory '/ejemplos/pruebalink/App_Code/' is not allowed because the application is precompiled. 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 directory '/ejemplos/pruebalink/App_Code/' is not allowed because the application is precompiled. 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 directory '/ejemplos/pruebalink/App_Code/' is not allowed because the application is precompiled.] System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +8781612 System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125 System.Web.Compilation.BuildManager.CompileCodeDirectories() +387 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +248 [HttpException (0x80004005): The directory '/ejemplos/pruebalink/App_Code/' is not allowed because the application is precompiled.] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +62 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +421 System.Web.Compilation.BuildManager.CallAppInitializeMethod() +31 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +605 [HttpException (0x80004005): The directory '/ejemplos/pruebalink/App_Code/' is not allowed because the application is precompiled.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8950644 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
...I know how this can be pretty whacked. The folder has to be directly down your Aps tree. .Site ..App_Code ..App_Data ..Bin The reason I'm saying I know how whacked it can be is the new projects coming out of Microsoft are creating so many complex folders it can be a real head scratcher.