View Single Post
  #1 (permalink)  
Old January 30th, 2015, 05:11 AM
wassim84 wassim84 is offline
Authorized User
Points: 73, Level: 1
Points: 73, Level: 1 Points: 73, Level: 1 Points: 73, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2015
Posts: 16
Thanks: 5
Thanked 0 Times in 0 Posts
Default File Upload error / Ch. 14

I am having a problem in Chapter 14, when I insert a new photo album then browsing for the (.jpg) file, assoon as I click insert, an error is thrown.

The error (in browser) is:
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


I have no idea what it is, I have reviewed the section in chapter 19 about IIS, but I did not know the application name to set, and I feel it is not the cause to the problem, it is something else.

Note: Everything else is working, When I opened the default page in (Photo Album) folder and selected (from the drop down) the photo album name I can find an empty square (containing no picture).

Any help :/

Last edited by wassim84; January 30th, 2015 at 06:04 AM..
Reply With Quote