StealthRT
StealthRT

Reputation: 10552

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

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

Upvotes: 3

Views: 27857

Answers (3)

David
David

Reputation: 1134

Make sure the site is configured as an application on IIS

Upvotes: 1

Reagan
Reagan

Reputation: 79

Problem:
When you upload the web application, sometimes the most important files in the bin folder (e.g., the .dll files) will not upload correctly.

Solution:
Re-upload the bin folder. Remember to overwrite.

Upvotes: 3

Tareq
Tareq

Reputation: 1417

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.

Upvotes: 5

Related Questions