【发布时间】:2015-06-19 13:43:50
【问题描述】:
您好,我在 asp.net mvc 5 Web 应用程序中的 CKEditor 上使用 CKFinder。只有远程服务器的问题,本地服务器没有问题。当我在 CKEditor 上选择添加图像并单击浏览服务器时,我的 url 是//Scripts/ckfinder/ckfinder.html?type=Images&CKEditor=Text&CKEditorFuncNum=1&langCode=tr。由于 mvc 不允许直接链接 ckfinder.html IIS 给出错误。错误是:System.Web.HttpException: Failed to Execute URL。如何修复错误?
说明:
当前执行过程中发生了未处理的异常 网络请求。请查看堆栈跟踪以获取有关的更多信息 错误及其源自代码的位置。
异常详情:
System.Web.HttpException:执行 URL 失败。
来源错误:
在执行过程中产生了一个未处理的异常 当前的网络请求。有关原产地和位置的信息 可以使用下面的异常堆栈跟踪来识别异常。
堆栈跟踪:
[HttpException (0x80004005): Failed to Execute URL.]
System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state) +2582829
System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state) +412
System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +192
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +301
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
【问题讨论】:
标签: c# asp.net-mvc iis ckeditor ckfinder