Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, February 27, 2012 12:26 PM
hi all,
i upgraded my vs to add mvc4. I,when created a new mvc4 application,am getting such error-"The pre-application start initialization method start on type System.Web.Webpages.Deployment.PreApplicationStartCode threw an exception with the following error message:Exception has been thrown by the target of an invocation"
any clues?
many thanks
All replies (1)
Monday, February 27, 2012 3:56 PM âś…Answered
is there any entry in web.config as :
<add key="webpages:Enabled" value="true" />
if yes try to remove this line.