none
无法更改用户的业务部门和角色 RRS feed

  • 问题

  • 各位老师好,我今天突然修改不了用户的业务部门和角色了。以下是我通过trace获取的日志,麻烦各位老师看下。是CRM4

    at ErrorInformation.LogError()
    at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError)
    at ErrorInformation..ctor(Exception exception, Uri requestUrl)
    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)
    >MSCRM Error Report:
    --------------------------------------------------------------------------------------------------------
    Error: 引发类型为“System.Web.HttpUnhandledException”的异常。
    Error Message: 从字符串向 datetime 转换时失败。
    Error Details: 引发类型为“System.Web.HttpUnhandledException”的异常。
    Source File: Not available
    Line Number: Not available
    Request URL: http://127.0.0.1/PYCRM/_grid/cmds/dlg_removeroles.aspx?iObjType=1036&iTotal=1&iIndex=0&iAllRoles=2&userid={a58bcac0-a144-e011-bf41-00237dce97fa}&iId={DAB37B66-3FD8-E011-969D-00237DCE97FA}
    Stack Trace Info: [SqlException: 从字符串向 datetime 转换时失败。]
    在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    在 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
    在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
    在 Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command)
    在 Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate)
    在 Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command)
    在 Microsoft.Crm.BusinessEntities.BusinessProcessObject.ExecuteNonQuery(IDbCommand command, ISqlExecutionContext context)
    在 Microsoft.Crm.ObjectModel.RoleServiceInternal`1.RemoveUserFromRoleInternal(Guid userId, Guid roleId, ExecutionContext context)
    在 Microsoft.Crm.ObjectModel.RoleServiceInternal`1.RemoveUserRoles(Guid userId, Guid[] roleIds, ExecutionContext context)
    [TargetInvocationException: 调用的目标发生了异常。]
    在 Microsoft.Crm.Application.Utility.Util.RaiseXMLError(Exception exception)
    在 Microsoft.Crm.Dialogs.RemoveRolesDialogPage.ConfigureForm()
    在 Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
    在 System.Web.UI.Control.PreRenderRecursiveInternal()
    在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    [HttpUnhandledException: 引发类型为“System.Web.HttpUnhandledException”的异常。]
    在 System.Web.UI.Page.HandleError(Exception e)
    在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    在 System.Web.UI.Page.ProcessRequest()
    在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
    在 System.Web.UI.Page.ProcessRequest(HttpContext context)
    在 ASP.pycrm__grid_cmds_dlg_removeroles_aspx.ProcessRequest(HttpContext context)
    在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


    2011年9月15日 9:13

全部回复