Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Object reference not set to an instance of an object

Vote:
 

I have this error. I don't know much abou the project. 

[NullReferenceException: Object reference not set to an instance of an object.]
   Mediachase.Commerce.Website.Handlers.StaticCatalogUriHandler.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +109
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +193
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


I get this error on start page.
#85939
May 09, 2014 3:14
Vote:
 

From this small little errormessage I think your HttpContext might be null.
But it is impossible to say more without seeing the whole stacktrace and the code where it happens.

#85940
May 09, 2014 7:35
Vote:
 

Which Commerce version is this?

#85949
May 09, 2014 9:42
Vote:
 

Thank you guys,

It was a problem with a IIS. After fix the .net 2 with IIS 7.

#86042
May 13, 2014 6:12
Vote:
 

Good that it worked out. IIS and framework proplems can be hard to solve sometimes.

#86043
May 13, 2014 7:01
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.