Problem getting started

Jul 23, 2009 at 4:35 PM

I installed Oxite but it keeps erroring on the following line of code with message below:

 

       public static string Site(this UrlHelper urlHelper)
        {
            return urlHelper.RouteUrl("Site");
        }

       public static string Site(this UrlHelper urlHelper)

        {

            return urlHelper.RouteUrl("Site");

        }

 

A route named 'Site' could not be found in the route collection.

Any ideas what I've set up incorrectly?

Rich

Coordinator
Jul 24, 2009 at 10:15 PM

This is definitely the worst error ever.  It has nothing to do with the routes.  When there's an error connecting to the database (or some other load issue) it can sometimes get skipped over and since the routes didn't get setup properly it says it can't find any of them.  Restart Oxite and make sure the connection to your database is working.