This is a migrated thread and some comments may be shown as answers.

[Urgent] RadProgressArea Does Not Appear After Deploy the .NET 4.0 WebSite

4 Answers 64 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Away
Top achievements
Rank 1
Away asked on 19 Jul 2011, 04:43 PM

Hi Guys,

I created a simple website just implement the upload with progressbar function. It works when I debug the website using VS.NET 2010. But after I deploy to the host, the RadProgressArea doesn't appear. Please help us to sort it out ASAP.

The Deploy URL as below:

http://raduploadtest.infobleops.net/

I also attached our codes.

Web.Config as below:

<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  -->
<configuration>
    <connectionStrings>
        <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
    </connectionStrings>
    <system.web>
        <compilation debug="true" targetFramework="4.0">
            <assemblies>
                <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            </assemblies>
        </compilation>
        <authentication mode="Forms">
            <forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
        </authentication>
        <membership>
            <providers>
                <clear/>
                <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
            </providers>
        </membership>
        <profile>
            <providers>
                <clear/>
                <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
            </providers>
        </profile>
        <roleManager enabled="false">
            <providers>
                <clear/>
                <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
                <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
            </providers>
        </roleManager>
        <httpHandlers>
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
            <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
        </httpHandlers>
        <httpModules>
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
        </httpModules>
        <httpRuntime maxRequestLength="1048576" requestValidationMode="2.0"/>
    </system.web>
    <system.webServer>
        <modules runAllManagedModulesForAllRequests="true">
            <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule"/>
        </modules>
        <validation validateIntegratedModeConfiguration="false"/>
        <handlers>
            <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
            <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler"/>
        </handlers>
    </system.webServer>
</configuration>


ASPX as below:

<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>
  
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
  
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Welcome to ASP.NET!
    </h2>
    <p>
        To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">www.asp.net</a>.
    </p>
    <p>
        You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&;clcid=0x409"
            title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>.
    </p>
    <table>
    <tr>
        <td>
            <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
            </telerik:RadScriptManager>
            <telerik:RadUpload ID="RadUpload1" Runat="server">
            </telerik:RadUpload>
            <telerik:RadProgressManager ID="RadProgressManager1" Runat="server" />
            <telerik:RadProgressArea ID="RadProgressArea1" Runat="server" 
                DisplayCancelButton="True">
            </telerik:RadProgressArea>
            <br />
            <br />
            <telerik:RadButton ID="RadButton1" runat="server" Text="Upload">
            </telerik:RadButton>
        </td>
    </tr>
    </table>
</asp:Content>



Thanks
Bill

4 Answers, 1 is accepted

Sort by
0
Accepted
Peter Filipov
Telerik team
answered on 22 Jul 2011, 11:58 AM
Hello Away,

We are aware of that issue. It appears when in the IIS server is set "Default Document" (e.g. Default.aspx). When the page is requested (e.g. http://raduploadtest.infobleops.net/) it opens the Default.aspx page. If the page is requested like this http://raduploadtest.infobleops.net/Default.aspx the progress area is working properly.
We are working on that issue and it is going to be fixed. Please excuse us for the inconvenience.

Best wishes,
Peter Filipov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Scott MacFarlane
Top achievements
Rank 1
answered on 28 Jul 2011, 01:57 AM
same issue here - waiting for fix -thanks
0
Peter Filipov
Telerik team
answered on 28 Jul 2011, 12:00 PM
Hi Scott Macfarlane,

As soon as we fix it we will inform you.

Regards,
Peter Filipov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Peter Filipov
Telerik team
answered on 26 Oct 2011, 05:37 PM
Hello Guys,

We worked on the issue and it turned out that it is not fixable.
The problem is that we use HttpWorkerRequest object to track the upload progress and it returns incorrect data because of the HttpRequest object which is different when the requested page URL is without page name(e.g. Default.aspx).
Please use RadAsyncUpload control instead RadUpload in those scenarios.

Best wishes,
Peter Filipov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Upload (Obsolete)
Asked by
Away
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Scott MacFarlane
Top achievements
Rank 1
Share this question
or