+3  A: 

The reason you are getting the spark code instead of the test area is due to a null ref exception occurring when it is trying to execute the html.textarea related statements.

Rework your view as follows and you will be able to break into the view code generated by spark in a debugger.

<p>
  <label for="Message">Message:</label>
# System.Diagnostics.Debugger.Break();
  ${ Html.TextArea("IssueText") }
  ${ Html.ValidationMessage("IssueText", "*") }
</p>

Now you can F5 the project and you should get a dialog asking to launch a debugger when you hit the view, ignore it the first time ( hit No ) and launch a debugger the second time ( after you hit submit ). The list should include the VS instance you ran the project from, select that and away you go.

Look for nulls otherwise drop breakpoints in the try catch that renders the text area and in the catch handler for it. Hopefully you will get sufficient info to enable you to determine whats happening.

Neal
I do indeed get a null reference exception, however I can't quite find what's null? Nothing is jumping out at me. This is the code that is generating it: Output.Write(Html.TextArea("Message"));Neither "Output" nor "Html" are null.
cadmium
As near as I can tell it only happens when there is a validation error for that field. If I turn off the validation for that particular field it doesn't break.
cadmium
Step into the Html.TextArea("Message") call, the NRE will be generated somewhere in there.
Neal