Problem upgrade from cuteEditor to Rich text editor on webpage

Last post 09-20-2014, 5:33 AM by PeerDK. 4 replies.
Sort Posts: Previous Next
  •  09-18-2014, 12:46 PM 80420

    Problem upgrade from cuteEditor to Rich text editor on webpage

     Hi.

     

    In a asp.net web project (vb), i am upgrading from cuteSoftEditor to Rich text editor.

     

    If i make a blank new webForm in the project, everything works.

     

    But when i try to  insert the Rich Text Box editor in a already existing page, and i try to upload a picture (document etc.) i got a error.

     

    First of all, i get this alert:

     

     

     

    When i press the ok button, no files or folders are listed. All paths are set correct. 

    The editor is loading correct, and everything else works, except the picture insert/upload part.

     

    If i press the upload icon, visual studio throw this error:

     

     if i press the continue button, i get this error:

     

     

    My web.config file look like this:

    <?xml version="1.0"?>
    <configuration>
      <connectionStrings>
      </connectionStrings>
      <!--
        For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.

        The following attributes can be set on the <httpRuntime> tag.
          <system.Web>
            <httpRuntime targetFramework="4.5" />
          </system.Web>
      -->
      <system.web>
        <compilation debug="true" targetFramework="4.5"/>
        <httpRuntime targetFramework="4.5" />

        <pages controlRenderingCompatibilityVersion="4.0"/>

      </system.web>
      <system.webServer>
        <modules>
          <add name="UploadModule" type="RTE.UploadModule,RichTextEditor"/>
        </modules>
      </system.webServer>
    </configuration> 

     

     

    Any idea what is happening? 

     

  •  09-19-2014, 8:41 AM 80423 in reply to 80420

    Re: Problem upgrade from cuteEditor to Rich text editor on webpage

    Hi,

     

    Please try the setting below in your web.config, it should fix this error.

     

    <httpRuntime requestValidationMode=″2.0″ />

     

    Regards,

     

    Ken 

  •  09-20-2014, 4:59 AM 80424 in reply to 80423

    Re: Problem upgrade from cuteEditor to Rich text editor on webpage

     Hi.

     

    Then i get this error:

     

    My web.config look like this:

     

    <?xml version="1.0"?>
    <configuration>
      <connectionStrings>
      </connectionStrings>
      <!--
        For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.

        The following attributes can be set on the <httpRuntime> tag.
          <system.Web>
            <httpRuntime targetFramework="4.5" />
          </system.Web>
      -->
      <system.web>

        <compilation debug="true" targetFramework="4.5"/>
        <httpRuntime targetFramework="4.5" />
        <pages controlRenderingCompatibilityVersion="4.0"/>
        <httpRuntime requestValidationMode="2.0" />
        <!--
      
    -->
      </system.web>
      <system.webServer>
        <modules>
          <add name="UploadModule" type="RTE.UploadModule,RichTextEditor"/>
        </modules>
      </system.webServer>
    </configuration> 

  •  09-20-2014, 5:05 AM 80425 in reply to 80423

    Re: Problem upgrade from cuteEditor to Rich text editor on webpage

    I i do this:

     

     <httpRuntime targetFramework="4.5" requestValidationMode="2.0" />

     

    The webpage run, without web,conig error, but i stil get the same error, as in my original question.

     

    Kindly Peer 

  •  09-20-2014, 5:33 AM 80426 in reply to 80423

    Re: Problem upgrade from cuteEditor to Rich text editor on webpage

    I solved the problem, but i dont know how :-)

     

    The problem was my masterpage. If i created a new masterpage, copied all my code to the new mastermage, deletede the old masterpage and renamed the new one to the old name, then everything was working.

     

View as RSS news feed in XML