Migration of iis from visual studio to iis7 location does not access the database

Asked

Viewed 204 times

2

I migrated the default IIS express vs server to the IIS of my pc.

Way: visual studio >> Project settings >> Web >> Servers => I took out IIS express and placed local IIS, rotated and goes up to the login screen but after the following mistake "An error occurred while processing your request"

I don’t think he’s getting access to the bank?

1 answer

1


  • Open IIS Manager (Internet Information Services Provider);
  • Expand the node Websites from your server. Find the published website and click on it;
  • Click on Error Pages (Error Pages. NET);
  • On the right side, click on the link Edit Configuration (Edit Settings for Resource);
  • In Mode (Mode), please select Disable (Deactivate);
  • Also check the option Allow Nested Errors (Allow Nested Errors);
  • Click on OK.

Repeat the test.

  • Now gave this error: Login failed for user 'IIS APPPOOL Defaultapppool'.

  • I’ve already solved Tnks, solved by going to the application pool>>advanced settings>>identity>>internal account>>Localsystem

  • 1

    You solved it, but you solved it the wrong way, this account has too many privileges to be used on IIS, you should never have to change the identity of Apppool, you should have fixed the access to SQL Server, since by error message was probably login failure of the same.

  • @Leandrogodoyrosa It was better to have commented on the question, for the author of the question see. Around here he will not see.

  • You’re right, I forgot to mention his name in the comment, so @Kleberbarros would be nice if you saw my previous comment

Browser other questions tagged

You are not signed in. Login or sign up in order to post.