The view '/Views/Content/DefaultView.aspx' could not be located at these paths: /Views/Content/DefaultView.aspx

Topics: Developer Forum
Sep 17, 2008 at 2:37 AM
I got a very strange error when I debug on iis. "The view '/Views/Content/DefaultView.aspx' could not be located at these paths: /Views/Content/DefaultView.aspx "
When I debug on localpage generate by VS, the error has gone.Why?
Is this mvc error? how can I solve it. Thanks!
Sep 17, 2008 at 4:17 AM
I have solved this, '/Views/Content/DefaultView.aspx'  need to be changed to '~/Views/Content/DefaultView.aspx' 
Coordinator
Sep 17, 2008 at 7:36 PM
Thanks, I've committed the fix.