Configuration :: Cannot Delete A Folder In A Website

Dec 13, 2010

On our website, we have an application within our website. The following is the folder structure:

website1 (main website)
bin directory1
website2(an application)
bin directory2
webconfig2
webconfig1

There are other folders under each of the main folders which contain other pages, images, etc.

We're trying to upgrade the website and are encountering some difficulties. We want to remove the website2 from the main website to see it it's causing the problem.

However, we cannot remove the bin folder and so we can't remove the website2 folder. We've been able to delete everything but the bin folder itself. We've tried downing the website and the application pool but we still get the 'access denied' error message.

View 2 Replies


Similar Messages:

Configuration :: Can Store Website Contents In A Folder That Is Located On Website

Apr 27, 2010

I need to have a copy of all my pages, bin fold, data folder, etc stored in a folder in the root of project called installation.

Once I have copied the contents of my web site into the installation folder how can I tell the complie/run process to ignore that folder ?

View 1 Replies

Configuration :: Add Subfolder To Main Website Folder In Iis?

Apr 21, 2010

I currently have a dedicated server running a number of sites, one of these sites I would like to add a subfolder to which runs a seperate index.html file, so effectively it looks like a different site.

I am struggling to acheive this, can anybody give me the steps involved to make this happen?

To clarify, i have a web address for example www.mydomain.com and would like users to browse to www.mydomain.com/subfolder and open up a sub folder.

View 1 Replies

Configuration :: Put Site In Sub Folder Of Main Website?

Jan 26, 2011

I have a .net website that I've built but here's the catch - when it's deployed I don't know whether it will be deployed to the root of the site or to a sub folder of a larger site (and it needs to be able to move around between places)

And - here's the important bit - we will have zero access to IIS on the live server so this just has to run straight away.

So far I've managed to find work arounds for things like paths to resources but I now need to use a 3rd party component (.dll).

Normally this would go in the bin folder and, if I run my site in the root of the website it works fine but, as soon as we move the site to a sub folder, the reference to the 3rd party component wont work.

Now - I know normally you'd suggest creating a virtual directory under IIS but remember - I HAVE NO ACCESS TO IIS.

So - is there a way to still use 3rd party components in my project and have my project all run in a sub folder of a website?

And no - I can't move just the bin folder to the root of the site - it all has to sit within its own folder.

View 2 Replies

Configuration :: App_GlobalResources Folder In Publish Website?

Oct 18, 2010

i am developing a multi language website,

in the App_GlobalResources folder i put the 3 folder for the language that contans .resx files. its works fine when i test it from visual studio.

i have VS2008 SP1 with .net frameword3.5 SP1

when i publish the project and configure it to IIS, i found this error.......

Server Error in '/' Application.

Could not find a part of the path 'D:PrismWebPrecompiledWebPrismWeb2App_GlobalResources'.

Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:PrismWebPrecompiledWebPrismWeb2App_GlobalResources'.

View 2 Replies

Configuration :: Exclude A Folder When Build The Website?

Aug 5, 2010

VWD 2008 Express.

I have a folder in my project that contains files I do not want to process (they are only for reference) when I build the web site. These files produce errors because they reference things I do not have in my site. How can I exclude a folder so that it is not processed during a build?

View 2 Replies

Configuration :: Give Website Permission To See Folder On The Server?

May 13, 2010

How can I give my ASP.net website permission to see this folder on the server? C:PVSWin. The website is actually running on a virtual path D:WebSitesAdco.We are running IIS ver 6.The website uses a table from Pervasive to locate Vendors. The SqlDataSource works from the VS2008 IDE which is running on the server, but if a user logs into the website remotely they get this error:ERROR [IM003] Specified driver could not be loaded due to system error 1114 (Pervasive ODBC Client Interface). This error generally indicates that the path to the DB components is not found, or is not available to the calling program, so I guess that the website does not have permissions.

View 5 Replies

Forms Data Controls :: Delete Images From Folder Using Gridview Delete Link?

Feb 3, 2010

Using "Enable Delete" from Gridview control, I can delete (besides, update, sort, paging, etc) data from the database (this is done automatically). However, how can I delete the actual image that resides in my image folder (i.e. from "pix" folder )? What is the best way to delete image? If using code behind, how? Please write a full code for me. Here is my source code.

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="photoID"

View 12 Replies

Hudson Continuous Integration - Can Copy Contents Of A Folder To Another Folder Or Website

Feb 9, 2010

Im trying out the Hudson Continuous Integration. After the build is executed i want to copy the content of the ReleaseBuild to another website on the server.This should be possible i guess but i cant seem figure it out.I know this can be done in nAnt and msbuild but i need to make Hudson do it, eg plugin or something.

View 1 Replies

Web Forms :: Folder To Store WebControl, Without Actually Creating That Folder On Website

Dec 16, 2010

I want to create a folder to store some web controls, so the site structure doesn't have a zillion files in the root.

Except that if I create an ordinary folder, that folder is also visible on the web site. MSDN said you cannot put it in App_Code, and it doesn't really make sense to put it in other special folder like App_Data or App_Theme.

View 3 Replies

Configuration :: How To Read Write Folder Contents Outside Project Folder

May 15, 2010

We store backup archives in subfolders of a folder on one of the server's external USB drive. I would like to have an ASP.NET app read the contents of this folder so the manager can view the backup files to confirm backups are working and optionally delete these backup files when an old drive is reconnected so it can be used for the next weeks backups.

This backup folder is oubviously outside the server's webroot. Is there some way I can grant authority so the ASP.Net app can access this folder for this purpose? I would be using VS Web Express, so can't create any signed packages and such.

View 3 Replies

Configuration :: How To Publish The Cs File Into Root Folder Instead Of Bin Folder

Mar 14, 2011

When we select pull down menu Build -> Publish .... website. The cs extension file dropped into bin folder instead of root folder.

View 2 Replies

C# - Can Use Reflection To Find The Bin Configuration Folder Instead Of The Temporary Folder

Mar 11, 2010

I have an ASP.NET website and I want to find the /bin/[Configuration] folder to use an external tool (an exe file). When I use reflection to get calling assemblies location it returns something similar to:

C:WindowsMicrosoft.NETFramework\...Temporary ASP.NET Filesa1388a5e\...my.dll

Since each dll has its own directory under the temp ASP.NET Files this fails for me. How can I get the location of the compiled binary folder where the dll's and the .exe is (i.e. bin/) instead of asp.net's temporary cache?

View 3 Replies

Configuration :: Adding A Virtual Folder To The Application Folder?

Sep 21, 2010

I have an asp page that needs to download files off of a virtual directory.

I wanted to add the virtual directory to the Visual studio app.

View 2 Replies

How To Delete Files From Folder Using .net

Jan 22, 2011

I have an application in which the admin can upload files and the visitors of a website can download those files. I want to add an option that will allow admin to delete unwanted files from that folder how can this be done usin asp.net(vb).

View 16 Replies

Delete The Image From The Folder?

Mar 9, 2010

I retrieve the image and save in a folder but i don't how to delete the image from the folder which have been save.. I used vb.net and sql server 2005.

View 5 Replies

Sub-Website In IIS - Create A Virtual Directory Under The Website Folder?

Jan 20, 2011

I have a asp.net website in the IIS which is available on internet as www.xyz.com now I have been asked to prepare another website which will be accessed via www.xyz.com/abc.

For this, do I need to create a virtual directory under the website folder XYZ in IIS? or is there any other way to achieve this.

View 2 Replies

Web Forms :: How To Delete Images From Folder

Mar 22, 2010

i want to delete images from folder dynamically,but it didnt delete

someone told me that i have to add command argument then the file name in it

but i dont know why i need the file and where can i put the file(in any folder)?

thats my code

[Code]....

and thats my CS

[Code]....

View 4 Replies

Delete Images From Folder Physically In Vb.net?

Oct 9, 2010

I am using grid view and on grid delete image click i remove product but i also want to remove image phisically from the folder.i have deleted logically but i need code to delete from folder ?

VB.NET

View 6 Replies

How To Delete A Single File From Web Folder

Mar 27, 2010

A blog user uploads pictures to a picture folder on the web server. Whenever the user deletes a post, any picture associated with the deleted post must also be deleted. Every post record is saved with its picture jpg name on the backend.

View 7 Replies

Web Forms :: Delete Folder Or Directory Using C#?

Apr 3, 2013

I want to delete a folder in asp.netTo create the folder Directory.CreateDirectory(Path.Combine(Server.MapPath("~/Docs/"), idtxt.Text)); But how I can delete it?

View 1 Replies

Web Forms :: How To Delete A File From Bin Folder

Aug 23, 2013

I am creating an image converter which convert an image from one format into another format,what i am doing is i am calling a dll file(.cs file which is doing the conversion) from my program but i am facing a problem in that when i call the dll file it creates a unique guid for every image and then process it and convert that to another format and provide the result back to the calling class which saves the file by whatever name i want to save and then delete the guid file which were created in the root folder,everything is working fine but when i delete the file containing GUID it gives me an error saying that the file is already used by another process,i have checked everything many times.

View 1 Replies

Web Forms :: Delete Uploaded Images From A Folder?

Jan 15, 2010

I'm with C# ASP.net , Please help me ... how to delete folder images in an application.

View 5 Replies

Web Forms :: How To Delete Files From Folder In Webserver

Sep 25, 2010

i m using fileupload concept and saving the files to a folder download.hw can i check the files names saved in that folder while site is hosted on webserver.is there any way to delete some of files from that folder runtime.

View 2 Replies

Session - Why Does Application Recycle When Delete A Folder

Sep 27, 2010

I have a Silverlight application using a WCF service hosted in IIS. I make use of some aspects of ASP.NET. I have the following folder structure for my application:

inetput
wwwroot
myapp
reports
{user-guid-folders}
report1.pdf
report2.pdf
App_Data (folder)
bin (folder)
Client_Bin (folder)
(various .aspx files, plus web.config, etc.)

The application dynamically generates reports and puts them in a folder with a GUID for the name which is unique to the user. This all works fine. However, when the user logs out I was cleaning up and deleting the PDF files in their folder, then deleting their GUID folder.

Deleting the files works fine, but if I delete the folder, the application recycles (which then removes all other users' sessions - I get a Session_OnEnd event for every user's session, and an Application_OnEnd event. The next user request causes the whole application to restart. So, while I can fix this by not deleting the GUID folder (which my application itself created), what is the reason for this? Is there any way I can prevent this from happening?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved