Dear Khorvat,
Thank you for your answer. I am explaining the steps that I followed below.
i) I've installed a clean MonoX 4.9 on one of my local directory using VS 2013 with Update2 . No problem for now.Everything is OK.
ii) Upgraded MonoX 4.9 Project to latest ASP.NET framework version. e.g. 4.5.1 by using VS 2013 and compiled and deleted ''precompiledapp.config' file run it again.Everything is OK.
iii) I've added an Entitiy Framework 6.0 database first domain model by chosing a table from a test database.
iv) By right clicking the project on the Solution explorer and chosing the Add->New Scaffolded Item, the solution file structure seemed like given by 'AfterScaffolding.jpg'. Please find the image in the uploads. Meanwhile the Solution still builds well but the error comes with the content :
Server Error in '/' Application.Runtime ErrorDescription: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.
You can find image in the uploads again with the name error.jpg
I've set the debug="true" in the web.config but it doesn't matter, no use, there is no meaningful error explanation.
After scaffolding and running the app, debugger hits the Application_Start() event in global.asax succesfully and passed the each line in the event without error.
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
But after successfully rendering the last line -BundleConfig.RegisterBundles(BundleTable.Bundles)- VS throws the error that I've mentioned above.
I hope I could explain all steps clearly..
Thank you..