Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Remove directory problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SushiSean - 13 Dec 2007 17:34 GMT
I have some site on asp.net 2.0 and it works with directories - create and
remove them with files inside. I never have any problems with create, but a
lot of times when I am tring remove directory it is freezing. I read some
info about in asp.net 2 when you remove directory it tring reload project or
something like this.
Any way how I should remove without this problem?
George Ter-Saakov - 13 Dec 2007 18:50 GMT
From my experience both Create and Remove will restart .NET application.
My guess would be if you mark parent directory as read only and not
executable in "IIS Managment console" then ASP.NET might not "watch" it and
it's subfolders. And let you do anything you want there

You have to test though.

George.

>I have some site on asp.net 2.0 and it works with directories - create and
> remove them with files inside. I never have any problems with create, but
[quoted text clipped - 4 lines]
> something like this.
> Any way how I should remove without this problem?
bruce barker - 13 Dec 2007 20:37 GMT
use the app_data folder as the parent, or folders outside the website.

-- bruce (sqlwork.com)

> From my experience both Create and Remove will restart .NET application.
> My guess would be if you mark parent directory as read only and not
[quoted text clipped - 13 lines]
> > something like this.
> > Any way how I should remove without this problem?
SushiSean - 14 Dec 2007 17:36 GMT
Thank you, but can you told my why link like this
http://localhost:53702/homesite/App_data/1.txt
doesn't work? I need put some images there and have dirrect http link on
this, but I get "HTTP Error 403 - Forbidden". How make it work?

> use the app_data folder as the parent, or folders outside the website.
>
[quoted text clipped - 17 lines]
> > > something like this.
> > > Any way how I should remove without this problem?
SushiSean - 15 Dec 2007 00:01 GMT
Access to the path 'C:\work\testsite\App_Data\upload\newdir3' is denied.
Why it still happends??

> use the app_data folder as the parent, or folders outside the website.
>
[quoted text clipped - 17 lines]
> > > something like this.
> > > Any way how I should remove without this problem?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.