We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

getting object reference not set to an instance of an object

Thread ID:





33599 Aug 23,2005 10:28 AM UTC Aug 26,2005 01:37 AM UTC ASP.NET Web Forms (Classic) 1
Tags: FAQ
Asked On August 23, 2005 10:28 AM UTC

i''m getting object reference not set to an instance of an object when i''m uploading a file in server.when i''m clicking the upload button using If txtFile.PostedFile.FileName = Nothing Then even i selected the file using browse button i''m getting error

Replied On August 26, 2005 01:37 AM UTC

Hi sunanda, It should be: If txtFile.PostedFile = Nothing


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon