"Unable to cast object of type 'ASP.masterpage _master' to type 'MasterPage"
This code has always worked but today it is getting the exception in the
subject line of this post...
protected void Page_Load(objec t sender, EventArgs e)
{
this.Master.Hea dingLabel.Text = "Direct 4506 Purchase"; <--this
gets the cast exception
I'm changing a public property in the master page- we do it all the time. I
googled the error and a lot of people were getting it back in 2006 where it
had to do with a caching bug in IIS I think. Why would I suddenly get this
today? I bounced IIS reloaded the project but to no avail.
Thanks,
Gary
This code has always worked but today it is getting the exception in the
subject line of this post...
protected void Page_Load(objec t sender, EventArgs e)
{
this.Master.Hea dingLabel.Text = "Direct 4506 Purchase"; <--this
gets the cast exception
I'm changing a public property in the master page- we do it all the time. I
googled the error and a lot of people were getting it back in 2006 where it
had to do with a caching bug in IIS I think. Why would I suddenly get this
today? I bounced IIS reloaded the project but to no avail.
Thanks,
Gary
Comment