I developed an application in ASP.Net MVC 5 with database SQL Server 2012 now I want to deploy it in Windows Server 2012 with IIS 8
I followed this link: http://www.asp.net/mvc/overview/deployment/visual-studio-web-deployment/deploying-to-iis
but when I run my application in browser it gives error:
HTTP Error 500.19 - Internal Server Error The requested page can not be access because the related configuration data for the page is invalid.
I am new in this area please if you could explain in details.
You need to publish it first selecting your project on Visual studio . After that you need to create the site on IIS. In some case you can find diffiult on mapping your db for that you need to add the permission on the db server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With