Web.config Error

2 posts, 0 answers
  1. Neda
    Neda avatar
    25 posts
    Member since:
    Oct 2011

    Posted 03 Dec 2011 Link to this post

    Hi
    i am using the latest version of radeditor , but in web.config file i have the following error ,
    "
    Assembly 'Telerik.Web.UI, Version=2010.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    would you please help me.

    Thanks

    My web.config file is
    ---------------------------------
    <?xml version="1.0"?>
    <configuration>
      <configSections>
        <sectionGroup name="Miron.web">
          <section name="CompressorSettings" type="Miron.Web.MbCompression.SettingsConfigSection" />
        </sectionGroup>
      </configSections>
      <appSettings>
        <add key="DBNAME" value="Data Source=pserver;Initial Catalog=Olom_Pezeshki;User ID=sa;Password=Qwe123" />
        <!--<add key="DBNAME" value="Data Source=server;Initial Catalog=tbzmed;User ID=sa;Password=Qwe1234"/>-->
        <add key="ExternalDBNAME" value="Data Source=192.168.1.1;Initial Catalog=Externalelib;User ID=sa;Password=1234" />
        <add key="SiteUrl" value="http://itshams.ir" />
        <add key="email" value="info@itshams.ir" />
        <add key="Hejri" value="-1" />
        <add key="SSlEmail" value="false" />
      </appSettings>
      <system.net>
        <mailSettings>
          <smtp>
            <network host="mail.itshams.ir" port="25" userName="site@itshams.ir" password="t@123_it" />
          </smtp>
        </mailSettings>
      </system.net>
      <system.web>
        <httpRuntime maxRequestLength="10240" executionTimeout="300" />
        <customErrors mode="On" defaultRedirect="Error.aspx?ErrorType=customErrors" />
        <compilation debug="true" urlLinePragmas="true">
          <assemblies>
            <!--<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>-->
          </assemblies>
        </compilation>
        <httpHandlers>
          <add verb="*" path="jslib.axd" type="Miron.Web.MbCompression.JavaScriptCompressionHandler" validate="true" />
          <add verb="*" path="css.axd" type="Miron.Web.MbCompression.CssCompressionHandler" validate="false" />
          <add verb="GET" path="CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha" />
          <add verb="*" type="ComponentArt.Web.UI.UploadProgressHandler,ComponentArt.Web.UI" path="ComponentArtUploadProgress.axd" />
          <add verb="*" path="*js.axd" type="JavaScriptHandler" />
          <!--<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" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
          <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
        </httpHandlers>
        <httpModules>
          <add type="ComponentArt.Web.UI.UploadModule,ComponentArt.Web.UI" name="ComponentArtUploadModule" />
          <add type="CompressWebResource" name="CompressWebResource" />
        </httpModules>
        <authentication mode="Windows" />
      </system.web>
      <Miron.web>
        <CompressorSettings reflectionAlloweded="false" optimizeHtml="true" daysInCahe="30" compressCSS="true" compressJavaScript="true" compressPage="false" compressWebResource="false" compressThirdParityScripts="false">
          <excludeTypes>
            <add key="image/gif" />
            <add key="image/jpeg" />
          </excludeTypes>
          <excludePaths>
            <!--<add key="~/DontCompressMe.aspx" />-->
          </excludePaths>
        </CompressorSettings>
      </Miron.web>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <handlers>
          <remove name="WebServiceHandlerFactory-Integrated" />
          <remove name="ScriptHandlerFactory" />
          <remove name="ScriptHandlerFactoryAppServices" />
          <remove name="ScriptResource" />
          <add name="JsHandler" verb="*" path="jslib.axd" type="Miron.Web.MbCompression.JavaScriptCompressionHandler, MbCompression" preCondition="integratedMode" />
          <add name="CssHandler" verb="*" path="css.axd" type="Miron.Web.MbCompression.CssCompressionHandler, MbCompression" preCondition="integratedMode" />
          <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
          <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
        </handlers>
       
      </system.webServer>
    </configuration>
    ---------------------------------------------------

  2. Neda
    Neda avatar
    25 posts
    Member since:
    Oct 2011

    Posted 03 Dec 2011 Link to this post

    Hi
    I found the solution.

    Thanks

    Neda
Back to Top