Frage

I'm working on a project where administrators need to be able to add/delete/edit addins. The addins consist of 3 different dll's and 2 configuration files. when the addin hasn't been loaded ever i can delete it. however, when a user is currently using or has used the addin, I am no longer able to remove it without getting an Unauthorized access exception.

I'm able to delete the configuration files but not the dll's.

Is it possible to delete addins completely without restarting IIS or the site?

Thank you in advance!

War es hilfreich?

Lösung

The unauthorized access exception is likely being thrown because the dll is in use. Even it if wasn't, deleting it would restart your application since ASP.NET monitors assembly and config file changes and automatically restarts the application.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top