✅ Im trying to migrate my ef core project into my local MSSql Database but a context is wrong.
Everytime i run
or
I keep getting " Unable to create an object of type 'MariaDbContext' ..."
I wonder why i have checked the code and there isn't any errors. that im aware of.
![](https://utfs.io/f/9e92f4a5-292d-41b4-85b1-3a1037c64cbf-1nq2cb.png)
![](https://utfs.io/f/a1a40b1b-fc5f-4130-afb9-0dfdf427ebf7-1nq2cb.png)
![](https://utfs.io/f/38da991d-b763-4992-ac90-af80c01df75b-1nq2cb.png)
![](https://utfs.io/f/925f1f24-da49-4d6f-ae10-af3020c19159-1nq2cb.png)
3 Replies
Show $code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
If your code is too long, post it to: https://paste.mod.gg/Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.