Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 3
    Whatever account IIS is running under, it does not have access to table you are trying to SELECT from.
    – Thom A
    Commented Jul 28, 2020 at 15:16
  • The error is pretty clear. I'd suspect the application pool account wasn't added to the database at all, or if it was, it only has the public role which doesn't allow it to read anything Commented Jul 28, 2020 at 15:27
  • @PanagiotisKanavos, what is the application pool account? Identity? I was told that I can't grant the select to public role.
    – Hello
    Commented Jul 28, 2020 at 15:31