locked
Error while converting Appointment to Opportunity in MS CRM 2013 RRS feed

  • Question

  • Hi All,

    We recently had a CRM 4.0 organization upgraded to CRM 2013. The upgrade was successful and we have also installed MS CRM 2013 Service Pack 1 on the server. However, we have just noticed that when converting an Appointment to Opportunity in CRM it gives the generic error message window "An error  has occurred". Upon enabling trace  the error captured is as follows,

    >MSCRM Error Report:
    --------------------------------------------------------------------------------------------------------
    Error: Could not load type 'Microsoft.Crm.Web.Activities.Dialogs.ConvertActivity'.
    Error Message: An error occurred during the parsing of a resource required to service this request.   Please review the following specific parse error details and modify your source file appropriately.
    Error Details: Could not load type 'Microsoft.Crm.Web.Activities.Dialogs.ConvertActivity'.
    Source File:  /SMS/Activities/act_dlgs/convert_activity.aspx
    Line Number: 1
    Request URL: http://mscrm2013/SMS/Activities/act_dlgs/convert_activity.aspx?activityType=4201&dType=1&ownerId=%7bCA5EA15E-3C85-E111-B605-00304862F398%7d&ownerType=8&subject=Scheduled%20Office%20Call%20%3a%20Test%20Call%20for%20follow%20up
    Stack Trace Info: [HttpException: Could not load type 'Microsoft.Crm.Web.Activities.Dialogs.ConvertActivity'.]
    at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError)
    at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly)
    at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData)
    [HttpParseException: Could not load type 'Microsoft.Crm.Web.Activities.Dialogs.ConvertActivity'.]
    at System.Web.UI.TemplateParser.ProcessException(Exception ex)
    at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
    at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
    [HttpParseException: Could not load type 'Microsoft.Crm.Web.Activities.Dialogs.ConvertActivity'.]
    at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
    at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
    at System.Web.UI.TemplateParser.Parse()
    at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
    at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
    at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
    at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
    at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
    at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
    at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
    at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
    at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
    at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
    at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
    at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    As you can see, the CRM is having trouble loading the type 'Microsoft.Crm.Web.Activities.Dialogs.ConvertActivity'. We are also unsure if it used to work before the Service Pack 1 installation.

    Any help on what the cause could be and how it can be resolved ?

    Thanks

    Rinish

    Rinish R

    Monday, December 15, 2014 10:18 AM

All replies

  • Was it working in CRM 4? its online deployement or Onpremise deployement?

    If its on-premise than:

    1. Though its not a supported customization but is "convert_activity.aspx" or "convert_activity.aspx.cs" manually modified or removed?

    2. Is there any ribbon diff customization on Convert Opportunity ?

     

    Tuesday, December 16, 2014 12:15 PM
  • Hi Niraj,

    Thanks for replying.

    * Yes it was working in CRM 4.0 and it is an Onpremise deployment

    * The convert_activity.aspx or .cs file was not manually removed or modified.

    * No, there are no ribbon diff customization on Convert Opportunity, but both Appointment and Opportunity forms have field level customization in it.



    Rinish R

    Tuesday, December 16, 2014 3:05 PM
  • Hi,

    Are there any plugins or js present on either appointment or opportunity?

    Regards


    Rickard Norström Developer CRM-Konsulterna
    http://www.crmkonsulterna.se
    Swedish Dynamics CRM Forum: http://www.crmforum.se
    My Blog: http://rickardnorstrom.blogspot.se

    Tuesday, December 16, 2014 3:45 PM
  • Hi Rickard,

    There are no plugins present but both entities have JavaScript containing functions to be execute on form load. They mainly deal with populating data.

    Thanks


    Rinish R

    Wednesday, December 17, 2014 3:07 PM