Copied to clipboard

Flag this post as spam?

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


  • Kim Andersen 1447 posts 2196 karma points MVP
    Sep 05, 2009 @ 15:34
    Kim Andersen
    0

    Error when trying to sort items

    I get an error when I try to sort my items in the media section.

    I right-click and then click the [sort by name]. But an error occours:

     

    Server Error in '/' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: The server tag 'asp:ScriptManager' is ambiguous. Please modify the associated registration that is causing ambiguity and pick a new tag prefix.

    Source Error:

    Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SortMedia.aspx.cs" Inherits="ProlificNotion.Umbraco.MediaSorter.SortMedia" %>
    Line 2:
    Line 3: <%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Line 4: Namespace="System.Web.UI" TagPrefix="asp" %>
    Line 5:


    Source File: /umbraco/dialogs/SortMedia.aspx    Line: 3


    Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

     

    I run Umbraco 4.0.1 by the way.

     

    What can I do?

     

     

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 05, 2009 @ 18:15
    Simon Dingley
    1

    What version of the .net Framework are you using?

    I think you are using v2.0 so could you try changing the version number in line 3 above from 3.5.0.0 to 2.0.0.0 and let me know how you get on.

    The file you need to change is /umbraco/dialogs/SortMedia.aspx

  • Kim Andersen 1447 posts 2196 karma points MVP
    Sep 07, 2009 @ 09:37
    Kim Andersen
    0

    Hi Simon

     

    I tried to change the version from 3.5.0.0 to 2.0.0.0, but I still get an error:

    Server Error in '/' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SortMedia.aspx.cs" Inherits="ProlificNotion.Umbraco.MediaSorter.SortMedia" %>
    Line 2:
    Line 3: <%@ Register Assembly="System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Line 4: Namespace="System.Web.UI" TagPrefix="asp" %>
    Line 5:


    Source File: /umbraco/dialogs/SortMedia.aspx    Line: 3

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



    Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3601

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 07, 2009 @ 10:55
    Simon Dingley
    0

    Could you try taking the entire line out as if it is defined in your web.config alreadyI don't think it shouldn't be needed.

     

    <%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"     Namespace="System.Web.UI" TagPrefix="asp" %>

    I appreciate your patience while we try and resolve this issue.

     

  • Kim Andersen 1447 posts 2196 karma points MVP
    Sep 07, 2009 @ 11:13
    Kim Andersen
    0

    When you say "take the line out", do you then mean remove the line? Deleting it from the code? If I do this I'll get this error:

     

    Parser Error body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

    Server Error in '/' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: The base class includes the field 'ScriptManager1', but its type (System.Web.UI.ScriptManager) is not compatible with the type of control (System.Web.UI.ScriptManager).

    Source Error:

    Line 11: <body class="umbracoDialog" style="margin: 15px 10px 0px 10px;">
    Line 12:     <form id="form1" runat="server">
    Line 13:         <asp:ScriptManager ID="ScriptManager1" runat="server">
    Line 14:     </asp:ScriptManager>
    Line 15: 


    Source File: /umbraco/dialogs/SortMedia.aspx    Line: 13


    Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3601

     

    If it wasn't what you ment, I'm sorry.

    But I very much appreciate your help so far.

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 13, 2009 @ 23:05
    Simon Dingley
    0

    Sorry for the delay coming back to you.

    I have recompiled the package against .net framework v2.0 in the hope that your problem disappears. Please download v1.02 and let me know if it is any better for you.

  • Kim Andersen 1447 posts 2196 karma points MVP
    Sep 21, 2009 @ 11:36
    Kim Andersen
    1

    Wuhuu, it works now with the new 1.0.2 :)

    The only small thing is, that when the sorting has completed after the "Sort Media Items"-button is clicked, the message says:

    <%= umbraco.ui.Text("sort", "sortDone") %>

    in the dialog window. It's a small thing, and the sorting still works fine.

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 21, 2009 @ 16:38
    Simon Dingley
    0

    That's great news! I will take a look at why the UI Feedback is displaying the source rather than the message but the main thing is that the package is now functioning correctly for you.

    I install the package as part of any new umbraco install now as it has proved such a time saver for me and makes it much quicker and easier to locate specific media items once they have been sorted.

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 21, 2009 @ 17:41
    Simon Dingley
    0

    v1.0.3 now uploaded and should hopefully address the issue with the UI Feedback not displaying correctly.

  • Kim Andersen 1447 posts 2196 karma points MVP
    Sep 23, 2009 @ 15:04
    Kim Andersen
    0

    Yes it works perfectly now Simon :)

    Thank you for the great package.

Please Sign in or register to post replies

Write your reply to:

Draft