I am attempting to set up an ASP.NET MVC 4 application to run under an already configured website based on ASP.NET MVC 4. I.e. I want to have an application run under http://dev.site.local/myApp but no matter how I do it, if I configure it either as an app or as a virtual directory I always get Internal Server Error upon trying to access it.
我正在尝试设置一个ASP.NET MVC 4应用程序,以便在已经配置的基于ASP.NET MVC 4的网站下运行。我希望在http://dev.site.local/myApp下运行一个应用程序,但无论我怎么做,如果我将其配置为应用程序或虚拟目录,我总是在尝试访问时遇到内部服务器错误它。
Output from IIS log:
IIS日志输出:
2012-12-03 10:05:14 127.0.0.1 GET /Ekstranett - 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.4+(KHTML,+like+Gecko)+Chrome/22.0.1229.94+Safari/537.4 500 19 183 0
Is anyone able to assist in debugging and solving this most frustrating problem?
有人能够协助调试和解决这个最令人沮丧的问题吗?
EDIT: After some thorough googling I've managed to interpret the log entry as Invalid configuration data. Still hard at work.
编辑:经过一些彻底的谷歌搜索后,我设法将日志条目解释为无效的配置数据。仍在努力工作。
1 个解决方案
#1
0
The culprit turned out to be the lack of proper permissions. I set the right permissions and then it all worked out.
罪魁祸首证明是缺乏适当的权限。我设置了正确的权限,然后一切都解决了。
#1
0
The culprit turned out to be the lack of proper permissions. I set the right permissions and then it all worked out.
罪魁祸首证明是缺乏适当的权限。我设置了正确的权限,然后一切都解决了。