Login  
Search All Forums
Dart Home | PowerWEB File Upload for ASP.NET | Custom Development Reply | PowerWEB File Upload for ASP.NET Topics | Forums   
AuthorForum: PowerWEB File Upload for ASP.NET
Topic: NullReferenceException: Object reference not set to an instance of an object.
peter.dikhazi

From: Budapest, Hungary
Posts: 1
Member Since: 04/06/10
posted April 6, 2010 3:35 PM

Hello,

We are using the 1.2.0.2 version of your Power Web ASP.NET Upload component. The infrastructure
is Windows 2008/IIS 7.0 64 bit. In the application pool we set up true the Enable 32 bit applications.

When we open the web page which uses this component and do something what not use the control (for example just post the data without upload) then we got NullReference Expection.

The exact message is:

NullReferenceException: Object reference not set to an instance of an object.]
  Dart.PowerWEB.FileUpload.FileUploadModule.context_BeginRequest(Object sender, EventArgs args) +687
  System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


web.config part:

<system.webServer>

<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="FileUploadModule" type="Dart.PowerWEB.FileUpload.FileUploadModule,Dart.PowerWEB.FileUpload" preCondition="managedHandler" />
<add name="CallbackManager" type="Dart.PowerWEB.FileUpload.CallbackManager,Dart.PowerWEB.FileUpload" preCondition="managedHandler" />
<remove name="ScriptModule" />
<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="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<remove name="WebServiceHandlerFactory-Integrated" />
<add name="Dart.PowerWEB.FileUpload.GetResource.aspx_*" path="Dart.PowerWEB.FileUpload.GetResource.aspx" verb="*" type="Dart.PowerWEB.FileUpload.ResourceHttpHandler,Dart.PowerWEB.FileUpload" resourceType="Unspecified" preCondition="integratedMode,runtimeVersionv2.0" requireAccess="Script"/>

<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" />
</handlers>

    <urlCompression doDynamicCompression="true" />
</system.webServer>

Let me know if we do something wrong, I read the forum but I didn't find any solution for us.

We use this code on Windows 2003 server without any problem.

Thanks,

Peter Dikhazi
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 12, 2010 5:38 PM

Hi,
Thanks, this has been reported as issue #5254.

For updates on the status of this issue, please contact Jamie Powell (jamie.powell@dart.com).

-ken

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Jamie Powell (Admin)

From: Rome, NY USA
Posts: 448
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted June 21, 2011 5:27 PM

This issue has been resolved and was released June 23, 2010 (version 1.3.2.1). Please contact sales@dart.com for upgrade information.

Thank you.
Reply | PowerWEB File Upload for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX