Not Me

Not Me

  • NA
  • 15
  • 0

Photo Album

Mar 21 2006 9:44 AM
I am trying to use this photo album I found on this site. Here is the link http://www.c-sharpcorner.com/UploadFile/desaijm/asp_net_photoalbum02122006183031PM/asp_net_photoalbum.aspx?ArticleID=1cfa4c7b-652c-421f-865f-42e801fd3ce4 I can get it to work when I run it from visual studio but not from my web server. I tried to e-mail the author of the app but it keeps bouncing back to me. Below is the error I get. I am new to asp.net and web development. Any help would be great ================================================================================== 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: Line 22: Line 23: // add path to current context. Line 24: Context.Items["Path"] = settings.UrlFormatter.Decrypt(path); Line 25: Line 26: // set culture info Source File: c:\phototest\Global.asax Line: 24 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in c:\phototest\Global.asax:24 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64