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

Object reference not set to an instance of an object

1 Answer 187 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Kevin Clark
Top achievements
Rank 1
Kevin Clark asked on 09 Nov 2008, 10:06 PM
I'm trying to use the RadProgressManager.  After I post back to page, I get 'Object reference not set to an instance of an object', [NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.RadUploadHttpModule.SetTextContent(Type workerRequestType, HttpWorkerRequest workerRequest, Byte[] textContent) +169
   Telerik.Web.UI.RadUploadHttpModule.Context_BeginRequest(Object sender, EventArgs e) +612
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

I've followed all of the web.config examples but nothing works.

Setup is VS2005 on Vista.  RadControls version is 2008.01.0619.20.

Code looks like this:

 

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">

 

 

</telerik:RadStyleSheetManager>

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

 

 

</telerik:RadScriptManager><telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

</telerik:RadAjaxManager>

 

 

 

<input type="file" runat="server" id="inputFile"/>

 

 

<asp:button ID="buttonSubmit" runat="server" Text="Submit" OnClick="buttonSubmit_Click" CssClass="RadUploadButton" />

 

 

 

<telerik:RadProgressManager id="Radprogressmanager1" runat="server" />

 

 

<telerik:RadProgressArea id="RadProgressArea1" runat="server" />

 

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 10 Nov 2008, 05:06 PM
Hello Kevin Clark,

This error resembles an old problem which should be fixed in the current official release. I suggest you download it and give it a try.

Regards,
Albert
the Telerik team

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