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

Upload progress area error

4 Answers 69 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
loai taha
Top achievements
Rank 1
loai taha asked on 26 Mar 2009, 02:15 PM
Hi there,

I've been facing this really crazy driving error with my 2007 Q3 prometheus Rad Upload Control. What i'm trying to do is simply adding a progress area control to show upload progress and details. However it does not run and keeps giving me below error? there is no special code or any thing else, I did all the required webconfig updates, I even followed the demo webconfig configuration that comes with the Prometheus suit. when I remove the RadProgressArea control it works fine

I really need help guys, below are both the error and webconfig configuration.

ERROR:
Error 1 Cannot create an object of type 'System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' from its string representation '(Collection)' for the 'Localization' property. D:\SarayaCareers\website\jobApplication.aspx 1775 

WEBCONFIG

<configuration>
 
 <system.web>
      :
      :
      :
   
  <httpHandlers>
   <remove verb="*" path="*.asmx"/>
   <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
   <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"/>
   <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"/>
     
      <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
    </httpHandlers>
   
  <httpModules>
   <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
     
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
    </httpModules>
   
  <httpRuntime executionTimeout="1200" maxRequestLength="2097151" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100"/>
  <customErrors mode="Off"/>
 </system.web>
 <system.webServer>
  <validation validateIntegratedModeConfiguration="false"/>
  <modules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler"/>
   <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
  </modules>
  <handlers>
   <remove name="WebServiceHandlerFactory-Integrated"/>
   <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"/>
   <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"/>
   <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"/>

      <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0"/>

  </handlers>
 </system.webServer>
</configuration>


Thank you so much for help

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 26 Mar 2009, 02:35 PM
Hello loai taha,

Could you please paste here the upload declaration as well? It seems from the error message that the Localization property is not properly set.

Regards,
Albert
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
loai taha
Top achievements
Rank 1
answered on 26 Mar 2009, 03:03 PM
Thank you so much for your Help :-)\

below are the ASPX declarations:

Rad Upload Contro

<telerik:RadUpload ID="RadUpload1" runat="server" ControlObjectsVisibility="None" Skin="Default2006" MaxFileInputsCount="1" />

Rad Progress Area
<telerik:RadProgressArea ID="RadProgressArea1" runat="server" Language="" Localization="(Collection)ProgressIndicators="TotalProgressBar, TotalProgress, TotalProgressPercent, RequestSize, FilesCountBar, FilesCount, FilesCountPercent, SelectedFilesCount, CurrentFileName, TimeElapsed, TimeEstimated, TransferSpeed">
</telerik:RadProgressArea>

Rad Progress Manager
<telerik:RadProgressManager ID="RadProgressManager1" runat="server" EnableEmbeddedBaseStylesheet="true" EnableEmbeddedSkins="true"  />

0
Atanas Korchev
Telerik team
answered on 26 Mar 2009, 03:08 PM
Hi loai taha,

Please try removing the setting of the Language and Localization properties so the progressarea looks like this:

<telerik:RadProgressArea ID="RadProgressArea1" runat="server" ProgressIndicators="TotalProgressBar, TotalProgress, TotalProgressPercent, RequestSize, FilesCountBar, FilesCount, FilesCountPercent, SelectedFilesCount, CurrentFileName, TimeElapsed, TimeEstimated, TransferSpeed">
</telerik:RadProgressArea>


All the best,
Albert
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
loai taha
Top achievements
Rank 1
answered on 26 Mar 2009, 03:19 PM
Albert... you are the Man :-)

and sure I'll vote for my beloved Telerik controls..... Thanks a bunch :-)
Tags
Upload (Obsolete)
Asked by
loai taha
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
loai taha
Top achievements
Rank 1
Share this question
or