When I try to open a draft e-mail activity I get the following error:

"An unhandled exception occurred during the execution of the current
web request. Please review the stack trace for more information about
the error and where it originated in the code."

The request to the server (query string) is :
/Activities/Email/edit.aspxid={CAADD887-4AE1-438A-BE09-9E559205337C}

As you can see after edit.aspx there is a "?" missing, i.e. the above
line should have been
edit.aspx?id={CAADD887-4AE1-438A-BE09-9E559205337C}
AND NOT
edit.aspxid={CAADD887-4AE1-438A-BE09-9E559205337C}

The Stack Trace gives me the following:
[FormatException: Input string was not in a correct format.]
System.Number.ParseInt32(String s, NumberStyles style,
NumberFormatInfo info) +0
Microsoft.Crm.Application.Forms.Activities.Party..ctor(String
partyXml)
Microsoft.Crm.Application.Forms.Activities.Parties.AddPartiesFromXml(String
xml)
Microsoft.Crm.Application.Forms.Activities.ActivityForm.RetrieveDataParams()
Microsoft.Crm.Application.Forms.Activities.EmailActivityForm.RetrieveDataParams()
Microsoft.Crm.Application.Forms.EndUserForm.Execute(Entity entity)
Microsoft.Crm.Application.Forms.Activities.ActivityForm.Execute(Activity
activity)
Microsoft.Crm.Application.Forms.Activities.EmailActivityForm.Execute(Email
email)
Microsoft.Crm.Web.Activities.EmailDetailPage.ConfigureForm() +367
Microsoft.Crm.Application.Controls.AppPage.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750


and also the COM Proxy gives "Error loading file - The file may not
exist or may be damaged!"

Any clues ??? I run out of ideas!!!

Thanks

Nicos Papaioannou

RE: Problem opening e-mail activity - Input string was not in a correc by DanQuinton

DanQuinton
Wed Dec 01 11:05:05 CST 2004

Hi Nicos

Does this happen on all email activities or just one?

If it is just one activity it is possible that the contact entered in the
email was deleted/recreated. If the activity is opened after this the contact
will be blank and it will work fine. But if the deletionservice runs and the
contact is removed from the database then the record will be orphaned and you
will see the error message you mentioned. Is this possible?

Regards

Dan

"Nicos Papaioannou" wrote:

> When I try to open a draft e-mail activity I get the following error:
>
> "An unhandled exception occurred during the execution of the current
> web request. Please review the stack trace for more information about
> the error and where it originated in the code."
>
> The request to the server (query string) is :
> /Activities/Email/edit.aspxid={CAADD887-4AE1-438A-BE09-9E559205337C}
>
> As you can see after edit.aspx there is a "?" missing, i.e. the above
> line should have been
> edit.aspx?id={CAADD887-4AE1-438A-BE09-9E559205337C}
> AND NOT
> edit.aspxid={CAADD887-4AE1-438A-BE09-9E559205337C}
>
> The Stack Trace gives me the following:
> [FormatException: Input string was not in a correct format.]
> System.Number.ParseInt32(String s, NumberStyles style,
> NumberFormatInfo info) +0
> Microsoft.Crm.Application.Forms.Activities.Party..ctor(String
> partyXml)
> Microsoft.Crm.Application.Forms.Activities.Parties.AddPartiesFromXml(String
> xml)
> Microsoft.Crm.Application.Forms.Activities.ActivityForm.RetrieveDataParams()
> Microsoft.Crm.Application.Forms.Activities.EmailActivityForm.RetrieveDataParams()
> Microsoft.Crm.Application.Forms.EndUserForm.Execute(Entity entity)
> Microsoft.Crm.Application.Forms.Activities.ActivityForm.Execute(Activity
> activity)
> Microsoft.Crm.Application.Forms.Activities.EmailActivityForm.Execute(Email
> email)
> Microsoft.Crm.Web.Activities.EmailDetailPage.ConfigureForm() +367
> Microsoft.Crm.Application.Controls.AppPage.OnLoad(EventArgs e)
> System.Web.UI.Control.LoadRecursive() +35
> System.Web.UI.Page.ProcessRequestMain() +750
>
>
> and also the COM Proxy gives "Error loading file - The file may not
> exist or may be damaged!"
>
> Any clues ??? I run out of ideas!!!
>
> Thanks
>
> Nicos Papaioannou
>