Unhandled Exception

May 8, 2012 at 1:42 PM
Edited May 18, 2012 at 11:19 AM
Got deployed, but at the time of adding the webpart on a page, i got the below error...would be wonderful if it works properly
Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: $Resources:core,ImportErrorMessage;

Regards,

Tanmay Bari

May 8, 2012 at 2:32 PM
Edited May 18, 2012 at 11:19 AM

Finally have made it work, Downloaded the source code and made some modifications. It is working wonders though. Great application !. Very useful !

Regards,

Tanmay Bari

May 10, 2012 at 8:14 AM
Edited May 18, 2012 at 11:19 AM

Also, in the source code, there seems to be some error related to "Show/hide the Workflow Settings" button on ribbon.When i try to hide the "workflow Settings" tab,somehow it doesnt work,So perhaps replace the below code

   if (!this.ShowWorkflows)
                {
                    try
                    {
                        ribbon.TrimById(MENU_ID_SETTINGS);
                    }
                    catch (Exception ex)
                    {
                        PortalLog.LogString(ex.StackTrace);
                    }
                }
with

   if (!this.ShowWorkflows)
                {
                    try
                    {
                        ribbon.TrimById(MENU_ID_WORKFLOWS);
                    }
                    catch (Exception ex)
                    {
                        PortalLog.LogString(ex.StackTrace);
                    }
                }

 

Regards,

Tanmay Bari