Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
umbraco v4.0.41, iis7 (.net 2.0 integrated pipeline), .net 3.5, win2008
i dont know what changed, but suddenly i can't save templates using the backend editor.
in firebug i noticed that i get 404 error on several files:
http://www.mydomain.com/ScriptResource.axd?d=32nHByWnJ2gk2dzV4a2qnkSdXHgV7G05ass_ZX0imxc1w4AjK9Hk84vfinDeb-mvtUVI-Dn5FufOq3y0L7yIFbozg15e90hyNU-Kje3GUdevCFYYfgRd64p08qZRNRn9jm7TENH7fWIXqaz39rBL2GAmQx01&t=78f6f5b7
and also error when trying to load some js:
Sys is not defined - Sys.Application.initialize(); umbraco is not defined - mbraco.presentation.webse...val(), submitSucces, submitFailure);
<?xml version="1.0" encoding="utf-8"?><configuration> <configSections> <section name="urlrewritingnet" restartOnExternalChanges="true" requirePermission="false" type="UrlRewritingNet.Configuration.UrlRewriteSection, UrlRewritingNet.UrlRewriter" /> <!-- ASPNETAJAX --> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" /> <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> </sectionGroup> </sectionGroup> </sectionGroup> <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <section name="umbraco.presentation.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </sectionGroup> </configSections> <urlrewritingnet configSource="config\UrlRewriting.config" /> <appSettings> <add key="umbracoDbDSN" value="server=99.99.99.99,1533;database=umbraco.db;user id=user;password=123456" /> <add key="umbracoConfigurationStatus" value="4.0.4.1" /> <add key="umbracoReservedUrls" value="/config/splashes/booting.aspx,/install/default.aspx,/config/splashes/noNodes.aspx" /> <add key="umbracoReservedPaths" value="/umbraco,/install/" /> <add key="umbracoContentXML" value="/data/umbraco.config" /> <add key="umbracoStorageDirectory" value="/data" /> <add key="umbracoPath" value="/umbraco" /> <add key="umbracoEnableStat" value="false" /> <add key="umbracoHideTopLevelNodeFromPath" value="true" /> <add key="umbracoEditXhtmlMode" value="true" /> <add key="umbracoUseDirectoryUrls" value="true" /> <add key="umbracoDebugMode" value="false" /> <add key="umbracoTimeOutInMinutes" value="20" /> <add key="umbracoVersionCheckPeriod" value="7" /> <add key="umbracoDisableXsltExtensions" value="true" /> <add key="umbracoDefaultUILanguage" value="en" /> <add key="umbracoProfileUrl" value="profiler" /> <add key="umbracoUseSSL" value="false" /> <add key="umbracoUseMediumTrust" value="false" /> <add key="GoogleAnalytics.Email" value="eransharv" /> <add key="GoogleAnalytics.Passwd" value="rs87362c" /> <add key="MailChimp4Umbraco.APIKey" value="xxxxx75714d82bc-us1" /> </appSettings> <system.net> <mailSettings> <smtp> <network host="smtp.gmail.com" port="587" userName="xx@xx.com" password="1234" defaultCredentials="false" /> </smtp> </mailSettings> </system.net> <system.web> <customErrors mode="Off" /> <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /> <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" /> <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" /> <xhtmlConformance mode="Strict" /> <pages enableEventValidation="false"> <!-- ASPNETAJAX --> <controls> <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add tagPrefix="umbraco" namespace="umbraco.presentation.templateControls" assembly="umbraco" /> </controls> </pages> <httpModules> <!-- URL REWRTIER --> <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" /> <add name="umbracoRequestModule" type="umbraco.presentation.requestModule" /> <!-- UMBRACO --> <add name="viewstateMoverModule" type="umbraco.presentation.viewstateMoverModule" /> <add name="umbracoBaseRequestModule" type="umbraco.presentation.umbracobase.requestModule" /> <!-- ASPNETAJAX --> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </httpModules> <httpHandlers> <remove verb="*" path="*.asmx" /> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> <!-- UMBRACO CHANNELS --> <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" /> </httpHandlers> <compilation defaultLanguage="c#" debug="false" batch="false"> <assemblies> <!-- ASPNETAJAX --> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> </assemblies> </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="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="TestType" /> <add name="AspNetSqlMemberShipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="LocalSqlServer" /> <add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" /> </providers> </membership> <!-- added to support membership providers in access layer --> <roleManager enabled="true" defaultProvider="UmbracoRoleProvider"> <providers> <clear /> <add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider" applicationName="umbraco" /> </providers> </roleManager> <!-- Sitemap provider--> <siteMap defaultProvider="UmbracoSiteMapProvider" enabled="true"> <providers> <clear /> <add name="UmbracoSiteMapProvider" type="umbraco.presentation.nodeFactory.UmbracoSiteMapProvider" defaultDescriptionAlias="description" securityTrimmingEnabled="true" /> </providers> </siteMap> <trust level="Full" /> </system.web> <!-- ASPNET3.5 CODEDOM--> <system.codedom> <compilers> <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <providerOption name="CompilerVersion" value="v3.5" /> <providerOption name="WarnAsError" value="false" /> </compiler> </compilers> </system.codedom> <!-- ASPNETAJAX --> <system.web.extensions> <scripting> <scriptResourceHandler enableCompression="true" enableCaching="true" /> </scripting> </system.web.extensions> <!-- IIS 7 Integrated Mode Configuration --> <system.webServer> <validation validateIntegratedModeConfiguration="false" /> <modules> <!-- Asp.net 3.5 Modules--> <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" /> <!-- UMBRACO modules--> <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" /> <add name="umbracoRequestModule" type="umbraco.presentation.requestModule" /> <add name="viewstateMoverModule" type="umbraco.presentation.viewstateMoverModule" /> <add name="umbracoBaseRequestModule" type="umbraco.presentation.umbracobase.requestModule" /> <remove name="ScriptModule" /> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </modules> <directoryBrowse enabled="false" /><!-- enable expiration headers --> <defaultDocument> <files> <clear /> <add value="Default.htm" /> <add value="Default.asp" /> <add value="index.htm" /> <add value="index.html" /> <add value="iisstart.htm" /> <add value="default.aspx" /> <add value="index.php" /> </files> </defaultDocument> <staticContent> <mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" /> </staticContent><!-- end of enable expiration headers --></system.webServer> <!-- Ajax 1.0 Compatibility --> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /> </dependentAssembly> </assemblyBinding> </runtime></configuration>
This might be obvious, but did you check your permissions?
-- Nik
thanks,
yes i checked, and everything is like it should be.
Moved post from 'dev forum bugs' to 'ui questions'
Cheers,
/Dirk
anyone?..
Hi Eran,
I guess you've already compared your web.config against the original one for 4.0.41? Other than that, does the umbracoLog say anything, and what happens when you try to save a template, do you get the bubble with some error message?
Regards / Jonas
Hello Jonas,
it turns out that from some reason this lines of code was missing in my web.config:
<handlers accessPolicy="Read, Write, Script, Execute"> <remove name="WebServiceHandlerFactory-Integrated"/> <!-- NEW --> <remove name="ScriptHandlerFactory"/> <remove name="ScriptHandlerFactoryAppServices"/> <remove name="ScriptResource"/> <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <remove name="Channels"/> <remove name="Channels_Word"/> <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" /> </handlers>
i found it after i compared line to line my web.config to the one in the original installation of my version.
now everything is working as expected.
Thanks!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
could not save using the umbraco code editor
umbraco v4.0.41, iis7 (.net 2.0 integrated pipeline), .net 3.5, win2008
i dont know what changed, but suddenly i can't save templates using the backend editor.
in firebug i noticed that i get 404 error on several files:
and also error when trying to load some js:
any ideas?
This might be obvious, but did you check your permissions?
-- Nik
thanks,
yes i checked, and everything is like it should be.
Moved post from 'dev forum bugs' to 'ui questions'
Cheers,
/Dirk
anyone?..
Hi Eran,
I guess you've already compared your web.config against the original one for 4.0.41? Other than that, does the umbracoLog say anything, and what happens when you try to save a template, do you get the bubble with some error message?
Regards / Jonas
Hello Jonas,
it turns out that from some reason this lines of code was missing in my web.config:
i found it after i compared line to line my web.config to the one in the original installation of my version.
now everything is working as expected.
Thanks!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.