Dynamics crm 2011 MS CRM 4.0-WebException:请求失败,HTTP状态为401:未经授权
我对Dynamics CRM女士很好 我们公司必须将我们的一个客户MS CRM 4.0迁移到CRM 2013 我的任务是从数据库备份和自定义应用程序发布(CRMWeb文件夹)创建MS CRM 4.0设置 情景: 我必须从升级Sql Server verions、CRM更新汇总安装开始。在经历了很多痛苦之后,我已经到达了组织导入的阶段 我接下来要做的是自定义应用程序设置。为此,我将客户端收到的CRMWeb>ISV>自定义应用程序复制并粘贴到CRM 4.0>CRMWeb>ISV文件夹中 请注意: ->CrmService已用于定制CRM编程 ->自定义应用程序文件夹没有Web.config文件 问题: 当我点击自定义应用程序页面url时,我在跟踪文件中获得以下错误详细信息 错误:引发了类型为“System.Web.HttpUnhandledException”的异常 错误消息:在执行当前web请求期间发生未处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源 错误详细信息:引发了类型为“System.Web.HttpUnhandledException”的异常 源文件:不可用 行号:不可用 请求URL: 堆栈跟踪信息:[WebException:请求失败,HTTP状态401:未经授权。] 位于System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage消息、WebResponse响应、Stream responseStream、Boolean异步调用) 位于System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName,Object[]参数) 在CrmMetaDataService.MetadataService.Execute(MetadataServiceRequest请求) 在Search_C.bindRank()中 在搜索页面加载(对象发送方,事件参数e) 位于System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp、对象o、对象t、事件参数e) 在System.Web.Util.CallEventHandlerDelegateProxy.Callback(对象发送方,EventArgs e) 在System.Web.UI.Control.OnLoad(EventArgs e)中 在System.Web.UI.Control.LoadRecursive()中 在System.Web.UI.Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint) [HttpUnhandledException:引发了类型为'System.Web.HttpUnhandledException'的异常。] 位于System.Web.UI.Page.HandleError(异常e) 在System.Web.UI.Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint) 在System.Web.UI.Page.ProcessRequest(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint) 在System.Web.UI.Page.ProcessRequest()中 位于System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext上下文) 在System.Web.UI.Page.ProcessRequest(HttpContext上下文)中 在ASP.kyrainfotech4_isv_kyrainfotechwebapp_search_c_aspx.ProcessRequest(HttpContext上下文) 在System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()中 在System.Web.HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值&同步完成) [2015-02-28 17:00:41.3]流程:w3wp |组织:00000000-0000-0000-000000000000 |线程:3 |类别:平台|用户:00000000-0000-0000-000000000000 |级别:Info | MiniDump.CreateDumpInternalDynamics crm 2011 MS CRM 4.0-WebException:请求失败,HTTP状态为401:未经授权,dynamics-crm-2011,webexception,Dynamics Crm 2011,Webexception,我对Dynamics CRM女士很好 我们公司必须将我们的一个客户MS CRM 4.0迁移到CRM 2013 我的任务是从数据库备份和自定义应用程序发布(CRMWeb文件夹)创建MS CRM 4.0设置 情景: 我必须从升级Sql Server verions、CRM更新汇总安装开始。在经历了很多痛苦之后,我已经到达了组织导入的阶段 我接下来要做的是自定义应用程序设置。为此,我将客户端收到的CRMWeb>ISV>自定义应用程序复制并粘贴到CRM 4.0>CRMWeb>ISV文件夹中 请注意: -
at MiniDump.CreateDumpInternal(MiniDumpReasons reason, Exception exception)
at MiniDump.CreateDump(MiniDumpReasons reason, Exception exception)
at MainApplication.Application_Error(Object sender, EventArgs eventArguments)
at EventHandler.Invoke(Object sender, EventArgs e)
at HttpApplication.RaiseOnError()
at HttpApplication.RecordError(Exception error)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
at MiniDump.CreateDumpInternal(MiniDumpReasons reason, Exception exception)
at ExceptionManager.ReportException(Exception exception, String format, Object[] args)
at ExceptionManager.ReportException(Exception exception)
at MainApplication.Application_Error(Object sender, EventArgs eventArguments)
at EventHandler.Invoke(Object sender, EventArgs e)
at HttpApplication.RaiseOnError()
at HttpApplication.RecordError(Exception error)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
迷你转储:未设置或缺少TraceDirectory设置。默认设置为临时文件夹
[2015-02-28 17:00:41.4]流程:w3wp |组织:00000000-0000-0000-000000000000 |线程:3 |类别:平台|用户:00000000-0000-0000-0000-000000000000000000 |级别:Info | MiniDump.CreateDumpInternal
at MiniDump.CreateDumpInternal(MiniDumpReasons reason, Exception exception)
at MiniDump.CreateDump(MiniDumpReasons reason, Exception exception)
at MainApplication.Application_Error(Object sender, EventArgs eventArguments)
at EventHandler.Invoke(Object sender, EventArgs e)
at HttpApplication.RaiseOnError()
at HttpApplication.RecordError(Exception error)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
at MiniDump.CreateDumpInternal(MiniDumpReasons reason, Exception exception)
at ExceptionManager.ReportException(Exception exception, String format, Object[] args)
at ExceptionManager.ReportException(Exception exception)
at MainApplication.Application_Error(Object sender, EventArgs eventArguments)
at EventHandler.Invoke(Object sender, EventArgs e)
at HttpApplication.RaiseOnError()
at HttpApplication.RecordError(Exception error)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
我查看/尝试了这些链接,但未能成功
请提供帮助我不确定此请求是如何发送的,但看起来用户(即登录系统的帐户)未经授权 在不同的系统上运行窗口服务时,我遇到了类似的错误,我必须按照以下步骤将windows帐户添加到服务中 转到服务>服务属性>登录选项卡>并添加一个具有系统访问权限的密码帐户