If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Look at the files under root directory, the contents of ASPX are something like “This is a marker file generated by the precompilation tool, and should not be deleted!”. The deployed directory structure looks correct, but when I navigate to the first page I receive “The file '/WhatSite/FirstPage.aspx' has not been pre-compiled, and cannot be requested.” Here’s the kicker: When In my case, after building and publishing, when I view the published pages I see the full source code. http://kelcours.com/not-be/has-not-been-pre-compiled-and-cannot-be-requested.html
I came back to this tonight because we published this site yesterday...all was well. ClickHERE to participate the survey. Do I need to provide a round-trip ticket in check-in? Another possible reasons are discussed here[^] with similar issue. http://stackoverflow.com/questions/602117/how-to-fix-asp-net-error-the-file-nnn-aspx-has-not-been-pre-compiled-and-can
The error was caused by a file PrecompiledApp.config in the site's root directory. There may be cleaner ways of fixing it, but that one worked for me [<:o)] Reply satish_nagde... All rights reserved.
They shouldn't contain any source, they should just have the marker text shown in the question. –bukko Jun 11 '14 at 14:14 Sounds like you are publishing a site When I changed the version inside the MSI it created a new upgrade key and so I thought it might update the web site properly. GO OUT AND VOTE In Doctor Strange what was the title of the book Stan Lee was reading in his cameo? Precompiledapp Updatable Mine was the following failure: System.Web.Mvc, Version=22.214.171.124, Culture=neutral, PublicKeyToken=31bf3856ad364e35 I fixed the issue by adding the following entry at my web sites web.config: © Copyright 2017 kelcours.com. All rights reserved.
© Copyright 2017 kelcours.com. All rights reserved.