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

Error with RadUpload

1 Answer 55 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
fedail
Top achievements
Rank 1
fedail asked on 19 Dec 2008, 04:36 PM
i have add radupload progress and radupload area and radupload
and configure the webconfig with

 

<system.webServer> 
      <validation validateIntegratedModeConfiguration="false"/>  
      <modules> 
        <remove name="ScriptModule" /> 
        <add name="ProgressModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
        <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
      </modules> 
      <handlers> 
        <remove name="WebServiceHandlerFactory-Integrated"/>  
        <remove name="ScriptHandlerFactory" /> 
        <remove name="ScriptHandlerFactoryAppServices" /> 
        <remove name="ScriptResource" /> 
        <add name="DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=5798b630e02d74fc"/>  
        <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"/>  
        <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"/>  
        <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" /> 
        <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> 

it is work for milliseconde and then give me this


Server Error in '/newfuture' Application.  
--------------------------------------------------------------------------------  
 
Object reference not set to an instance of an object.   
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.   
 
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.  
 
Source Error:   
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.    
 
Stack Trace:   
 
 
[NullReferenceException: Object reference not set to an instance of an object.]  
   Telerik.Web.UI.RadUploadHttpModule.SetTextContent(Type workerRequestType, HttpWorkerRequest workerRequest, Byte[] textContent) +162  
   Telerik.Web.UI.RadUploadHttpModule.Context_BeginRequest(Object sender, EventArgs e) +378  
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68  
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75  
 
   
 
 
--------------------------------------------------------------------------------  
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053  

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 22 Dec 2008, 10:08 AM
Hello fedail,

Which version of RadUpload are you using? Please specify the full version number of the Telerik.Web.UI.dll assembly.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Upload (Obsolete)
Asked by
fedail
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or