Quantcast
Channel: ActiveTopics
Viewing all articles
Browse latest Browse all 72689

Random BUG - Partial View / Controller Error when updating files in the App_code Folder

$
0
0

Hi,

I have encountered this a number of times and its very annoying. Sometimes in my live environment if I update some files (usually files in the App_Code folder) following the updates I get Partial View Errors.

This seems to happened when I change files that require the site to re-build. Its as if it isn't rebuilding something correctly.

Please see the attachment...

enter image description here

Actually there is nothing wrong with the code and the issue doesn't exist within the controller or anything. If I pull the whole project locally it works fine. This is what makes this very frustrating.

I always manage to fix this but it sometimes takes me 30/40 mins everything which is unacceptable since I am only trying to deploy small / quick changes to production sites.

From memory I think I sometimes manage to fix this by editing the web.config so it forces a rebuild. This is very rare though. usually I have to delete the whole website and re-deploy the entire site.

I really want to understand what is going on here and why. And more importantly if there is a quicker fix other than re-deploying the whole website.

Kind Regards

David


Viewing all articles
Browse latest Browse all 72689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>