Vb.net – ASP.net This is a marker file generated by the precompilation tool, and should not be deleted

.net-4.0asp.netiispre-compilationvb.net

I am currently getting this when visiting my http:// websitehere.com/excelData.aspx page:

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

The file system directory on the server looks like this:

--mainDir
 |--excelData.aspx
 |--PrecompiledApp.config
 |--Web.config
 |--bin
   |--App_Web_cuydkh1j.dll
   |--exceldata.aspx.cdcab7d2.compiled

Not sure what I need to add/remove in order for it to display my page without that precompilation tool text on it.

The IIS server is version 6.1

Best Answer

One of the reasons for this problem is the file PrecompiledApp.config is missing from the root of your site (this file is generated by the publishing wizard).

Hope this help others.