Copied to clipboard

Flag this post as spam?

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


  • TaoistTotty 246 posts 314 karma points
    Apr 04, 2011 @ 18:51
    TaoistTotty
    0

    Save error

    I am seeing the following error when saving a razor script.

     

    (0): error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.Binder.InvokeMember'

     

    This is a site upgraded from 4.5.2 to 4.7

    I assume I missed a file somewhere, but which one(s)?

    Regards

    TT

  • Rich Green 2246 posts 4008 karma points
    Apr 04, 2011 @ 19:01
    Rich Green
    1

    Did you add the extra required settings to your web.config file?

    http://umbraco.codeplex.com/releases/view/62573

    Rich

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Apr 04, 2011 @ 19:02
    Sebastiaan Janssen
    1

    There's extra keys that you need to add in you web.config file and in your umbracoSettings.config file. It looks like you forgot about those. See the download page for more information.

  • TaoistTotty 246 posts 314 karma points
    Apr 04, 2011 @ 19:38
    TaoistTotty
    0

    Rich and Sebastian

    Have replaced both of the files with the ones from the 4.7 download and am still seeing the error (web.config and umbracoSettings.config below.

     <?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" />
    <section name="Examine" type="Examine.Config.ExamineSettings, Examine" />
    <section name="ExamineLuceneIndexSets" type="UmbracoExamine.Config.ExamineLuceneIndexes, UmbracoExamine" />
    <!-- Added in Umbraco 4.6.2 -->
    <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
    <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
    </sectionGroup>
    <!-- End of added in Umbraco 4.6.2 -->
    </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" />
    <appSettings>
    <add key="umbracoDbDSN" />
    <add key="umbracoConfigurationStatus" value="4.7.0" />
    <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="~/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="false" />
    <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" />
    <!-- Added in Umbraco 4.6.2 -->
    <add key="webpages:Enabled" value="false" />
    <add key="enableSimpleMembership" value="false" />
    <add key="autoFormsAuthentication" value="false" />
    <!-- End of added in Umbraco 4.6.2 -->
    </appSettings>
    <system.net>
    <mailSettings>
    <smtp>
    <network host="127.0.0.1" userName="username" password="password" />
    </smtp>
    </mailSettings>
    </system.net>
    <connectionStrings>
    <remove name="LocalSqlServer" />
    <!--<add name="LocalSqlServer" connectionString="server=.\sqlexpress;database=aspnetdb;user id=DBUSER;password=DBPASSWORD" providerName="System.Data.SqlClient"/>-->
    </connectionStrings>
    <system.web>
    <customErrors mode="RemoteOnly" />
    <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" />
    <httpRuntime requestValidationMode="2.0" />
    <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>
    <!-- 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=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <!-- CLIENT DEPENDENCY -->
    <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
    </httpModules>
    <httpHandlers>
    <remove verb="*" path="*.asmx" />
    <!-- ASPNETAJAX -->
    <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" />
    <add verb="*" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
    <add verb="GET,HEAD,POST" path="GoogleSpellChecker.ashx" type="umbraco.presentation.umbraco_client.tinymce3.plugins.spellchecker.GoogleSpellChecker,umbraco" />
    </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" />
    </assemblies>
    <!-- Added in Umbraco 4.6.2 -->
    <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>
    <!-- End of added in Umbraco 4.6.2 -->
    </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>
    <!-- Sitemap provider-->
    <siteMap defaultProvider="UmbracoSiteMapProvider" enabled="true">
    <providers>
    <clear />
    <add name="UmbracoSiteMapProvider" type="umbraco.presentation.nodeFactory.UmbracoSiteMapProvider" defaultDescriptionAlias="description" securityTrimmingEnabled="true" />
    </providers>
    </siteMap>
    </system.web>
    <!-- ASPNETAJAX -->
    <system.web.extensions>
    <scripting>
    <scriptResourceHandler enableCompression="true" enableCaching="true" />
    </scripting>
    </system.web.extensions>
    <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
    <remove name="ScriptModule" />
    <remove name="UrlRewriteModule" />
    <remove name="umbracoRequestModule" />
    <remove name="viewstateMoverModule" />
    <remove name="umbracoBaseRequestModule" />
    <remove name="ClientDependencyModule" />
    <!-- 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="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" />
    <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <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) -->
    <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />
    </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" />
    <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>
    <mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />
    </staticContent>
    </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>
    <!-- Old asp.net ajax assembly bindings -->
    <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="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>
    </assemblyBinding>
    </runtime>
    <!-- Added in Umbraco 4.6.2 -->
    <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>
    <!-- End of added in Umbraco 4.6.2 -->
    </configuration>

     


    <?xml version="1.0" encoding="utf-8" ?>
    <settings>
    <content>
    <imaging>
    <!-- what file extension that should cause umbraco to create thumbnails -->
    <imageFileTypes>jpeg,jpg,gif,bmp,png,tiff,tif</imageFileTypes>
    <!-- what attributes that are allowed in the editor on an img tag -->
    <allowedAttributes>alt,border,class,style,align,id,name,onclick,usemap</allowedAttributes>
    </imaging>
    <scripteditor>
    <!-- Path to script folder - no ending "/" -->
    <scriptFolderPath>/scripts</scriptFolderPath>
    <!-- what files can be opened/created in the script editor -->
    <scriptFileTypes>js,xml</scriptFileTypes>
    <!-- disable the codepress editor and use a simple textarea instead -->
    <!-- note! codepress editor always disabled in IE due to automatic hyperlinking "feature" in contenteditable areas -->
    <scriptDisableEditor>false</scriptDisableEditor>
    </scripteditor>

    <!-- should umbraco store the uploaded files like /media/xxx/filename.ext or like /media/xxx-filename.ext
    should be set to false if the aspnet account hasn't got readrights of the driveroot up to the /media directory -->
    <UploadAllowDirectories>True</UploadAllowDirectories>
    <errors>
    <!-- the id of the page that should be shown if the page is not found -->
    <!-- <errorPage culture="default">1</errorPage>-->
    <!-- <errorPage culture="en-US">200</errorPage>-->
    <error404>1</error404>
    </errors>
    <notifications>
    <!-- the email that should be used as from mail when umbraco sends a notification -->
    <email>[email protected]</email>
    </notifications>

    <!-- if true umbraco will ensure that no page under the same parent has an identical name -->
    <ensureUniqueNaming>True</ensureUniqueNaming>

    <!-- lowercase, either 'gif' or 'png' -->
    <graphicHeadlineFormat>gif</graphicHeadlineFormat>

    <!-- clean editor content with use of tidy -->
    <TidyEditorContent>True</TidyEditorContent>

    <!-- the encoding type for tidy. Default is UTF8, options are ASCII, Raw, Latin1, UTF8, ISO2022, MacroMan-->
    <TidyCharEncoding>UTF8</TidyCharEncoding>

    <!-- to enable new content schema, this needs to be false -->
    <UseLegacyXmlSchema>false</UseLegacyXmlSchema>

    <!-- Whether to force safe aliases (no spaces, no special characters) at businesslogic level on contenttypes and propertytypes -->
    <!-- HIGHLY recommend to keep this to true to ensure valid and beautiful XML Schemas -->
    <ForceSafeAliases>true</ForceSafeAliases>

    <!-- Enable / disable xml content cache -->
    <XmlCacheEnabled>True</XmlCacheEnabled>

    <!-- Update disk cache every time content has changed -->
    <ContinouslyUpdateXmlDiskCache>True</ContinouslyUpdateXmlDiskCache>

    <!-- Show the /config/splashes/booting.aspx page while initializing content -->
    <EnableSplashWhileLoading>False</EnableSplashWhileLoading>

    <!-- Show property descriptions in editing view "icon|text|none" -->
    <PropertyContextHelpOption>text</PropertyContextHelpOption>

    <!-- The html injected into a (x)html page if Umbraco is running in preview mode -->
    <PreviewBadge><![CDATA[<a id="umbracoPreviewBadge" style="position: absolute; top: 0; right: 0; border: 0; width: 149px; height: 149px; background: url('{1}/preview/previewModeBadge.png') no-repeat;" href="{0}/endPreview.aspx?redir={2}"><span style="display:none;">In Preview Mode - click to end</span></a>]]></PreviewBadge>

    <!-- Cache cycle of Media and Member data fetched from the umbraco.library methods -->
    <!-- In seconds. 0 will disable cache -->
    <UmbracoLibraryCacheDuration>1800</UmbracoLibraryCacheDuration>
    </content>

    <requestHandler>
    <!-- this will ensure that urls are unique when running with multiple root nodes -->
    <useDomainPrefixes>false</useDomainPrefixes>
    <!-- this will add a trailing slash (/) to urls when in directory url mode -->
    <addTrailingSlash>true</addTrailingSlash>
    <urlReplacing removeDoubleDashes="true">
    <char org=" ">-</char>
    <char org="&quot;"></char>
    <char org="%"></char>
    <char org="."></char>
    <char org=";"></char>
    <char org="/"></char>
    <char org=":"></char>
    <char org="#"></char>
    <char org="+">plus</char>
    <char org="*">star</char>
    <char org="&amp;"></char>
    <char org="?"></char>
    <char org="æ">ae</char>
    <char org="ø">oe</char>
    <char org="å">aa</char>
    <char org="ä">ae</char>
    <char org="ö">oe</char>
    <char org="ü">ue</char>
    <char org="ß">ss</char>
    <char org="Ä">ae</char>
    <char org="Ö">oe</char>
    </urlReplacing>
    </requestHandler>

    <templates>
    <useAspNetMasterPages>true</useAspNetMasterPages>
    </templates>


    <!-- this is used by Umbraco to determine if there's valid classes in the /App_Code folder to be used for Rest/XSLT extensions -->
    <developer>
    <appCodeFileExtensions>
    <ext>cs</ext>
    <ext>vb</ext>
    </appCodeFileExtensions>
    </developer>

    <scripting>
    <razor>
    <!-- razor DynamicNode typecasting detects XML and returns DynamicXml - Root elements that won't convert to DynamicXml -->
    <notDynamicXmlDocumentElements>
    <element>p</element>
    <element>div</element>
    </notDynamicXmlDocumentElements>
    </razor>
    </scripting>

    <!-- This moves the asp.net viewstate data to the end of the html document instead of having it in the beginning-->
    <viewstateMoverModule enable="false" />

    <logging>
    <enableLogging>true</enableLogging>
    <enableAsyncLogging>true</enableAsyncLogging>
    <disabledLogTypes>
    <!-- <logTypeAlias>[alias-of-log-type-in-lowercase]</logTypeAlias> -->
    </disabledLogTypes>
    <!-- You can add your own logging tool by implementing the umbraco.BusinessLogic.Interfaces.ILog interface and add the reference here -->
    <!-- The external logger can also act as the audit trail storage by setting the logAuditTrail attribute to true -->
    <!--<externalLogger assembly="~/bin/assemblyFileName.dll" type="fully.qualified.namespace.and.type" logAuditTrail="false" /> -->
    </logging>

    <scheduledTasks>
    <!-- add tasks that should be called with an interval (seconds) -->
    <!-- <task log="true" alias="test60" interval="60" url="http://localhost/umbraco/test.aspx"/>-->
    </scheduledTasks>

    <!-- distributed calls make umbraco use webservices to handle cache refreshing -->
    <distributedCall enable="false">
    <!-- the id of the user who's making the calls -->
    <!-- needed for security, umbraco will automatically look up correct login and passwords -->
    <user>0</user>
    <servers>
    <!-- add ip number or hostname, make sure that it can be reached from all servers -->
    <!-- <server>127.0.0.1</server>-->
    </servers>
    </distributedCall>

    <!-- configuration for webservices -->
    <!-- webservices are disabled by default. Set enable="True" to enable them -->
    <webservices enabled="False">
    <!-- You must set user-rights for each service. Enter the usernames seperated with comma (,) -->
    <documentServiceUsers>your-username</documentServiceUsers>
    <fileServiceUsers>your-username</fileServiceUsers>
    <stylesheetServiceUsers>your-username</stylesheetServiceUsers>
    <memberServiceUsers>your-username</memberServiceUsers>
    <templateServiceUsers>your-username</templateServiceUsers>
    <!-- type of files (extensions) that are allowed for the file service -->
    <fileServiceFolders>css,xslt</fileServiceFolders>
    </webservices>

    <!-- Configuration for repositories -->
    <!-- Add or remove repositories here. You will need the repository's unique key to be able to connect to it.-->
    <repositories>
    <repository name="Umbraco package Repository" guid="65194810-1f85-11dd-bd0b-0800200c9a66" />
    </repositories>

    <providers>
    <users>
    <!-- if you wish to use your own membershipprovider for authenticating to the umbraco back office -->
    <!-- specify it here (remember to add it to the web.config as well) -->
    <DefaultBackofficeProvider>UsersMembershipProvider</DefaultBackofficeProvider>
    </users>
    </providers>

    <!-- Maps language, usertype, application and application_url to help pages -->
    <help defaultUrl="http://our.umbraco.org/wiki/umbraco-help/{0}/{1}">
    <!-- Add links that should open custom help pages -->
    <!--<link application="content" applicationUrl="dashboard.aspx" language="en" userType="Administrators" helpUrl="http://www.xyz.no?{0}/{1}/{2}/{3}" /> -->
    </help>

    </settings>

    What have I missed?

    Regards

    TT

  • Alex 78 posts 136 karma points
    Apr 04, 2011 @ 21:35
    Alex
    0

    Just a quick thought, have you set your Application Pool to run as .Net Framework 4?

  • TaoistTotty 246 posts 314 karma points
    Apr 04, 2011 @ 22:00
    TaoistTotty
    0

    Alex

    Thank you for the suggestion, but this is set to .NET 4.

    Finally got working by restarting the server and then deleting and restoring some DLL's.

    Who knows why this worked, but it did.

    Many thanks everyone.

    Regards

    TT

  • Ove Andersen 435 posts 1541 karma points c-trib
    Apr 18, 2011 @ 20:14
    Ove Andersen
    0

    I got the same error on a clean 4.7 install.

    I resolved it by recycling the application pool.

Please Sign in or register to post replies

Write your reply to:

Draft