Link to home
Start Free TrialLog in
Avatar of MadhuMenong
MadhuMenongFlag for India

asked on

The file has not been pre-compiled, and cannot be requested.

Dear Friends

After publishing my web site i am getting the below error in some of the pagem
"The file .....has not been pre-compiled, and cannot be requested."

we have published the site by the following process

Right click the web site and click Publish website
On the publish screen  all options were deselected and published to a new target folder.

Any advise will be appreciated.
Avatar of Kalpesh Chhatrala
Kalpesh Chhatrala
Flag of India image

Avatar of MadhuMenong

ASKER

Dear Friends,

Inspite of re-publishing the whole website the problem still persists. The initial few request to the website works fine but then after about 20 / 30 minutes the same problem comes up "The file .....has not been pre-compiled, and cannot be requested."

I also noticed that other websites hosted with the same server also throws the same error message. Is it because of some new updates or service packs. Please advice.

I think this usually happens when you are missing a dll or other referenced com object that is not in your bin folder.

If you are using a referenced com that is not in your bin try copying to your bin folder and try publishing it again.
ASKER CERTIFIED SOLUTION
Avatar of MadhuMenong
MadhuMenong
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The problem had happened because of the hosting company may be installing new updates or patches, I am not sure and they are not disclosing. But the fact remains that there was no missing dlls or reference in the application in portal and also it worked perfectly when ported with different hosting service.