Looks like it was an ASP.NET installation issue. I turned it on and off again and it worked this time. Weird.
Thanks for the suggestions! On Jul 31, 2012, at 7:04 AM, Alex Vilela wrote: > Hi Shu, > > I'm not sure why you get this error, but my suspicions are in the way that > the dashboard is configured on IIS. > Do you have asp.net MVC installed? > Is your website on integrated or classic mode? > Is the ccnet service executing? The service doesn't need the dashboard, but > the dashboard needs the service. > > Regards, > > Alex Vilela > > > On 31 July 2012 01:25, Shu Chow <[email protected]> wrote: > Hi, all. I followed the instructions on Matthew Bussa's blog to install a > basic running instance of CCNet > (http://www.matthewbussa.com/2011/05/installing-and-configuring-cruise.html). > Unfortunately, I cannot get the application to run even with this basic > installation. > > This is a Windows 7 machine. I tried to install this with CruiseControl.NET > 1.8.0.0. The ccnet.config file is the standard one in the application. Both > follow. > > Any ideas on how to fix this? Thanks! > > > > > > The error: > > > > Server Error in '/ccnet' Application. > -------------------------------------------------------------------------------- > 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: > An unhandled exception was generated during the execution of the current web > request. Information regarding the origin and location of the exception can > be identified using the exception stack trace below. > Stack Trace: > > [NullReferenceException: Object reference not set to an instance of an > object.] > > ThoughtWorks.CruiseControl.WebDashboard.MVC.ASPNET.HttpHandler.ProcessRequest(HttpContext > context) +43 > > System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() > +598 > System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& > completedSynchronously) +170 > > > > -------------------------------------------------------------------------------- > Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET > Version:2.0.50727.5456 > > > The config file: > > <cruisecontrol xmlns:cb="urn:ccnet.config.builder"> > <!-- This is your CruiseControl.NET Server Configuration file. Add your > projects below! --> > > > <project name="MyFirstProject" > description="demoproject showing a small config"> > > <triggers> > <!-- check the source control every X time for changes, > and run the tasks if changes are found --> > <intervalTrigger > name="continuous" > seconds="30" > buildCondition="IfModificationExists" > initialSeconds="5"/> > </triggers> > > <sourcecontrol type="nullSourceControl" > alwaysModified="true"> > </sourcecontrol> > > <tasks> > <exec> > <!-- if you want the task to fail, ping an unknown > server --> > <executable>ping.exe</executable> > <buildArgs>localhost</buildArgs> > <buildTimeoutSeconds>15</buildTimeoutSeconds> > <description>Pinging a server</description> > </exec> > </tasks> > > <publishers> > <xmllogger /> > <artifactcleanup cleanUpMethod="KeepLastXBuilds" > cleanUpValue="50" /> > </publishers> > > </project> > > </cruisecontrol> > >
