Hello,

I have downloaded a project from a svn and i am trying to run it on my local machine. I am getting the following error. Can anybody help?

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:

Code:
public DataRow GetSchool()
{
	Hashtable schools = (Hashtable)Application["Schools"];

	if (schools.ContainsKey(Request.Url.Host.ToLower()))
		return (DataRow)schools[Request.Url.Host.ToLower()];
	else
		return (DataRow)schools["Default"];
}
Let me know if you need more details. I very new much an amateur to C#.
please help.
Thank you