PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, July 15, 2022

[FIXED] How to deploy ASP.Net MVC 5 to IIS 8 Windows Server 2012?

 July 15, 2022     asp.net, asp.net-mvc-5, iis-8, web-deployment     No comments   

Issue

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.


Solution

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.



Answered By - Dinesh Paudel
Answer Checked By - Terry (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing