1、第一个问题
用VS2013发布到jexus的时候是直接发布成文件系统,然后拷到jexus还是直接配置发布成FTP到jexus上,本人刚接触,所以不怎么了解。
2、第二个问题 我发布后在windows正常 但是在linux上总是出现这种问题
Application Exception
System.InvalidOperationException
未找到视图“Index”或其母版视图,或没有视图引擎支持搜索的位置。搜索了以下位置:
~/Views/Home/Index.aspx
~/Views/Home/Index.ascx
~/Views/Shared/Index.aspx
~/Views/Shared/Index.ascx
~/Views/Home/Index.cshtml
~/Views/Home/Index.vbhtml
~/Views/Shared/Index.cshtml
~/Views/Shared/Index.vbhtml
Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): System.Web.Mvc.
Exception stack trace:
at System.Web.Mvc.ViewResult.FindView (System.Web.Mvc.ControllerContext context) <0x415a4800 + 0x002ff> in <filename unknown>:0
at System.Web.Mvc.ViewResultBase.ExecuteResult (System.Web.Mvc.ControllerContext context) <0x415a4550 + 0x000fc> in <filename unknown>:0
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult (System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ActionResult actionResult) <0x415a4520 + 0x0001d> in <filename unknown>:0
at System.Web.Mvc.ControllerActionInvoker+<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17 () <0x415a44a0 + 0x0001f> in <filename unknown>:0
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter (IResultFilter filter, System.Web.Mvc.ResultExecutingContext preContext, System.Func`1 continuation) <0x415a41c0 + 0x000d7> in <filename unknown>:0
作者:技术爱好者 发布时间:16年03月26日 可选操作:
删除 回复这个问题略略复杂一点,建议加入本站的QQ群,以方便讨论。
作者:yunei 发布时间:16年03月27日 可选操作:
删除 回复作者:韩迎龙 发布时间:16年04月28日 可选操作:
删除 回复作者:Rex 发布时间:21年03月16日 可选操作:
删除 回复这社区看了下,根本不活跃,这个论坛都没法搜索查找,而且提交留言的时候,报错提示后,发言内容全清空了,这不应该吧
作者:longTea 发布时间:22年04月25日 可选操作:
删除 回复