I have noticed with .Net 2.0 that there are some reserved names (obviously)
in the framework.
The main one I am having a problem with is "Header.ascx". This works
pefectly during development, and straight after deployment.
Im pretty sure the problem turns up when the application pool the website is
sitting in recycles and somehow the the temp files can no longer be found.
It only ever seems to be happening on this file.
To fix it i have to either delete the temp files and recycle the app pool
or
make a change to the Header.ascx file itself to force the app to recompile
and generate a new temp version of the control.
It happens in both Website Projects and Web Application Projects as well.
I have changed the control name to PageHeader and have not received any
errors since.
Any idea why this is happening?
Graham