我有一个asp,net MVC 4项目。我选择了一家托管公司www.somee.com进行快速测试。我做的是上传一个zip文件并解压缩。 当我打开网址时,我收到了错误。
IIS 8.0 Detailed error
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
Most likely causes:
A default document is not configured for the requested URL, and directory browsing is not enabled on the server.
Things you can try:
If you do not want to enable directory browsing, ensure that a default document is configured and that the file exists.
Enable directory browsing using IIS Manager.
Open IIS Manager.
In the Features view, double-click Directory Browsing.
On the Directory Browsing page, in the Actions pane, click Enable.
Verify that the configuration/system.webServer/directoryBrowse@enabled attribute is set to true in the site or application configuration file.
Detailed Error Information:
Module DirectoryListingModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x00000000
Requested URL http://xxxx.somee.com:80/
Physical Path d:\DZHosts\LocalUser\username\www.xxxx.somee.com
Logon Method Anonymous
Logon User Anonymous
这是否意味着我应该尝试使用本地IIS或服务器IIS?但我无法控制服务器端。
答案 0 :(得分:2)
这是我开始的地方
以下是您需要进行bin部署的一些信息:
Can I bin deploy and MVC4 for .NET 4 where I have an MVC3 app running?
http://haacked.com/archive/2011/05/25/bin-deploying-asp-net-mvc-3.aspx
祝你好运
答案 1 :(得分:0)