IIS重新启动MVC3应用程序时删除子目录 [英] IIS restart MVC3 application when delete subdir

查看:205
本文介绍了IIS重新启动MVC3应用程序时删除子目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下结构目录

root
     temp
        User_related_folder
          preview1.jpg
          preview2.jpg
          preview3.jpg

我需要在用户注销删除User_related_folder。但是当我做我的应用程序重新启动。为什么它的发生是有可能解决这个问题?

I need to delete User_related_folder when user logout. But when i do that my application restart. Why does it happend and is it possible to fix that?

我的应用程序在aplication池的工作与.NET 4.0的集成模式。我尝试SystemNetwork和本地系统凭据。

My application working under aplication pool with .net 4.0 in integrated mode. I try SystemNetwork and local system credentials.

推荐答案

有还是没有正确的答案。现在我只是删除子目录中的所有文件,并没有删除子目录。

There are still no correct answer. For now i just delete all files from subdir and do not delete subdirectory.

这篇关于IIS重新启动MVC3应用程序时删除子目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆