开发者

w3wp.exe keeping files locked after processing in webservice

I have a webservice and I noted that some dlls in the wwwroot folder are kept logged after the webservice is executed.

After restart of pc, the problem is solved.

Can i have something in my code that rele开发者_运维技巧ases the dlls?


Try to either recycle the AppPool which your webservices runs under, or use iisreset.

iisreset /stop will stop IIS and release the dll's. iisreset /start will start IIS back up again.

If you recycle the Application Pool, then the lock of dll's will be released until someone hits your webservice again, and aquires a new lock.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜