© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
4 replies
Ice_

❔ Blazor Server - scaffolding Identity error

It keeps giving me the error message:

Error

There was an error running the selected code generator:
'Length cannot be less than zero. (Parameter 'length')'

Identity is working and I can register/login, I just can't scaffold in the files for login/register so I can update the HTML. Googling it seems to suggest this is a common problem 🤔

What could be the problem?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Blazor - Identity Scaffolding Fails
C#CC# / help
2y ago
Help scaffolding Identity?
C#CC# / help
3y ago
identity blazor
C#CC# / help
2y ago
❔ Blazor and Auth - Identity
C#CC# / help
3y ago