We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Website MVC5?RSS

1 reply

Last post Apr 25, 2021 07:14 AM by lextm

‹ Previous Thread|Next Thread ›
  • Website MVC5?

    Apr 24, 2021 08:31 PM|millerriyan|LINK

    IIS server (Windows 2008 R2, IIS 7) connecting to the same SQL Server database. I'm now getting an error 500 which means that I can't connect to the database, error:  login failed for user 'IIS APPPOOL\ASP.NET v4.0', tried adjusting permissions to the database which further screwed things up. Any ideas how to configure IIS APPPOOL\ASP.NET v4.0 to get round this issue.

  • Re: Website MVC5?

    Apr 25, 2021 07:14 AM|lextm|LINK

    Run the application pool under a domain user and then assign that user account permissions on the SQL Server database please. You are not supposed to use "IIS APPPOOL\ASP.NET v4.0" when you have no idea what it is.

    Lex Li
    Want to have a chat on the issues you meet? Book an appointment at https://buy.stripe.com/cN24ia0yi7sAdIA7sv
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
‹ Previous Thread|Next Thread ›