I have a question regarding the "Updateable" compile mode for the new
..NET 2.0 framework.
As I understand, with this deployment mode, the compiler still creates
the ASP_WEB_XXX assemblies for the codebehind files along with the
precompiled pages for the aspx, ascx files.
This is stored within the bin directory. It also leaves the aspx pages
intact in case there are neccessary changes that need to be made and is
recompiled when the page is hit the next time around. So this dynamic
update is a nice feature. But how about when you need to include a new
aspx page? Under the Updateable model, does this still require that I
re-compile the entire project again so that the new page itself gets
the neccessary precompiled pages?
My scenario is similar to this but a little different. I'm running a
webapplication where anytime I add a new user, I create a new homepage
for them. I do this by copying an "aspx" page, that I have setup as
the template home page, and renaming the file to the users name and
then placing the file within a newly created directory with the same
name as the file.
ex) new user added was john doe
create doe.aspx
create and place doe.aspx into a folder named "doe" :
/doe/doe.aspx
the same codebehind runs and populates the aspx page data. This worked
under the previous .NET 1.1 model, but having trouble getting it to
work on the updateable model.
this is the exception I get:
Inner Exception Message:
System.Web.HttpParseException: The base class includes the field
'__userComponent', but its type (namespace.userComponent) is not
compatible with the type of control (ASP.components_ascx).
Any help would be appreciated.
Thanks in Advance.
Kevin