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.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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/945340Thanks!
|