Welcome Guest Search | Active Topics | Sign In | Register

eo_web.ashx has not been pre-compiled, and cannot be requested Options
AllisonRose
Posted: Tuesday, February 6, 2024 2:05:40 PM
Rank: Newbie
Groups: Member

Joined: 1/7/2012
Posts: 1
Hello.

When I deploy my ASP.NET application to the production server, I receive this error: "The file 'eo_web.ashx' has not been pre-compiled, and cannot be requested".

I added <add name="EOWebRuntime" type="EO.Web.Runtime,EO.Web"/> to the web.config but the issue persists.

Please advise a solution.

Thank you.
eo_support
Posted: Wednesday, February 7, 2024 12:50:04 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

You can include eo_web.ashx as part of your project and it will be precompiled during the precompiled process. For example, if you uncheck "Allow precompiled website to be updatable", then the output eo_web.ashx will contain the following content:

Code:
This is a marker file generated by the precompilation tool, and should not be deleted!


There are also many posts online that indicates this can occur as an error elsewhere that has nothing to do with precompilation at all. You can check one of the post here and see if it helps:

https://techcommunity.microsoft.com/t5/iis-support-blog/the-file-has-not-been-pre-compiled-error-and-solution/ba-p/945340

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.