I'm currently running Umbraco 6.1.6 and while trying to install Contour 3.0.18 yesterday via the Umbraco Package Repository, via local file upload and via manual install I kept receiving an error upon installation stating "web.config could not be updated." Permissions have been set to read and write for the web.config and after the installation, Contour had in fact updated the web.config. After several installation attempts, we still received the error last night once more but this time we were able to create forms. When saving though at times, the field would not save properly and we would receive the "Field could not be saved" popup at the bottom of the screen. To fix this we extended the maxJsonLength to 1000000000 in the web.config and this seemed to work for a short period of time until we started receiving the error again. Just now after saving a form and inserting it into a rich text editor, instead of displaying the form properly it displayed an error that said "Object reference not set to an instance of an object." After publishing, the form has deleted all of the steps and fields I created and another form has deleted two of its steps randomly. On a side note, for some reason the date picker field type won't render properly on the front end and only displays as a textbox (when clicked no datepicker pops up). Thanks in advance. Below is my web.config with my smtp settings and connection string removed for security purposes:
<!-- Set this to true to enable storing the xml cache locally to the IIS server even if the app files are stored centrally on a SAN/NAS Alex Norcliffe 2010 02 for 4.1 -->
<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" />
This error is also showing up at the bottom of the Contour Dashboard:
Could not load control: '/umbraco/plugins/umbracocontour/formsdashboard.ascx'. Error message: System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page. at System.Web.UI.ScriptManager.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)
Since it deleted the second form I created I've been able to successfully save the first form I made after making a few changes. I really need to get this figured out though because as it stands I can't create forms with full certainty that it might randomly just delete itself or break other existing forms. If anyone else has resolved this issue please let me know how to go about fixing it.
I also got the same error after installing contour 3.0.18 to the Umbraco version 6.1.6. Also I noticed that the contour contact-us form does not send emails even I configured the SMTP details. Any help to resolve this ?.
Unfortunately I was in a time crunch and uninstalled it after getting the error. I'm using Umbraco v6.1.6 (Assembly version: 1.0.5021.24867) if that helps?
I found out what was causing the form to fail saving. I had been entering a fieldset caption that was more than 250 characters so nothing was ever really being saved to the database so that was a stupid error on my part. Regarding the install error though I too am running 4.5 though and no matter what version of Contour I tried to install I got the same error each time. Everything seems to be working though for now and like I said it had actually updated the web.config.
I got the same error on Umbraco 6.1.6 Contour 3.0.19
Could not load control: '/umbraco/plugins/umbracocontour/formsdashboard.ascx'. Error message: System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page. at System.Web.UI.ScriptManager.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)
In the file /umbraco/plugins/umbracocontour/formsdashboard.ascx i remove from the top
The 3.0.20 WIP nightly seems to give this same error with Umbraco 6.1.6. Tim, is this supposed to be fixed (if so it would seem there's still an issue somewhere)?
Edit: Removing the <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> line as per the suggestion above seems to work still, but not sure of the implications in doing this.
I tried to install it on a vanilla 7.1 nightly from Umbraco package repository. Azure SQL. It failed at first install with "server did not respond". But when I tried install again over the first install it worked fine.
I have just installed Contour v3.0.21 into Umbraco V6.1.6 and I get the same (?) error:
Could not load control: '/umbraco/plugins/umbracocontour/formsdashboard.ascx'.
Error message: System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page. at System.Web.UI.ScriptManager.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)
I will try the fix mentioned previously, but thought I should let you know that it is still happening
Hmm just tested with a fresh v6.2.4 and can't reproduce, anyone that can give some more details in how to reproduce? Does the error show immediatly after install?
Can still confirm that after installation on umbraco 6.1.6 (install local package) the error occurs immediatly after the install when i click "open umbraco contour".
Umbraco Contour version 3.0.23-Build.20
Could not load control: '/umbraco/plugins/umbracocontour/formsdashboard.ascx'. Error message: System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page. at System.Web.UI.ScriptManager.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)
FYI, this is STILL a problem on the latest version of Contour (3.0.28) with Umbraco 6.1.6. Here is what I see with a clean install:
For the search engines, that says:
Could not load control: '/umbraco/plugins/umbracocontour/formsdashboard.ascx'.
Error message: System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page. at System.Web.UI.ScriptManager.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)
Error Installing Contour
I'm currently running Umbraco 6.1.6 and while trying to install Contour 3.0.18 yesterday via the Umbraco Package Repository, via local file upload and via manual install I kept receiving an error upon installation stating "web.config could not be updated." Permissions have been set to read and write for the web.config and after the installation, Contour had in fact updated the web.config. After several installation attempts, we still received the error last night once more but this time we were able to create forms. When saving though at times, the field would not save properly and we would receive the "Field could not be saved" popup at the bottom of the screen. To fix this we extended the maxJsonLength to 1000000000 in the web.config and this seemed to work for a short period of time until we started receiving the error again. Just now after saving a form and inserting it into a rich text editor, instead of displaying the form properly it displayed an error that said "Object reference not set to an instance of an object." After publishing, the form has deleted all of the steps and fields I created and another form has deleted two of its steps randomly. On a side note, for some reason the date picker field type won't render properly on the front end and only displays as a textbox (when clicked no datepicker pops up). Thanks in advance. Below is my web.config with my smtp settings and connection string removed for security purposes:
<?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="FileSystemProviders" type="Umbraco.Core.Configuration.FileSystemProvidersSection, Umbraco.Core" requirePermission="false" />
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" requirePermission="false" />
<section name="BaseRestExtensions" type="Umbraco.Web.BaseRest.Configuration.BaseRestSection, umbraco" requirePermission="false" />
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
</sectionGroup>
</configSections>
<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" />
<FileSystemProviders configSource="config\FileSystemProviders.config" />
<log4net configSource="config\log4net.config" />
<BaseRestExtensions configSource="config\BaseRestExtensions.config" />
<appSettings>
<add key="umbracoConfigurationStatus" value="6.1.6" />
<add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/VSEnterpriseHelper.axd,/umbraco" />
<add key="umbracoReservedPaths" value="~/umbraco,~/install/" />
<add key="umbracoContentXML" value="~/App_Data/umbraco.config" />
<add key="umbracoStorageDirectory" value="~/App_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="true" />
<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" />
<!-- Set this to true to enable storing the xml cache locally to the IIS server even if the app files are stored centrally on a SAN/NAS Alex Norcliffe 2010 02 for 4.1 -->
<add key="umbracoContentXMLUseLocalTemp" value="false" />
<add key="webpages:Enabled" value="false" />
<add key="enableSimpleMembership" value="false" />
<add key="autoFormsAuthentication" value="false" />
<add key="log4net.Config" value="config\log4net.config" />
</appSettings>
<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 string removed -->
</smtp>
</mailSettings>
</system.net>
<!-- connection string removed -->
<system.web>
<machineKey validationKey="FD58ECB91EA5ECA905F040933FF4B02D47C5639CAD917668A261B2B5C496F57A7487E16BD9FBEE24A5234842192C9802D38BEF42C6D1930E0A8BF8E002C05B63" decryptionKey="874DBDCCF907A1E4FBB51F51E17FAC87B1634597CA514DF8E67A8823EDB88E23" validation="SHA1" decryption="AES" />
<webServices>
<protocols>
<add name="HttpGet" />
<add name="HttpPost" />
</protocols>
</webServices>
<customErrors mode="Off" />
<trace enabled="false" 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" />
<httpRuntime requestValidationMode="2.0" enableVersionHeader="false" />
<pages enableEventValidation="false">
<!-- ASPNETAJAX -->
<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="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" />
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
<add name="ContourFormBuilderHttpModule" type="Umbraco.Forms.CodeFirst.ContourFormBuilderHttpModule, Umbraco.Forms.CodeFirst" />
</httpModules>
<httpHandlers>
<remove verb="*" path="*.asmx" />
<!-- ASPNETAJAX -->
<add verb="*" path="robots.txt" type="Cultiv.DynamicRobots.RobotsTxt, Cultiv.DynamicRobots" />
<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" />
<!-- 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" />
<!-- CLIENT DEPENDENCY -->
<add verb="*" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
<!-- SPELL CHECKER -->
<add verb="GET,HEAD,POST" path="GoogleSpellChecker.ashx" type="umbraco.presentation.umbraco_client.tinymce3.plugins.spellchecker.GoogleSpellChecker,umbraco" />
<add path="robots.txt" verb="*" type="Cultiv.DynamicRobots.RobotsTxt, Cultiv.DynamicRobots" /></httpHandlers>
<compilation defaultLanguage="c#" debug="false" batch="false" targetFramework="4.0">
<assemblies>
<!-- ASP.NET 4.0 Assemblies -->
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
<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="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type" passwordFormat="Hashed" />
<add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
</providers>
</membership>
<!-- added by NH to support membership providers in access layer -->
<roleManager enabled="true" defaultProvider="UmbracoRoleProvider">
<providers>
<clear />
<add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider" />
</providers>
</roleManager>
</system.web>
<!-- ASPNETAJAX -->
<!--<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression="true" enableCaching="true" />
</scripting>
</system.web.extensions>-->
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="1000000000"/>
</webServices>
</scripting>
</system.web.extensions>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
<remove name="UrlRewriteModule" />
<add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter"
preCondition="" />
<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" />
<add name="ContourFormBuilderHttpModule" type="Umbraco.Forms.CodeFirst.ContourFormBuilderHttpModule, Umbraco.Forms.CodeFirst" />
</modules>
<handlers accessPolicy="Read, Write, Script, Execute">
<remove name="Cultiv.DynamicRobots" />
<add name="Cultiv.DynamicRobots" path="robots.txt" verb="*" type="Cultiv.DynamicRobots.RobotsTxt, Cultiv.DynamicRobots"
preCondition="integratedMode" />
<remove name="WebServiceHandlerFactory-Integrated" />
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<remove name="Channels" />
<remove name="Channels_Word" />
<remove name="ClientDependency" />
<remove name="SpellChecker" />
<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 " />
<add verb="GET,HEAD,POST" preCondition="integratedMode" name="SpellChecker"
path="GoogleSpellChecker.ashx" type="umbraco.presentation.umbraco_client.tinymce3.plugins.spellchecker.GoogleSpellChecker,umbraco" />
</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" />
</customHeaders>
</httpProtocol>
</system.webServer>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v4.0" />
<providerOption name="WarnAsError" value="false" />
</compiler>
</compilers>
</system.codedom>
<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>
<system.web.webPages.razor>
<host factoryType="umbraco.MacroEngines.RazorUmbracoFactory, umbraco.MacroEngines" />
<pages pageBaseType="umbraco.MacroEngines.DynamicNodeContext">
<namespaces>
<add namespace="Microsoft.Web.Helpers" />
<add namespace="umbraco" />
<add namespace="Examine" />
</namespaces>
</pages>
</system.web.webPages.razor>
</configuration>
This error is also showing up at the bottom of the Contour Dashboard:
Could not load control: '/umbraco/plugins/umbracocontour/formsdashboard.ascx'.
Error message: System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page. at System.Web.UI.ScriptManager.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)
Since it deleted the second form I created I've been able to successfully save the first form I made after making a few changes. I really need to get this figured out though because as it stands I can't create forms with full certainty that it might randomly just delete itself or break other existing forms. If anyone else has resolved this issue please let me know how to go about fixing it.
I also got the same error after installing contour 3.0.18 to the Umbraco version 6.1.6. Also I noticed that the contour contact-us form does not send emails even I configured the SMTP details. Any help to resolve this ?.
Fixed the error by reverting to the Contour version 3.0.17. Now its working fine
Same error here, anyone have an idea why this is going on?
Comment author was deleted
Will do a test run
Comment author was deleted
Just tested and it worked fine for me, could it be that you don't have .net framework 4.5 installed?
Hi Tim, I have .NET 4.5 installed (see screenshot), 3.0.17 worked for me just fine.
Comment author was deleted
Ok :) hmm and any more details on the error, was it also the form save that didn't work?
Unfortunately I was in a time crunch and uninstalled it after getting the error. I'm using Umbraco v6.1.6 (Assembly version: 1.0.5021.24867) if that helps?
Comment author was deleted
Ok but 3.0.17 works fine for you then?
Yeah, 3.0.17 works just fine!
I found out what was causing the form to fail saving. I had been entering a fieldset caption that was more than 250 characters so nothing was ever really being saved to the database so that was a stupid error on my part. Regarding the install error though I too am running 4.5 though and no matter what version of Contour I tried to install I got the same error each time. Everything seems to be working though for now and like I said it had actually updated the web.config.
Comment author was deleted
Ok thanks for the details :)
Hi
I got the same error on Umbraco 6.1.6 Contour 3.0.19
In the file /umbraco/plugins/umbracocontour/formsdashboard.ascx i remove from the top
Then it seems to work out fine.
/René
Comment author was deleted
Ok, must be a change in Umbraco 6 then, thanks for letting me know!
The 3.0.20 WIP nightly seems to give this same error with Umbraco 6.1.6. Tim, is this supposed to be fixed (if so it would seem there's still an issue somewhere)?
Edit: Removing the
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
line as per the suggestion above seems to work still, but not sure of the implications in doing this.Comment author was deleted
Yeah just remove it then, no implications
I tried to install it on a vanilla 7.1 nightly from Umbraco package repository. Azure SQL. It failed at first install with "server did not respond". But when I tried install again over the first install it worked fine.
Comment author was deleted
Strange, I blame azure :p
I have just installed Contour v3.0.21 into Umbraco V6.1.6 and I get the same (?) error:
I will try the fix mentioned previously, but thought I should let you know that it is still happening
Hi guys,
Just reporting that that superfluous script manager tag is still there in .21 and that it is indeed still causing issues...
Cheers,
Kris
Still an issue in Contour 3.0.23 with Umbraco 6.2.4 too!
Comment author was deleted
@Dan ok thanks for letting us know we'll check the issue
Comment author was deleted
Hmm just tested with a fresh v6.2.4 and can't reproduce, anyone that can give some more details in how to reproduce? Does the error show immediatly after install?
Can still confirm that after installation on umbraco 6.1.6 (install local package) the error occurs immediatly after the install when i click "open umbraco contour".
Umbraco Contour version 3.0.23-Build.20
Could not load control: '/umbraco/plugins/umbracocontour/formsdashboard.ascx'.
Error message: System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page. at System.Web.UI.ScriptManager.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)
Yep - same here 6.1.6 and 3.0.23 - got rid of yje extra line in the ascx and all seems to work fine now.
FYI, this is STILL a problem on the latest version of Contour (3.0.28) with Umbraco 6.1.6. Here is what I see with a clean install:
For the search engines, that says:
is working on a reply...