---
title: "Comment by Rajeev Ranjan Roy on \"How to run ASP.NET Core & SQL Server from Docker\" | Hashnode"
description: "Hi Sam, Thanks for sharing such a nice article. I have followed your steps and getting one issue while testing it through swagger. I am getting a sqlexception &"
url: "https://hashnode.com/posts/how-to-run-aspnet-core-and-sql-server-from-docker/5f944d7540346172a86c1b05/comment/5f978815b4e415193fa1d18b"
---

[Discussion](https://hashnode.com/posts/how-to-run-aspnet-core-and-sql-server-from-docker/5f944d7540346172a86c1b05)

Comment [How to run ASP.NET Core & SQL Server from Docker](https://hashnode.com/posts/how-to-run-aspnet-core-and-sql-server-from-docker/5f944d7540346172a86c1b05)

[Rajeev Ranjan Roy](https://hashnode.com/@Rajeevroy)

[Oct 27, 2020](https://hashnode.com/posts/how-to-run-aspnet-core-and-sql-server-from-docker/5f944d7540346172a86c1b05/comment/5f978815b4e415193fa1d18b)

Hi Sam, Thanks for sharing such a nice article. I have followed your steps and getting one issue while testing it through swagger. I am getting a sqlexception "Notes object not found", tried to check by debugging code stating from Main. I can see the same error under dbcontext object. Hope you would understand the issue. if you can guide me to pass through this exception.

[Rajeev Ranjan Roy](https://hashnode.com/@Rajeevroy)

[Oct 27, 2020](https://hashnode.com/posts/how-to-run-aspnet-core-and-sql-server-from-docker/5f944d7540346172a86c1b05/comment/5f978815b4e415193fa1d18b#reply-5f97b283b4e415193fa1d33e)

I am able to resolve this issue, forgot to add initial migrations.

[Sam Walpole](https://hashnode.com/@dr_sam_walpole)

[Oct 27, 2020](https://hashnode.com/posts/how-to-run-aspnet-core-and-sql-server-from-docker/5f944d7540346172a86c1b05/comment/5f978815b4e415193fa1d18b#reply-5f97e1a091c85e2865f5e949)

[Rajeev Ranjan Roy](https://hashnode.com/@Rajeevroy)

Hi Rajeev, Thank you for the comments. I'm glad you managed to resolve your issue. It's my mistake that I forgot to write about adding the migration in this post. I will update it shortly.

Many thanks
