Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

MVC5 - EF6 - SQL server - WindowsAuthentication - works in studio debug, but not on IIS

$
0
0

I followed all the following MVC/EF tutorials:

https://www.asp.net/mvc/overview/getting-started/introduction/getting-started

Getting Started with Entity Framework 6 Code First using MVC 5

Getting Started with Entity Framework 6 Database First using MVC 5

Using Windows Authentication.

I applied to some to a few tables in a SQL Server (2008R2) database.  This is on a separate server from workstations and IIS server.

Everything works perfect with the studio debugging browser.

  • Pages render beautifully
  • Windows credentials are displayed
  • SQL data is access and passed to the views perfectly

When ran from IIS (7.5 on server 2008 R2):

  • Pages render beautifully
  • windows credentials are displayed
  • SQL data isn't accessable
  • Error.

    An error occurred while processing your request

Please help. We are not using Azure AD yet. We need to use AD for our intranet site authentication.


Viewing all articles
Browse latest Browse all 4737

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>