I've been creating various master pages for my site that contain custom logic.
I've found that uploading revised DLLs to my site's bin directory at my hosting service (www.softsyshosting.com) doesn't cause Umbraco to "see"/reload the changed DLL.
The only workaround I've found so far is to re-upload the web.config file, which resets the "full trust" permission Umbraco requires. Having the hosting company re-establish full trust seems to cause Umbraco to rescan the bin directory. But it's an ugly solution, not to mention being a pain in the butt :).
BTW, I've tried simply starting and restarting the website through the hosting company's online control panel, but that doesn't do the trick.
What's a better way to force Umbraco to rescan the bin directory?
Do you have access to the application pools? if so you can restart the app pool this will bring umbraco to reload the whole app and also to reflect the bin bin folder
If your hosting company provides an administration interface, like plesk, you could simply edit web.config (or "touch" it, by simpy resaving it), that should leave any permissions intact.
Getting Umbraco to Recognize Revised DLL
I've been creating various master pages for my site that contain custom logic.
I've found that uploading revised DLLs to my site's bin directory at my hosting service (www.softsyshosting.com) doesn't cause Umbraco to "see"/reload the changed DLL.
The only workaround I've found so far is to re-upload the web.config file, which resets the "full trust" permission Umbraco requires. Having the hosting company re-establish full trust seems to cause Umbraco to rescan the bin directory. But it's an ugly solution, not to mention being a pain in the butt :).
BTW, I've tried simply starting and restarting the website through the hosting company's online control panel, but that doesn't do the trick.
What's a better way to force Umbraco to rescan the bin directory?
- Mark
Do you have access to the application pools? if so you can restart the app pool this will bring umbraco to reload the whole app and also to reflect the bin bin folder
hth, Thomas
If your hosting company provides an administration interface, like plesk, you could simply edit web.config (or "touch" it, by simpy resaving it), that should leave any permissions intact.
Modifying the /bin folder will force IIS to restart the application pool. You'll know if it did as your site will be slow for first request.
is working on a reply...