question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting Invalid Column Name 'Created'

See original GitHub issue

I have verified that the column exists and is set up in SSMS correctly. I have full functions of adminUI connected to an existing identity server, with this exception. I cannot edit or delete Clients from the adminUI without getting an error ==> Invalid Column Name ‘Created’

ConfigurationController.cs ` [HttpGet] [Route(“[controller]/[action]”)] [Route(“[controller]/[action]/{id:int}”)] public async Task<IActionResult> Client(int id) { if (id == 0) { var clientDto = _clientService.BuildClientViewModel(); return View(clientDto); }

        var client = await _clientService.GetClientAsync(id);
        client = _clientService.BuildClientViewModel(client);

        return View(client);
    }

`

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cmiller0352commented, Jul 17, 2019

Solved: I had an existing identity server, with custom schema, and not all the tables had the columns the adminUI was expecting. Needed to add a ‘Created’ column in ClientSecrets and ApiSecrets, but was able to get everything up and running.

Thanks for the help!

0reactions
skorubacommented, Jul 17, 2019

Thanks for your feedback.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL Server: Invalid Column Name
Whenever this happens to me, I press Ctrl + Shift + R which refreshes intellisense , close the query window (save if necessary), ......
Read more >
Invalid Column Name SQL: How to Use Columns Properly
An invalid column name error in SQL means that the column name violates the conditions of the column name. If you reference an...
Read more >
Why is this query throwing an "Invalid Column Name" error?
If the field [ParameterName] is the value "StaffTablesRefreshed" , then set the value of [ParameterValue] to "1" . When executed, SQL Server ...
Read more >
I don't understand why I'm getting an "invalid column name" ...
I'm trying to create a stored proc using both a function and a view. I'm getting an "invalid column name" error on 2...
Read more >
How to fix invalid 'Invalid column name' after adding a ...
How to fix invalid 'Invalid column name' after adding a column in the table · Remove columns from the entity that the platform...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found