Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Return View Model Problem with Sample Tutorial #1863


User avatar
0
rhuseman89 created

I am new learning ASP.NET Boilerplate and I am going through the Using ASP.NET Core, entity Framework Core and ASP.NET Boilerplate to Create NLayered Web Applications. I have downloaded the sample application and tried to run the app. The home and about pages load just fine, but when I try to load the Tasks View I get the following returned back to the view.

Below is the page as well as the returned values that the view displayed.

{"result":null,"targetUrl":null,"success":false,"error":{"code":0,"message":"An internal error occurred during your request!","details":null,"validationErrors":null},"unAuthorizedRequest":false,"__abp":true}

I am sure the code is fine, but I don't think I am not correctly migrating the database. I am experienced in MVC 5.x and Entity Framework 6, and I think the problem has to do with me being new to .net core. I don't see the database being created.

I don't see and App_Data folder where the database is normally kept.


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    The solution uses local SQL Server (have you installed?), so it will not be in App_Data folder.

    You can check Logs folder of the Web project (it may be in App_Data/Logs) to see the actual exception message and stack trace.