Deleting a folder from the Directory?

Discussion in 'ASP.NET / ASP.NET Core' started by Chipndale27, Mar 16, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. This is the following directory for my account. Ever since I re-named and created the folder \testunder the directory structure my web acount via the web did not work I instead got the error message at the bottom of this forum (when I typed in the URL). I was wondering if there is a way I can delete the \test folder? So the directory goes \htdocs\aitp_adm...etc. I appreciate any insight in advance.

    Thank you,
    <v:shapetype stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><o:lock aspectratio="t" v:ext="edit"><v:shapetype stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><o:lock aspectratio="t" v:ext="edit">
    <A>[​IMG]</A><A tabIndex=-1>[​IMG]<A id=_tnaccess title=" \htdocs : Use +/- to expand/collapse" tabIndex=-1> \htdocs</A></A>
    [​IMG]<A>[​IMG]</A><A tabIndex=-1>[​IMG]<A id=_tnaccess title=" \test : Use +/- to expand/collapse" tabIndex=1> \test</A></A>
    [​IMG][​IMG]<A>[​IMG]</A><A tabIndex=-1>[​IMG]<A id=_tnaccess title=" \aitp_adm : Use +/- to expand/collapse" tabIndex=-1> \aitp_adm </A></A>
    [​IMG][​IMG]<A>[​IMG]</A><A tabIndex=-1>[​IMG]<A id=_tnaccess title="\bin : Use +/- to expand/collapse" tabIndex=-1>\bin </A></A>
    [​IMG][​IMG]<A>[​IMG]</A><A tabIndex=-1>[​IMG]<A id=_tnaccess title="\database : Use +/- to expand/collapse" tabIndex=-1>\database </A></A>
    [​IMG][​IMG]<A>[​IMG]</A><A tabIndex=-1>[​IMG]<A id=_tnaccess title="\downloads : Use +/- to expand/collapse" tabIndex=-1>\downloads </A></A>
    [​IMG][​IMG]<A>[​IMG]</A><A tabIndex=-1>[​IMG]<A id=_tnaccess title="\images : Use +/- to expand/collapse" tabIndex=-1>\images </A></A>
    [​IMG][​IMG]<A>[​IMG]</A><A tabIndex=-1>[​IMG]<A id=_tnaccess title="\minutes : Use +/- to expand/collapse" tabIndex=-1>\minutes </A></A>
    [​IMG][​IMG]<A>[​IMG]</A><A tabIndex=-1>[​IMG]<A id=_tnaccess title="\userControls : Use +/- to expand/collapse" tabIndex=-1>\userControls </A></A>
    [​IMG][​IMG]<A>[​IMG]</A><A tabIndex=-1>[​IMG]<A id=_tnaccess title="\xml : Use +/- to expand/collapse" tabIndex=-1>\xml </A>
    </A>
    </o:lock></v:shapetype>
    <v:shapetype stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><o:lock aspectratio="t" v:ext="edit">Current Path:
    <NOBR> \htdocs\test
    </NOBR>
    This folder is setup as a web application. Click the button below to remove the Web Application.

    <input id=btnToggleWebApp onclick="return(confirm('Delete Web Application Are you sure?'));" type=submit value="Remove Application" name=btnToggleWebApp> </o:lock></v:shapetype>
    <v:shapetype stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype>
    <v:shapetype stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><o:lock aspectratio="t" v:ext="edit">
    Server Error in '/' Application.


    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error:





    Code:
    Line 4:  	<!-- enable forms authentication -->
    Line 5:  	<system.web>
    Line 6:  		<authentication mode="Forms">
    Line 7:  			<forms name="ASP101SampleAuth" loginUrl="login.aspx" />
    Line 8:  		</authentication>
    Source File: E:\web\aitpalaskan\htdocs\test\web.config Line: 6




    Version Information:Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032 </o:lock></v:shapetype><!--
    [ConfigurationException]: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (E:\web\aitpalaskan\htdocs\test\web.config line 6)
    at System.Web.Configuration.HttpConfigurationSystem.CacheLookup(String vpath)
    at System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String reqPath, IHttpMapPath configmap)
    at System.Web.HttpContext.GetCompleteConfigRecord(String reqpath, IHttpMapPath configmap)
    at System.Web.HttpContext.GetCompleteConfig()
    at System.Web.HttpContext.GetConfig(String name)
    at System.Web.HttpContext.GetLKGConfig(String name)
    --><!--
    This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.--></o:lock></v:shapetype>
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    i would remove the web application first and then delete the directory structure.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. After I delete the directory structure, won't that delete my account? Or do I submit it back up to the server anda new directory structure will take effect?

    Thank you,

    Will
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    >After I delete the directory structure, won't that delete my account? Or do I submit it back up to the server and a new directory structure will take effect?


    Not really. I was suggesting you delete the /test directory. it will not delete you account.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. How do you delete the directory? I looked all over the forum and tried right clicking on the folder to delete it. Thank you.

    Will
     
  6. Bruce

    Bruce DiscountASP.NET Staff

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page