CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: NewsGroup Date Entered: 10/31/2007 5:07:35 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 36 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
getmedomi
Asp.Net User
problem when deleting file10/31/2007 5:07:35 PM

0/0

 hi..

         In my web application, under admin module, i have one folder named image, contains some images.

 i m trying to delete my image file through programming.

After deleting the image file, when i tryd to delete the folder, i got the error message that directory is not empty.But actually the image file already deleted,

folder is empty.[When i refresh the browser after geting that error message, the folder is deleting ] . When i debugged by pressing F10 , i got the correct result.( i have heard that visual studio will lock the folder for some time,but i dont know exactly).

What may be the reason.If u hav any solutiion please tell me.

please help...........

Thanks
 

arinhere
Asp.Net User
Re: problem when deleting file2/18/2008 1:51:30 PM

0/0

It's just permission problem....set your ASPNET Machine Account permission to full control, the problem will be resolved.

To set the permission, right clk on the project folder -> security -> add -> advanced -> find now -> ASPNET -> ok

Check the full control box. You are done. Now try to implement your program with another folder, I think it will be resolved. 


Mark it As Answer if it helps you....

My Other Articles

http://www.codeproject.com/KB/aspnet/ImageMagick.aspx
http://www.codeproject.com/KB/aspnet/swf2img.aspx
nps
Asp.Net User
Re: problem when deleting file3/18/2008 8:46:50 AM

0/0

Hi,

If you delete the folder, then the session also lost. 


N.P.Senthil
Software Engineer
purvesh.shah
Asp.Net User
Re: problem when deleting file3/20/2008 12:46:12 PM

0/0

Hi, 

 It's Depend

If your folder is in another location then root path then session is not expire

 

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Unix Power Tools Authors: Shelley Powers, Jerry Peek, Tim O'Reilly, Pages: 1116, Published: 2002
C++ Cookbook: Solutions and Examples for C++ Programmers Authors: D. Ryan Stephens, Christopher Diggins, Jonathan Turkanis, Jeff Cogswell, Pages: 573, Published: 2006
Alan Simpson's Windows XP Bible Authors: Alan Simpson, Pages: 1200, Published: 2005
UNIX Programming: Methods and Tools Authors: James F. Peters, Pages: 464, Published: 1995
Sams Teach Yourself Shell Programming in 24 Hours Authors: Sriranga Veeraraghavan, Pages: 486, Published: 2002
Visual Basic 2005 Recipes: A Problem-Solution Approach Authors: Todd Herman, Allen Jones, Matthew MacDonald, Rakesh Rajan, Pages: 664, Published: 2007
Programming and Problem Solving with C++ Authors: Nell B. Dale, Chip Weems, Mark R. Headington, Pages: 1312, Published: 1998
Visual Basic 2008 Recipes: A Problem-Solution Approach Authors: Todd Herman, Allen Jones, Matthew MacDonald, Rakesh Rajan, Pages: 680, Published: 2008
Mac OS X Disaster Relief: Troubleshooting Techniques to Help Fix it Yourself Authors: Ted Landau, Dan Frakes, Pages: 624, Published: 2002
Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems Authors: William Steinmetz, Brian Ward, Pages: 197, Published: 2008

Web:
How to Really Delete your Files | Hardware Secrets There is a software called SuperShredder that solves this problem. Deleting your files using this program it really "zeroes" all sectors that the file was ...
Cannot delete a file in Windows XP? Here's the simple way to ... If you have encountered this problem, here is a step-by-step process for trying to purge the files you can't delete. It starts with the basics for Windows ...
Error Deleting File or Folder? Delete an in-use (locked) file ... How often have you come across a message like, “Error Deleting File or Folder” ... “Cannot delete file: Access is denied. Make sure the disk is not full or ...
File deletion - Wikipedia, the free encyclopedia The common problem with deleting files is accidental removal of information that later proves to be important. One way to deal with this is to back up files ...
You receive the "Error deleting file Cannot delete INFO2..." error ... When you click the "Empty Recycle Bin" link in the Recycle Bin, you may receive the following error message: If you then click OK, the Recycle Bin icon on ...
"Error deleting File or Folder" - The PC Guide Discussion Forums Do you have reading problems? Don't let it deter you. ... Same error, and if I try to delete the file seperately (Not deleting the folder), ...
Error Deleting File or Folder - Petri.co.il forums by Daniel Petri Error Deleting File or Folder Windows 2000 Pro, XP Pro.
Problem in Deleting File or Folder | TechMynd, Fresh Downloads and ... Cannot delete file: Access is denied - There has been a sharing violation. - The source or destination file may be in use. - The file is in use by.
Problem while Deleting file - UNIX for Dummies Questions & Answers ... All, I am trying to delete a user created file from specified folder. This folder is using for my Team member (ie, Public folder).
tOMPSON’s blog » Blog Archive » Problem with deleting files from a ... One Response to “Problem with deleting files from a samba share”. celpjefscycle Says: January 12th, 2008 at 1:33 am. Thanks for information. ...

Videos:
Vista - deleting files when permission is denied... This fixes problems where the object is not owned by a user on your system. If you are having problems with a locked file/folder try "wholockme" or "...
C++ block mouse movement and deleting files | Beginners Learn how to block mouse movement and delete files in C++.
Judge Rules Go! Wrong for Deleting Files About Hawaiian Air Go! Airlines lost a battle in Federal Court Thursday. Go!'s parent company, Mesa Airlines, wrongfully deleted confidential files about Hawaiian Airl...
BATCH TUTORIAL: Deleting Batch File http://directeffectlive.com This is another batch file tutorial. In this tutorial I will show you how to create a deleting batch file.
Deleting Deleted Data - Removing Recoverable Files? Sub Q Have a problem? Ask in the forum: http://www.mob3.co.uk/forum or the live chat: http://www.mob3.co.uk/chat Here I answer a question submitted by...
Delete Files From Your PC So They Are Totally Unrecoverable delete files from your pc http://www.tryprivacysoftware.com/?deletefiles deleting files doesn't mean they are permanently deleted. It just means they...
The TRUTH behind deleting your Brawl save file. Yeah. Don't do it. Yes, I just added an additional part to the Japanese version. I thought it was funny. :[
Deleting a file in Vista: Bug? Errors..errors...and more errors!
Delete an Undeletable Virus/Malicious File my first video tutorial on deleting stubborn files that keeps coming back.
Deleting Useless FIles Automaticly This Will Show you how to write and automate your own batch file to delete cookies, Temporary files, anything you need to delete! If you need help wi...




Search This Site:










dnn3.0.8 *beta* - file manager security issue

class variables help (c#)

when publishing a wap - "deleting existing files..." takes forever....

configuration error (iis related?) but i want to use cassini

new free h2o forms

are asp.net web application administration settings portable

best way for making a survey system?

the .net platform

problem with using file object

anyone had their tabs hacked lately.

connecting to local server

formating label - easy question

edit not visible on "internal" controls in modules (2.1.2)

bc30456: 'getuser' is not a member of 'membership'

using tinymce in asp.net 2.0 with an complete example

question about banner ads on asp.net site

making text bold underline italic etc in a multiline text box

can't get news_edit to insert rows via stored procedure

error when installing dotnetnuke on my site on webhoste

adding webpart pages or using 1 page, what are the options?

 
All Times Are GMT