пятница, 3 июня 2011 г.

Seven reasons when IIS restarts web application? No! Even more!

Sometimes we got stuck with a problem which can took hours to figure out and a minute to resolve.

A couple of days ago we run into the issue when Target Process was bloody slow.

After short investigations it comes into our mind that it constantly finishes web application and restarts it again.

It was finishing with no clear reason, no exceptions, etc.

There are seven reasons for application restrart in ASP .Net, but no one was fit into our case.

I won't be telling the whole story, but finally we've found additional reason for application restart:

ASP .Net restarts application when a folder is deleted

It is so when a plugin is started and it's javascript mashup with UI implementation is saved under a new folder on Tp.Web (previously created folder is deleted)

We solved this issue by not creating a folder with plugin mashup javascript. We just store javascript with a new name with plugin name prefix added.

Комментариев нет:

Отправить комментарий