Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Terry Clancy 204 posts 944 karma points
    Dec 02, 2013 @ 22:37
    Terry Clancy
    0

    Unable to delete Document Types and Templates in Umbraco 7.0.0

    Now I have Umbraco 7.0.0  installed on GoDaddy I have identified another issue

    I am unable to delete nodes such as Document Types and Templates in Umbraco 7.0.0

    When I try to delete such nodes  I find that the animated/scrolling blue line indicating that the task requested is in progress appears and keeps animating/scrolling indefintely as circled in yellow in this image:

     

     

    Any help to resolve this issue would be appreciated.

    Thanks

     

    Terry

  • Per Ploug 865 posts 3491 karma points MVP admin
    Dec 04, 2013 @ 11:17
    Per Ploug
    100

    Hi terry, could you take a look in the dev console, to see what happens to the request?

    does it return a 404 error, or perhabs a 405?

    Similiar issue posted here with a fix: http://our.umbraco.org/forum/getting-started/installing-umbraco/46530-Please-help-me!-U7

  • Terry Clancy 204 posts 944 karma points
    Dec 05, 2013 @ 01:17
    Terry Clancy
    0

    Thanks very much Per - your suggestion worked.  I am now up an running on GoDaddy, thanks very much

    BTW  when you say dev console - do yoiu mean the browser dev console (in IE press F12 then select console) ?

    For Reference,  here is my complete web.config file on my working GoDaddy site with these  (and other) changes applied.  All changes are marked betwen the following indicators

        <!--  ================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  -->
       CHANGES HERE
        <!--  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<================================  -->

    Hope this helps someone, Terry Clancy ...................

     

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <configSections>
        <section name="urlrewritingnet" restartOnExternalChanges="true" requirePermission="false" type="UrlRewritingNet.Configuration.UrlRewriteSection, UrlRewritingNet.UrlRewriter" />
        <section name="microsoft.scripting" type="Microsoft.Scripting.Hosting.Configuration.Section, Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" />
        <section name="clientDependency" type="ClientDependency.Core.Config.ClientDependencySection, ClientDependency.Core" requirePermission="false" />
        <section name="Examine" type="Examine.Config.ExamineSettings, Examine" requirePermission="false" />
        <section name="ExamineLuceneIndexSets" type="Examine.LuceneEngine.Config.IndexSets, Examine" requirePermission="false" />
        <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" requirePermission="false" />
        <sectionGroup name="umbracoConfiguration">
          <section name="settings" type="Umbraco.Core.Configuration.UmbracoSettings.UmbracoSettingsSection, Umbraco.Core" requirePermission="false" />
          <section name="BaseRestExtensions" type="Umbraco.Core.Configuration.BaseRest.BaseRestSection, Umbraco.Core" requirePermission="false" />
          <section name="FileSystemProviders" type="Umbraco.Core.Configuration.FileSystemProvidersSection, Umbraco.Core" requirePermission="false" />
          <section name="dashBoard" type="Umbraco.Core.Configuration.Dashboard.DashboardSection, Umbraco.Core" requirePermission="false" />
        </sectionGroup>
      </configSections>
      <umbracoConfiguration>
        <settings configSource="config\umbracoSettings.config" />
        <BaseRestExtensions configSource="config\BaseRestExtensions.config" />
        <FileSystemProviders configSource="config\FileSystemProviders.config" />
        <dashBoard configSource="config\Dashboard.config" />
      </umbracoConfiguration>
      <urlrewritingnet configSource="config\UrlRewriting.config" />
      <microsoft.scripting configSource="config\scripting.config" />
      <clientDependency configSource="config\ClientDependency.config" />
      <Examine configSource="config\ExamineSettings.config" />
      <ExamineLuceneIndexSets configSource="config\ExamineIndex.config" />
      <log4net configSource="config\log4net.config" />
      <appSettings configSource="config\appSettings.config" />

        <!--  ================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  -->
        <!--  Next lines modified by Terry Clancy Dec 1 2013  -->
        <!--  To fix install bug where database configuration hangs at 5% -->
        <!--  The following line was removed by GoDaddy Plesk when setting Trust Level to Full and needed to be re-added  -->
        <!--  Add following line -->
      <connectionStrings configSource="config\connectionStrings.config" />
        <!--  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<================================  -->
      <system.data>
        <DbProviderFactories>
          <remove invariant="System.Data.SqlServerCe.4.0" />
          <add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
          <remove invariant="MySql.Data.MySqlClient" />
          <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
        </DbProviderFactories>
      </system.data>
      <system.net>
        <mailSettings>
          <smtp>
            <network host="127.0.0.1" userName="username" password="password" />
          </smtp>
        </mailSettings>
      </system.net>
      <system.web>
        <!--  ================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  -->
        <!--  Next lines modified by Terry Clancy Nov 23 2013  -->
        <!-- To allow errors to be viewed in remote browsers -->
        <!--  Original Version  -->
        <!--  <customErrors mode="RemoteOnly" />  -->
        <!--  Altered Version  -->
        <customErrors mode="Off" />
        <!--  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<================================  -->

        <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
        <httpRuntime requestValidationMode="2.0" enableVersionHeader="false" targetFramework="4.5" />
        <!--
          If you are deploying to a cloud environment that has multiple web server instances,
          you should change session state mode from "InProc" to "Custom". In addition,
          change the connection string named "DefaultConnection" to connect to an instance
          of SQL Server (including SQL Azure and SQL  Compact) instead of to SQL Server Express.
          -->
        <sessionState mode="InProc" customProvider="DefaultSessionProvider">
          <providers>
            <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
          </providers>
        </sessionState>
        <pages enableEventValidation="false">
          <controls>
            <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add tagPrefix="umbraco" namespace="umbraco.presentation.templateControls" assembly="umbraco" />
            <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          </controls>
        </pages>
        <httpModules>
          <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" />
          <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
        </httpModules>
        <httpHandlers>
          <remove verb="*" path="*.asmx" />
          <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
          <add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
          <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
          <add verb="*" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
          <add verb="*" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
          <add verb="*" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
        </httpHandlers>
        <compilation defaultLanguage="c#" batch="false" targetFramework="4.5">
          <buildProviders>
            <add extension=".cshtml" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
            <add extension=".vbhtml" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
            <add extension=".razor" type="umbraco.MacroEngines.RazorBuildProvider, umbraco.MacroEngines" />
          </buildProviders>
        </compilation>
        <authentication mode="Forms">
          <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" />
        </authentication>
        <authorization>
          <allow users="?" />
        </authorization>
        <!-- Membership Provider -->
        <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
          <providers>
            <clear />
            <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed" />
            <add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
          </providers>
        </membership>
        <!-- Role Provider -->
        <roleManager enabled="true" defaultProvider="UmbracoRoleProvider">
          <providers>
            <clear />
            <add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider" />
          </providers>
        </roleManager>
        <trust level="Full" />

        <!--  ================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  -->
        <!--  Next lines modified by Terry Clancy Dec 4th 2013  -->
        <!-- To fix problem Unable to delete Document Types and Templates in Umbraco 7.0.0 -->
        <!--  As discussed at http://our.umbraco.org/forum/getting-started/installing-umbraco/46530-Please-help-me!-U7   -->
        <!--  As discussed at http://our.umbraco.org/forum/getting-started/installing-umbraco/46574-Unable-to-delete-Document-Types-and-Templates-in-Umbraco-700   -->
        <!--  Following solution at http://stackoverflow.com/questions/10906411/asp-net-web-api-put-delete-verbs-not-allowed-iis-8/18458139#18458139   -->
        <!--  Adding:  -->
    <webServices>
      <protocols>
        <add name="HttpGet"/>
        <add name="HttpPost"/>
      </protocols>
    </webServices>
        <!--  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<================================  -->

      </system.web>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />

      <!--  ================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  -->
        <!--  Next lines modified by Terry Clancy Dec 4th 2013  -->
        <!-- To fix problem Unable to delete Document Types and Templates in Umbraco 7.0.0 -->
        <!--  As discussed at http://our.umbraco.org/forum/getting-started/installing-umbraco/46530-Please-help-me!-U7   -->
        <!--  As discussed at http://our.umbraco.org/forum/getting-started/installing-umbraco/46574-Unable-to-delete-Document-Types-and-Templates-in-Umbraco-700   -->
        <!--  Following solution at http://stackoverflow.com/questions/10906411/asp-net-web-api-put-delete-verbs-not-allowed-iis-8/18458139#18458139   -->
        <!--  Replace:  -->
        <!--  <modules runAllManagedModulesForAllRequests="true">  -->
        <!--  With:  -->
    <modules runAllManagedModulesForAllRequests="false">
        <!--  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<================================  -->


          <remove name="UrlRewriteModule" />
          <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
          <remove name="UmbracoModule" />
          <add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" />
          <remove name="ScriptModule" />
          <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <remove name="ClientDependencyModule" />
          <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
          <!-- Needed for login/membership to work on homepage (as per http://stackoverflow.com/questions/218057/httpcontext-current-session-is-null-when-routing-requests) -->
          <remove name="FormsAuthentication" />
          <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />

        <!--  ================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  -->
        <!--  Next lines modified by Terry Clancy Dec 4th 2013  -->
        <!-- To fix problem Unable to delete Document Types and Templates in Umbraco 7.0.0 -->
        <!--  As discussed at http://our.umbraco.org/forum/getting-started/installing-umbraco/46530-Please-help-me!-U7   -->
        <!--  As discussed at http://our.umbraco.org/forum/getting-started/installing-umbraco/46574-Unable-to-delete-Document-Types-and-Templates-in-Umbraco-700   -->
        <!--  Following solution at http://stackoverflow.com/questions/10906411/asp-net-web-api-put-delete-verbs-not-allowed-iis-8/18458139#18458139   -->
        <!--  Adding:  -->
     <remove name="WebDAVModule" />
        <!--  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<================================  -->

        </modules>
        <handlers accessPolicy="Read, Write, Script, Execute">
          <remove name="WebServiceHandlerFactory-Integrated" />
          <remove name="ScriptHandlerFactory" />
          <remove name="ScriptHandlerFactoryAppServices" />
          <remove name="ScriptResource" />
          <remove name="Channels" />
          <remove name="Channels_Word" />
          <remove name="ClientDependency" />


        <!--  ================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  -->
        <!--  Next lines modified by Terry Clancy Dec 4th 2013  -->
        <!-- To fix problem Unable to delete Document Types and Templates in Umbraco 7.0.0 -->
        <!--  As discussed at http://our.umbraco.org/forum/getting-started/installing-umbraco/46530-Please-help-me!-U7   -->
        <!--  As discussed at http://our.umbraco.org/forum/getting-started/installing-umbraco/46574-Unable-to-delete-Document-Types-and-Templates-in-Umbraco-700   -->
        <!--  Following solution at http://stackoverflow.com/questions/10906411/asp-net-web-api-put-delete-verbs-not-allowed-iis-8/18458139#18458139   -->
        <!--  Adding:  -->
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />

      <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />

        <!--  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<================================  -->

     


          <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add verb="*" name="Channels" preCondition="integratedMode" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
          <add verb="*" name="Channels_Word" preCondition="integratedMode" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi, umbraco" />
          <add verb="*" name="ClientDependency" preCondition="integratedMode" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
        </handlers>
        <!-- Adobe AIR mime type -->
        <staticContent>
          <remove fileExtension=".air" />
          <mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />
        </staticContent>
        <!-- Ensure the powered by header is not returned -->
        <httpProtocol>
          <customHeaders>
            <remove name="X-Powered-By" />

        <!--  ================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  -->
        <!--  Next lines modified by Terry Clancy Dec 4th 2013  -->
        <!-- To fix problem Unable to delete Document Types and Templates in Umbraco 7.0.0 -->
        <!--  As discussed at http://our.umbraco.org/forum/getting-started/installing-umbraco/46530-Please-help-me!-U7   -->
        <!--  As discussed at http://our.umbraco.org/forum/getting-started/installing-umbraco/46574-Unable-to-delete-Document-Types-and-Templates-in-Umbraco-700   -->
        <!--  Following solution at http://stackoverflow.com/questions/10906411/asp-net-web-api-put-delete-verbs-not-allowed-iis-8/18458139#18458139   -->
        <!--  <customErrors mode="RemoteOnly" />  -->
        <!--  Adding:  -->
        <add name="Access-Control-Allow-Origin" value="*" />
        <add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />
        <add name="Access-Control-Allow-Headers" value="Content-Type" />
        <!--  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<================================  -->

          </customHeaders>
        </httpProtocol>
      </system.webServer>
      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <!-- Old asp.net ajax assembly bindings -->
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0" />
          </dependentAssembly>
          <!-- Ensure correct version of MVC -->
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
          </dependentAssembly>
          <!-- Ensure correct version of HtmlAgilityPack -->
          <dependentAssembly>
            <assemblyIdentity name="HtmlAgilityPack" publicKeyToken="bd319b19eaf3b43a" culture="neutral" />
            <bindingRedirect oldVersion="1.4.5.0-1.4.6.0" newVersion="1.4.6.0" />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    </configuration>

  • Terry Clancy 204 posts 944 karma points
    Dec 11, 2013 @ 22:06
    Terry Clancy
    0

    Note that as per Nima at

    http://our.umbraco.org/forum/umbraco-7/using-umbraco-7/46709-Unable-to-delete-nodes?p=0#comment167369

      it is also recomended that you add the following

    <handlers>
    <removename="WebDAV"/>
    </handlers>

    from: http://issues.umbraco.org/issue/U4-3426

     

    Terry

Please Sign in or register to post replies

Write your reply to:

Draft