Answered by:
VS 2012 doesn´t publish correctly

Question
-
Hi,
I´ve recently had to start using vs 2012. When creating an asp web site, vs generates a lot of stuff to the web.config that previous versions of vs didn´t.
When publishing to the server I get the 500 internal error.
How do I fix this? As far as I know, it doesn´t matter what version of .net I´m building.
Regards
- Moved by Jack Zhai-MSFTMicrosoft contingent staff Thursday, December 25, 2014 7:53 AM
Tuesday, December 16, 2014 8:24 AM
Answers
-
Thanks for THKAW's help.
Hi Fabean,
What about this problem now? Could you get useful information from THKAW's suggestion.
Actually this forum is to discuss the VS IDE, if still no help, since it is related to web site publishing, I suggest you post this issue to the ASP.NET forum here:
http://forums.asp.net/1020.aspx/1?VS+Web+Deployment+Projects
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by pvdg42 Friday, December 26, 2014 3:26 PM
- Marked as answer by Dave PatrickMVP Thursday, January 1, 2015 3:23 PM
Wednesday, December 24, 2014 7:08 AM
All replies
-
Hi Fabean,
500 internal error have many reason, let's try one-by-one
create a simple index.html, and using browser to browse that page.
This method is to check your site's folder permission is readable
Wednesday, December 17, 2014 4:19 AM -
Hi,
Thanks for answering.
I tried uploading a simple .html, and it works fine.
The thing is I´ve had this problem before, and that time I solved it by using a web.config from a project created in vs 2010.
Naturally I don´t want to do that everytime a create a website, so I appreciate any help.
Could it be some limitation in my version of vs2012? As far as I know it´s vs2012 ultimate.
regards
Fabean
- Edited by Fabean Wednesday, December 17, 2014 10:48 PM
Wednesday, December 17, 2014 10:48 PM -
How do your ASP page deploy? web deply? file system copy? ftp?
if simple .html work find, prove that website folder permission is correct.
but your ASP page maybe using other folder's resource(like picture).
You can change directory's permission, inherit previous directory's permission.
So that you didn't change every website folder.
Friday, December 19, 2014 2:37 AM -
Thanks for THKAW's help.
Hi Fabean,
What about this problem now? Could you get useful information from THKAW's suggestion.
Actually this forum is to discuss the VS IDE, if still no help, since it is related to web site publishing, I suggest you post this issue to the ASP.NET forum here:
http://forums.asp.net/1020.aspx/1?VS+Web+Deployment+Projects
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- Proposed as answer by pvdg42 Friday, December 26, 2014 3:26 PM
- Marked as answer by Dave PatrickMVP Thursday, January 1, 2015 3:23 PM
Wednesday, December 24, 2014 7:08 AM