0

I created an ASP.NET MVC (ASP>NET Wen Application.net Framework)site using Visual Studio 2019. All worked fine on my Windows 10 using IIS Express.

I then published it to a Windows 2012 Server-IIS. It seems the _Layout page is OK but every page (all have a sql connection - sql on a different server) I get the message Error.

This issue seems to be fixed in debugging by changing the Document Type to 10?

Am I missing some settings in IIS? What other information would be useful in troubleshooting this?

EbertB
  • 95
  • 3
  • 9
  • https://stackoverflow.com/q/11665322/11683 – GSerg Jun 27 '19 at 21:51
  • Check the connection string – Bosco Jun 29 '19 at 16:50
  • Sorry not sure how that error message got in my post. Everything displays just layouts are messed up and tables are not right. If I hit F12 in IE and change the document mode to 10, this seems to fix the issue. – EbertB Jul 01 '19 at 12:57

0 Answers0