error in extended search in modal windows

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
darkdragon
User
Posts: 150

error in extended search in modal windows

Post by darkdragon »

scenario:

  • table begining with _ (_ImportAmounts)
  • the table allows for importing excel files
  • there is one field (string) which is set-up as Select which uses a lookup table; the lookup is set as modal dialog.

worked perfectly inANM2019
after conversion to ANM2021, I get this error Cannot perform runtime binding on a null reference, after trying to search in the modal (modal never shows)

2021-11-03T15:42:08.0715069+02:00 8000001e-0003-fb00-b63f-84710c7967bb [INF] Request finished HTTP/1.1 POST http://localhost/evolt/api/lookup application/x-www-form-urlencoded;+charset=UTF-8 367 - 500 - text/plain 122.5160ms (791a596a)
2021-11-03T15:42:10.9597291+02:00 8000001f-0003-fb00-b63f-84710c7967bb [INF] Request starting HTTP/1.1 POST http://localhost/evolt/api/lookup application/x-www-form-urlencoded;+charset=UTF-8 339 (ca22a1cb)
2021-11-03T15:42:11.0113787+02:00 8000001f-0003-fb00-b63f-84710c7967bb [INF] Authorization was successful. (0d575a54)
2021-11-03T15:42:11.0115833+02:00 8000001f-0003-fb00-b63f-84710c7967bb [INF] CORS policy execution successful. (5409d6ef)
2021-11-03T15:42:11.0116956+02:00 8000001f-0003-fb00-b63f-84710c7967bb [INF] Executing endpoint '"AspNetMaker2021.Controllers.LookupController.Post (AspNetMaker2021)"' (500cc934)
2021-11-03T15:42:11.0121957+02:00 8000001f-0003-fb00-b63f-84710c7967bb [INF] Route matched with "{action = \"Post\", controller = \"Lookup\"}". Executing controller action with signature "System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(System.String)" on controller "AspNetMaker2021.Controllers.LookupController" ("AspNetMaker2021"). (122b2fdf)
2021-11-03T15:42:11.0138244+02:00 8000001f-0003-fb00-b63f-84710c7967bb [INF] Executed action "AspNetMaker2021.Controllers.LookupController.Post (AspNetMaker2021)" in 1.4641ms (afa2e885)
2021-11-03T15:42:11.0139447+02:00 8000001f-0003-fb00-b63f-84710c7967bb [INF] Executed endpoint '"AspNetMaker2021.Controllers.LookupController.Post (AspNetMaker2021)"' (99874f2b)
2021-11-03T15:42:11.0231973+02:00 8000001f-0003-fb00-b63f-84710c7967bb [ERR] An unhandled exception has occurred while executing the request. (48a46595)
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference

renamed the table to remove the "_" prefix and now it's OK


Webmaster
User
Posts: 9427

Post by Webmaster »

Please update to the latest template (Tools -> Update Template) and try again.


Post Reply