0

Please or Register to create posts and topics.

Error consulting and creating users and roles

Hello,

I have the PRO version of QuickApp.

I've just downloaded, decompressed the QuickApp.Pro version, and:

  • I did the dotnet build in the DAL and QuickApp.Pro subfolders
  • Then npm install at the QuickApp.Pro/ClientApp subfolder
  • Changed the appsettings.Development.json file to connect to my SQL Server
  • And the run dotnet run

I can login into the base app, but if i go to the Users and Roles pages, after loading the page the app shows a grey almost-full screen box with three blank lines and without text in it.

Then, if I close that box and do click in the New user (or role) button and Save, I get an message: SAVE ERROR The below errors occured whilst saving your changes:   (and nothing more)

 

The screens don't indicate what's wrong.

I suspect you have an error message on the first screen telling you that some component or ts file contains an error, or check you console what's the error.

Secondly I suspect your connectionstring is not working as on the second screen I see no roles and the pro version contains some built-in by default.

Hello,

I think that the first problem can be due to the version of Chrome and the Toasty module.

  • I'm using the version 65.0.3325.181 of Chrome and it fails.
  • I tried with FireFox ESR v38.7.1 and with it works fine. And there I can see an error when loading the roles and the users.

Respect for the second issue, when I do dotnet run, the database, at the SQL Serve, is created. I assume that the connection string is ok.

I checked the dotnet console, and I saw this error:

fail: Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler[3]
 Exception occurred while processing message.
System.InvalidOperationException: IDX10803: Unable to obtain configuration from: 'http://localhost:5050/.well-known/openid-configuration'.
 at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.<GetConfigurationAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
 at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.<HandleAuthenticateAsync>d__6.MoveNext()
fail: Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler[3]
 Exception occurred while processing message.
System.InvalidOperationException: IDX10803: Unable to obtain configuration from: 'http://localhost:5050/.well-known/openid-configuration'. ---> System.IO.IOException:
IDX10804: Unable to retrieve document from: 'http://localhost:5050/.well-known/openid-configuration'. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A connection with the server could not be established
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Threading.Tasks.RendezvousAwaitable`1.GetResult()
 at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
 --- End of inner exception stack trace ---

Any idea?

Thanks.

for the error unable to obtain configuraiton ... localhost:5050 read this: https://www.staging8.ebenmonney.com/forum/?view=thread&id=60