CS1061: 'HomePage' does not contain a definition f...
# help-with-umbraco
s
Site is running Umbraco 11.2.0 I'm running into the following error which is producing this in the logs "Connection ID ""11168927086079390226"", Request ID ""8000322b-0002-9b00-b63f-84710c7967bb"": An unhandled exception was thrown by the application." I've copied the full error message below. The site works locally, however, when I uploaded to our development site I had a 500 error. I commented out PageHeader in my code and the logs produced a similar error for another Field. I've tried removing from @inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage and restarted the app pool in IIS. I've checked homepage.generated.cs and homepageProperties.generated.cs and I haven't spotted any differences from my local copy to the development site. Regenerated models. If there was a button I pressed it.
d
Hi there! Which modelsbuilder mode are you using? And are your Umbraco settings on your local database the same as on your deployed development database? Just a sanity check
s
Hi I'm using SourceCodeAuto on both my local copy and my development site. Settings are the identical. I'm obviously missing something out but I can't think what it could be.
d
I've had something like this when an old dll was stuck on my deployed environment, so it might be worth trying to delete all the files from your deployed environment and redeploy.
Just to make sure no old files are stuck there
s
Thanks. I'll try that