Error with Using RadUploadProgressHandler In IIS 7.0 Shared Hosting Environment - How to resolve?

Thread is closed for posting
2 posts, 0 answers
  1. jgill
    jgill avatar
    116 posts
    Member since:
    Jul 2005

    Posted 11 Nov 2008 Link to this post

    I am in a shared hosted environment (Discount ASP) that runs IIS 7.0 with an integrated application pool mode and I am having trouble getting the RadUpload control and progress area to work.  The host has said they they cannot perform the changes to the C:\Windows\System32\inetsrv\config\applicationHost.config file as indicated at the link below and as it is a shared hosting environment.

     

    http://www.telerik.com/help/aspnet-ajax/configuration-radupload-httpmodule-registration-in-iis7.html

     

     

    Host will not do the following:

    Open the file C:\Windows\System32\inetsrv\config\applicationHost.config and find the line:

    <section name="requestFiltering" overrideModeDefault="Deny" />

    Set the overrideModeDefaultproperty to Allow. So now the line should look like:

    <section name="requestFiltering" overrideModeDefault="Allow" />

     

    When I try to use the RadProgressArea for a custom progress bar (no upload is involved, it only tracks a process). I receive an error.

     

    RadUpload Ajax callback error. Source url was not found:

                Telerik.RadUploadProgressHandler.ashx?RadUrid=63d4f5ee-2777-4728-9467-bb7fbf5ca5e5

    Did you register the RadUploadProgressHandler in web.config?

     

    Please, see the help for more details: RadUpload for ASP.NET Ajax – Configuration – RadUploadProgressHandler.

     

     

    Are the settings related to using the RadProgressArea (eventually I will also use the upload) in my Web.Config correct (you may need to copy and paste it as some of the commented out sections may render incorrectly in the post)?



    1 <?xml version="1.0"?>  
    2 <configuration> 
    3     <configSections> 
    4         <!-- .NET 3.5  
    5         <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
    6             <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
    7                 <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    8                 <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
    9                     <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>  
    10                     <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    11                     <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    12                     <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    13                 </sectionGroup> 
    14             </sectionGroup> 
    15         </sectionGroup> 
    16         --> 
    17         <!-- .NET 2.0 --> 
    18         <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
    19             <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
    20                 <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    21                 <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
    22                     <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>  
    23                     <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    24                     <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>  
    25                 </sectionGroup> 
    26             </sectionGroup> 
    27         </sectionGroup> 
    28         <sectionGroup name="elmah">  
    29             <!-- NOTE! If you are using ASP.NET 1.x then remove the  
    30                  requirePermission="false" attribute from the section  
    31                  elements below as those are only needed for  
    32                  partially trusted applications in ASP.NET 2.0 --> 
    33             <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah"/>  
    34             <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah"/>  
    35             <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah"/>  
    36             <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah"/>  
    37         </sectionGroup> 
    38         <section name="JonathanApp.Data" type="JonathanApp.Data.Bases.NetTiersServiceSection, JonathanApp.Data" allowDefinition="MachineToApplication" restartOnExternalChanges="true"/>  
    39         <section name="enterpriseLibrary.ConfigurationSource" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection, Microsoft.Practices.EnterpriseLibrary.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>  
    40     </configSections> 
    41     <connectionStrings> 
    42         <add name="JonathanApp.Data.ConnectionString" connectionString="Data Source=sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;Persist Security Info=True;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced"/>  
    43         <remove name="connJonathanApp_PRD"/>  
    44         <add name="connJonathanApp_PRD" connectionString="Data Source=tcp:sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced;" providerName="System.Data.SqlClient"/>  
    45         <!--<add name="connJonathanApp_PRD" connectionString="Data Source=sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;Persist Security Info=True;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced" providerName="System.Data.SqlClient"/>--> 
    46         <remove name="LocalSqlServer"/>  
    47         <add name="LocalSqlServer" connectionString="Data Source=tcp:sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced;" providerName="System.Data.SqlClient"/>  
    48         <!--<add name="LocalSqlServer" connectionString="Data Source=sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;Persist Security Info=True;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced" providerName="System.Data.SqlClient"/>
    49         --> 
    50         <remove name="Elmah.Sql"/>  
    51         <add name="Elmah.Sql" connectionString="Data Source=sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;Persist Security Info=True;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced" providerName="System.Data.SqlClient"/>  
    52     </connectionStrings> 
    53     <JonathanApp.Data defaultProvider="SqlNetTiersProvider">  
    54         <providers> 
    55             <!--  
    56                 *** SqlClient Provider ***  
    57                     connectionStringName: sqlclient connection string to the db  
    58                     useStoredProcedure: if true, indicates that we use the stored procedures, otherwise, we use parametrized queries that are embedded.  
    59             --> 
    60             <add name="SqlNetTiersProvider" type="JonathanApp.Data.SqlClient.SqlNetTiersProvider, JonathanApp.Data.SqlClient" connectionStringName="JonathanApp.Data.ConnectionString" providerInvariantName="System.Data.SqlClient" entityFactoryType="JonathanApp.Entities.EntityFactory" useEntityFactory="true" enableEntityTracking="true" enableMethodAuthorization="false" useStoredProcedure="false" defaultCommandTimeout="60"/>  
    61             <!--   
    62                 *** WebserviceClient Provider ***  
    63                 The url parameter indicates the webservices url (ex: http://localhost/JonathanApp/JonathanAppServices.aspx)  
    64                 <add   
    65                     name="WsNetTiersProvider"   
    66                     type="JonathanApp.Data.WebServiceClient.WsNetTiersProvider, JonathanApp.Data.WebServiceClient" 
    67                     url="/JonathanAppServices.asmx" /> 
    68             --> 
    69         </providers> 
    70     </JonathanApp.Data> 
    71     <appSettings> 
    72         <add key="SiteStatus" value="On"/>  
    73         <add key="UserThreshold" value="1000"/>  
    74         <add key="CSSFriendly-JavaScript-Path" value="~/JavaScript"/>  
    75         <add key="buildingBlockPath" value="~/UserControls/"/>  
    76     </appSettings> 
    77     <elmah> 
    78         <security allowRemoteAccess="1"/>  
    79         <errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="Elmah.Sql"/>  
    80         <!--  
    81             Use to log errors to Microsoft SQL Server 2000 or 2005  
    82             using ASP.NET 2.0. Set value of connectionStringName attribute  
    83             to the name of the connection string settings to use from  
    84             the <connectionStrings> section.  
    85           
    86         <errorLog type="Elmah.SqlErrorLog, Elmah"   
    87             connectionStringName="..." /> 
    88         --> 
    89         <!--  
    90             Use to log errors into separate XML files that are stored on   
    91             disk at the path specified in the logPath attribute.  
    92  
    93         <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="..." /> 
    94         --> 
    95         <!--  
    96             Use to send error reports by e-mail and adjust the attributes  
    97             according to settings desired. Note that only the from and  
    98             to attributes are required. The rest are optional and may  
    99             be removed. If the SMTP server does not require authentication,  
    100             you MUST remove the userName and password attributes or  
    101             set them to empty values (resulting in zero-length strings).  
    102             If you are using ELMAH compiled for .NET Framework 1.x, then  
    103             the to attribute may contain multiple recipient addresses,  
    104             each of which must be delimited by a semi-colon(;). If you are   
    105             using ELMAH compiled for .NET Framework 2.0 or later, then the  
    106             to attribute may contain multiple recipient addresses,  
    107             each of which must be delimited by a comma (,).  
    108  
    109         <errorMail   
    110             from="elmah@example.com"   
    111             to="admin@example.com"   
    112             subject="..." 
    113             async="true|false" 
    114             smtpPort="25" 
    115             smtpServer="smtp.example.com"   
    116             userName="johndoe" 
    117             password="secret" /> 
    118         --> 
    119         <!--  
    120             Use to prevent errors from being mailed or logged based on  
    121             assertions/conditions provided under the <test> element.  
    122             The example below will filter errors of type HttpException  
    123             where the status code is 404 (in other words, where the  
    124             resource was not found).  
    125  
    126         <errorFilter> 
    127             <test> 
    128                 <equal binding="HttpStatusCode" value="404" valueType="Int32" /> 
    129             </test> 
    130         </errorFilter> 
    131         --> 
    132         <!-- Don't log 404 --> 
    133         <errorFilter> 
    134             <test> 
    135                 <equal binding="HttpStatusCode" value="404" valueType="Int32"/>  
    136             </test> 
    137         </errorFilter> 
    138     </elmah> 
    139     <system.web> 
    140         <pages validateRequest="false" enableEventValidation="false">  
    141             <controls> 
    142                 <!-- .NET 2.0 --> 
    143                 <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
    144                 <!-- .NET 3.5  
    145                 <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    146                 <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    147                 --> 
    148                 <add tagPrefix="data" namespace="JonathanApp.Web.Data" assembly="JonathanApp.Web"/>  
    149                 <add tagPrefix="data" namespace="JonathanApp.Web.UI" assembly="JonathanApp.Web"/>  
    150             </controls> 
    151         </pages> 
    152         <!--  
    153           Set compilation debug="true" to insert debugging  
    154           symbols into the compiled page. Because this  
    155           affects performance, set this value to true only  
    156           during development.  
    157     --> 
    158         <compilation debug="true">  
    159             <assemblies> 
    160                 <!-- .NET 2.0 --> 
    161                 <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
    162                 <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    163                 <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
    164                 <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
    165                 <add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
    166                 <add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
    167                 <add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
    168                 <add assembly="System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
    169                 <add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
    170                 <add assembly="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
    171                 <add assembly="System.Messaging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
    172                 <!-- .NET 3.5  
    173                   
    174                 <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
    175                 <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    176                 <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
    177                 <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
    178                 <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    179                 --> 
    180                 <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies> 
    181         </compilation> 
    182         <!--  CUSTOM ERROR MESSAGES  
    183           Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.   
    184           Add <error> tags for each of the errors you want to handle.  
    185  
    186           "On" Always display custom (friendly) messages.  
    187           "Off" Always display detailed ASP.NET error information.  
    188           "RemoteOnly" Display custom (friendly) messages only to users not running   
    189            on the local Web server. This setting is recommended for security purposes, so   
    190            that you do not display application detail information to remote clients.    --> 
    191         <!--
    192           Custom Friendly Error Pages.  Set to RemoteOnly so we see hard errors when debugging.
    193         --> 
    194         <!-- <customErrors mode="RemoteOnly" defaultRedirect="~/errors/Error.aspx">  
    195             <error statusCode="404" redirect="~/errors/PageNotFound.aspx"/>  
    196         </customErrors> --> 
    197         <customErrors mode="Off"/>  
    198         <httpHandlers> 
    199             <!-- .NET 2.0 --> 
    200             <remove verb="*" path="*.asmx"/>  
    201             <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
    202             <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
    203             <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>  
    204             <!-- .NET 3.5   
    205             <remove verb="*" path="*.asmx"/>  
    206             <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    207             <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    208             <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
    209             --> 
    210             <!--   
    211                 This entry provides the UI for the error log at  
    212                 /admin/elmah.axd below the application path. For example,  
    213                 if your domain is www.example.com and your application  
    214                 is at the root, then you can view the error log by  
    215                 visiting the following URL:  
    216                   
    217                 http://www.example.com//admin/elmah.axd  
    218                   
    219                 IMPORTANT! To secure this location, consult the  
    220                 following notes:  
    221                   
    222                 http://code.google.com/p/elmah/wiki/SecuringErrorLogPages  
    223 --> 
    224             <add verb="POST,GET,HEAD" path="elmah.aspx" type="Elmah.ErrorLogPageFactory, Elmah"/>  
    225              <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" 
    226        type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" /> 
    227  
    228         </httpHandlers> 
    229         <httpModules> 
    230             <!-- .NET 2.0 --> 
    231             <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
    232             <!-- .NET 3.5   
    233             <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    234             --> 
    235             <add name="EntityTransactionModule" type="JonathanApp.Web.Data.EntityTransactionModule"/>  
    236             <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>  
    237             <!--   
    238                 Uncomment the entries below if error mail reporting   
    239                 and filtering is desired.  
    240             --> 
    241             <!--<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />--> 
    242             <!--<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>--> 
    243             <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
    244         </httpModules> 
    245         <!--  AUTHENTICATION   
    246           This section sets the authentication policies of the application. Possible modes are "Windows",   
    247           "Forms", "Passport" and "None"  
    248  
    249           "None" No authentication is performed.   
    250           "Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to   
    251            its settings for the application. Anonymous access must be disabled in IIS.   
    252           "Forms" You provide a custom form (Web page) for users to enter their credentials, and then   
    253            you authenticate them in your application. A user credential token is stored in a cookie.  
    254           "Passport" Authentication is performed via a centralized authentication service provided  
    255            by Microsoft that offers a single logon and core profile services for member sites.    --> 
    256         <!--  
    257           Forms authentication and Session timeouts are set to the same value, e.g. 120 minutes.    
    258           Setting the timeout="525600" would mean the cookie/session would expire in 1 year.  
    259         --> 
    260         <authentication mode="Forms">  
    261             <forms name=".JonathanApp" loginUrl="~/Account/Login.aspx" defaultUrl="~/Default.aspx" 
    262              timeout="120" /> 
    263         </authentication> 
    264         <sessionState timeout="120"/>  
    265         <membership  defaultProvider="AspNetSqlProvider" userIsOnlineTimeWindow="120" > 
    266             <providers> 
    267                 <clear/> 
    268                 <!--<remove name="AspNetSqlProvider" /> --> 
    269                 <add connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" 
    270               enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="JonathanApp" 
    271               requiresUniqueEmail="true" passwordFormat="Hashed" minRequiredPasswordLength="6" 
    272               minRequiredNonalphanumericCharacters="1" name="AspNetSqlProvider" 
    273               type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 
    274             </providers> 
    275         </membership> 
    276  
    277         <roleManager enabled="true" defaultProvider="AspNetSqlProvider">  
    278  
    279             <providers> 
    280                 <clear /> 
    281                 <add connectionStringName="LocalSqlServer" applicationName="JonathanApp" 
    282                  name="AspNetSqlProvider" type="System.Web.Security.SqlRoleProvider" /> 
    283             </providers> 
    284         </roleManager> 
    285         <!--
    286       Declare profile fields
    287     --> 
    288         <profile defaultProvider="AspNetSqlProvider" enabled="true">  
    289             <providers> 
    290                 <!--
    291       Add the application name so that users can be looked up correctly and to prevent duplicate user entries
    292     --> 
    293                 <add name="AspNetSqlProvider" connectionStringName="LocalSqlServer" applicationName="JonathanApp" type="System.Web.Profile.SqlProfileProvider"/>  
    294             </providers> 
    295             <!--   
    296             <properties> 
    297                 <add name="Gender" type="string"/>  
    298                 <add name="Country" type="string"/>  
    299                 <add name="Postalcode" type="string"/>  
    300                 <add name="Birthdate" type="datetime"/>  
    301                 <add name="TermsandConditions" type="System.Boolean"/>  
    302                 <add name="CurrentWITR" type="string"/>  
    303             </properties> 
    304             --> 
    305         </profile> 
    306         <!--  GLOBALIZATION This section sets the globalization settings of the application. --> 
    307         <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="auto" uiCulture="auto"/>  
    308         <!--  AUTHORIZATION   
    309           This section sets the authorization policies of the application. You can allow or deny access  
    310           to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous   
    311           (unauthenticated) users.  --> 
    312         <authorization> 
    313             <allow roles="Administrators" /> 
    314             <allow roles="Super Administrators" /> 
    315         </authorization> 
    316         <!--  APPLICATION-LEVEL TRACE LOGGING  
    317           Application-level tracing enables trace log output for every page within an application.   
    318           Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the  
    319           trace information will be displayed at the bottom of each page.  Otherwise, you can view the   
    320           application trace log by browsing the "trace.axd" page from your web application  
    321           root. --> 
    322         <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>  
    323         <!--  MACHINE KEY FOR ENCRYPTION --> 
    324         <!-- DO NOT USE IN MULTPLE SERVER FARM/ENVIRONMENT - <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1"/> --> 
    325         <machineKey validationKey='F646D04F03B774734D1620C545FA29C89BF9BD797B46E3FA857448040B08762F810850B74821BE0452ADC7ACFC91409FA1A42AE0DF10EFE5695C59E4792C21C7' decryptionKey='C8F27CB3213FFF18633955AF855CB1E64177E4D02078E198' validation='SHA1'/>  
    326         <!-- 
    327         <machineKey validationKey="30CC1E773F7D12E53A3C9F2346D682C33593DE77788CB7CF0154A9885D9F63A59219D5507D1C5C6AEAAA3EDC1D632C5EA86F2BB5BA476652F60F74A4394E2182" decryptionKey="1CC156C7B41308C8B09AF7FB8C08E7B548C722A3131547CAAB3189A268680B7D" validation="SHA1" decryption="AES" />
    328         --> 
    329         <xhtmlConformance mode="Legacy"/>  
    330     </system.web> 
    331     <!-- .NET 3.5   
    332     <system.codedom> 
    333         <compilers> 
    334             <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
    335                 <providerOption name="CompilerVersion" value="v3.5"/>  
    336                 <providerOption name="WarnAsError" value="false"/>  
    337             </compiler> 
    338             <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
    339                 <providerOption name="CompilerVersion" value="v3.5"/>  
    340                 <providerOption name="OptionInfer" value="true"/>  
    341                 <providerOption name="WarnAsError" value="false"/>  
    342             </compiler> 
    343         </compilers> 
    344     </system.codedom> 
    345     --> 
    346     <enterpriseLibrary.ConfigurationSource selectedSource="File Configuration Source">  
    347         <sources> 
    348             <add name="File Configuration Source" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" filePath="entlib.config"/>  
    349         </sources> 
    350     </enterpriseLibrary.ConfigurationSource> 
    351     <!--
    352       Overall Mail Settings
    353     --> 
    354     <system.net> 
    355         <mailSettings> 
    356             <smtp from="no-reply@fakesite.info">  
    357                 <network host="smtp.fakesiteinfo" port="25" userName="no-reply@fakesiteinfo" password="fakepassword"/>  
    358             </smtp> 
    359         </mailSettings> 
    360     </system.net> 
    361     <!-- .NET 3.5  
    362         The system.webServer section is required for running ASP.NET AJAX under Internet  
    363         Information Services 7.0.  It is not necessary for previous version of IIS.  
    364       
    365     <system.webServer> 
    366         <validation validateIntegratedModeConfiguration="false"/>  
    367         <modules> 
    368             <remove name="ScriptModule"/>  
    369             <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    370         </modules> 
    371         <handlers> 
    372             <remove name="WebServiceHandlerFactory-Integrated"/>  
    373             <remove name="ScriptHandlerFactory"/>  
    374             <remove name="ScriptHandlerFactoryAppServices"/>  
    375             <remove name="ScriptResource"/>  
    376             <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    377             <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    378             <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
    379             <add name="Elmah" path="/admin/elmah.axd" verb="POST,GET,HEAD"type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" /> 
    380         </handlers> 
    381  
    382  
    383     </system.webServer> 
    384     <runtime> 
    385         <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
    386             <dependentAssembly> 
    387                 <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>  
    388                 <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>  
    389             </dependentAssembly> 
    390             <dependentAssembly> 
    391                 <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>  
    392                 <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>  
    393             </dependentAssembly> 
    394         </assemblyBinding> 
    395     </runtime>--> 
    396     <location path="Telerik.RadUploadProgressHandler.ashx">  
    397         <system.web> 
    398             <authorization> 
    399                 <allow users="*"/>  
    400             </authorization > 
    401         </system.web> 
    402     </location> 
    403       
    404     <!-- .NET 2.0 --> 
    405     <system.webServer> 
    406         <validation validateIntegratedModeConfiguration="false"/>  
    407         <modules> 
    408             <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
    409             <add name="Elmah.ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler"/>  
    410             <add name="ProgressModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
    411             <!--<add name="Elmah.ErrorFilter"   
    412 type="Elmah.ErrorFilterModule" preCondition="managedHandler" />--> 
    413             <!--<add name="Elmah.ErrorMail" type="Elmah.ErrorMailModule"   
    414 preCondition="managedHandler" />--> 
    415         </modules> 
    416         <handlers> 
    417             <remove name="WebServiceHandlerFactory-Integrated"/>  
    418             <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
    419             <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
    420             <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
    421             <add name="Elmah" path="/admin/elmah.axd" verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode"/>  
    422         </handlers> 
    423     </system.webServer> 
    424 </configuration> 
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 12 Nov 2008 Link to this post

    Hi Jonathan,

    You were missing the RadUploadProgressHandler registration in the system.webServer section of the web.config file and the preCondition of the HttpModule. Please, find the modified web.config file attached.

    The overrideModeDefaultproperty setting is required for being able to define a specific maximum request size to the IIS. If the host has it set to a large enough value, you should not face problems.

    Let me know if that helps.
    Kind regards,
    Erjan Gavalji
    the Telerik team

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