Error code c00ce514 (RadUpload)

4 posts, 0 answers
  1. Roberto Wenzel
    Roberto Wenzel avatar
    41 posts
    Member since:
    Sep 2012

    Posted 03 Aug 2008 Link to this post

    Hello,
    I got an error message without further explanations. The code is c00ce514. I guess it has something to do with file up/downloading. The error occurs when I push a button for file download. I use RadUpload in my project.
    Has anyoneexperienced similar problems?
    Google found only a few results, which did not help me at all (most of the results where french pages!)
    Any hint is appreciated.
    Cheers Roberto
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 04 Aug 2008 Link to this post

    Hi Roberto Wenzel,

    Can you provide us a live url which we can access and check?

    Googling the error code points to msxml3.dll - the Microsoft XML Parser. So at a guess, either you're feeding it invalid xml or it's choking on your valid xml - both are possible
    http://www.webhostingtalk.com/showthread.php?t=564618

    Other people overcome the problem by disabling compression. Can you try that please?

    Regards,
    Veskoni
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Roberto Wenzel
    Roberto Wenzel avatar
    41 posts
    Member since:
    Sep 2012

    Posted 06 Aug 2008 Link to this post

    Hello thank you for your reply. The error occurs because of a file downloading action from inside an AJAX enabled RadGrid. It is no specific telerik problem but a commonly known issue of AJAX. I found several pages with scripts but could not manage to integrate them into my website. I tried several days and dozens of variations.

    I have a RadGrid inside an AjaxPanel. In that grid is a template column with a push button to download a file.
    Without AJAX enabled everything works fine. I need a function that disables AJAX when that button is clicked for file downloading:
    Here is a part of that grid:

    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="100%" Width="100%">

    <telerik:RadGrid ID="rad_DetailsGrid" runat="server" AutoGenerateColumns="False"

                GridLines="None" Skin="Sunset" AllowPaging="True">

    ...

    <telerik:GridTemplateColumn UniqueName="Down">

    <ItemTemplate>

    <asp:Button runat="server"  ID="btnDownload" CommandName="Download" Text="file"  />

    </ItemTemplate>

    </telerik:GridTemplateColumn>

    ...

    </telerik:RadGrid>

    </telerik:RadAjaxPanel>

    The underlying code is as following:

    Public Sub RadDetailsGrid_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rad_DetailsGrid.ItemCommand

    ...

    If (e.CommandName = "Download") Then

    Dim dataItem As GridDataItem = CType(e.Item, GridDataItem)

    Dim strFileName As String = String.Empty

    Dim dblc As DataBoundLiteralControl = CType(dataItem("FileName").Controls(0), DataBoundLiteralControl)

    strFileName = RTrim(LTrim(Replace(dblc.Text, Chr(13) + Chr(10), "")))

    Dim strPath As String = Server.MapPath("./UploadedFiles")

    Dim strFullPathAndFileName = strPath & "\" & strFileName

    Dim file As System.IO.FileInfo = New System.IO.FileInfo(strFullPathAndFileName)

    If file.Exists Then

    Response.Clear()

    Response.AddHeader("Content-Disposition", "attachment; filename=" & file.Name)

    Response.AddHeader("Content-Length", file.Length.ToString())

    Response.ContentType = "application/octet-stream"

    Response.WriteFile(file.FullName)

    Page.Response.End()

    Else

    Response.Write("This file does not exist.")

    End If

    End If

    ...

    End Sub


    Could you please provide me with a function that disables AJAX when the button is clicked and the file is downloaded?

  5. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 07 Aug 2008 Link to this post

    Hi Roberto,

    Yes, you can disable AJAX for that button.

    Please check the following links:
    I hope this helps.

    Best wishes,
    Veskoni
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top