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