上传到ASP.NET MVC时出错 [英] Error while uploading to ASP.NET MVC

查看:64
本文介绍了上传到ASP.NET MVC时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello there !
I have got an issue with asp.net mvc website which i am building in visual studio 2015.
The issue is that it works perfectly fine on my local host but its stops working on my web domain 
and i am getting errors :
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Enterprise/Group
Whereas these files are present here
Server Error in '/' Application.
Any help will be appreciated





我尝试过:



检查项目的网址和文件

他们在文件管理器中查看

查看全部上传到此处



What I have tried:

checking urls and files of the project
they have been viewed in file manager
views are all uploaded here

推荐答案

嗨Maryam,



您是否正确发布了文件?我遵循这个指导方针,它工作正常,请检查 Windows 2012主机 - MVC 6和SQL 2014 BLOG |便宜的ASP.NET MVC 3主机 - ASPHostPortal ::如何使用& quot; \ bin部署& quot; 将ASP.NET MVC 3应用程序部署到虚拟主机[ ^ ]



希望有所帮助!
Hi Maryam,

Have you publish your files properly? I follow this guidelines and it is working fine, please just check Windows 2012 Hosting - MVC 6 and SQL 2014 BLOG | Cheap ASP.NET MVC 3 Hosting - ASPHostPortal :: How to Deploy an ASP.NET MVC 3 App to Web Hosting with "\bin Deployment"[^]

Hope that helps!


这篇关于上传到ASP.NET MVC时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆