Hello, I was following the getting started tutorial (https://aspnetzero.com/Documents/Getting-Started-Angular). I have followed the directions. But I when I run the front-end and the back-end, and visit localhost:4200 it gives me an internal server error.
[HMR] Waiting for update signal from WDS... :22742/AbpUserConfiguration/GetAll:1
Failed to load resource: the server responded with a status of 500 (Internal Server Error) abp.js:342
WARN: abp.js:342
Could not find localization source: AbpWeb client?719c:77
[WDS] Hot Module Replacement enabled.
I searched all the projects on the server side for a route /abpUserConfiguration/GetAll but I couldn't find it. I didnt' find it either in the swagger
Can anybody tell me if I have to change somethings to get the "out of the box" tutorial to work.
4 Answer(s)
-
1
Hi @advaniamobilepay
AbpUserConfigurationController is defined in ABP Framework https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.AspNetCore/AspNetCore/Mvc/Controllers/AbpUserConfigurationController.cs.
Could you check App_Data/Logs/Logs.txt file under the *.Host project to see if there are any error messages related to this problem ?
I assume you have already runned *.Host project and saw the swagger ui and runned yarn and npm start respectively to run the Angular app.
-
0
Hi @ismcagdas, thank you for the response.
You have asumed correctly.
The App_Data/logs/logs.txt contains 13k lines,
"Abp.BackgroundJobs.BackgroundJobManager - System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified"
There are a lot of sql errors. Do I have to create a sql server. I was under the impression the software would create an "in memory" server for me.
-
0
Thank you so much for your help. For some reason I could not update the in memory database with the "Update Database". So I downloaded SQL EXPRESS and changed the connection string to point to that database and was able to "Update Database" :)
Thank you for pointing out to me the App_Data/Logs/Logs.txt, It helped me.
Have a good one
-
0
Great :)