Tech Support > Microsoft Windows > Windows CRM > Unhandled Execution Error (COMException (0x80131904)])
Unhandled Execution Error (COMException (0x80131904)])
Posted by CN on July 3rd, 2008


Encountering this error when i tried to close an opportunity:

Server Error in '/' Application
--------------------------------------------------------------------------------

Unhandled Execution Error
Description: 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.

Exception Details: System.Runtime.InteropServices.COMException:

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:


[COMException (0x80131904)]
Microsoft.Crm.Platform.ComProxy.CRMOpportunityClas s.Win(CUserAuth&
Caller, String ActivityXml, String PartiesXML, Int32 Status) +0
Microsoft.Crm.Application.Platform.Opportunity.Win (String activityXml,
String partyXml, Int32 status) +198
Microsoft.Crm.Web.SFA.OpportunityDetailPage.DoClos e(Object sender,
DataEventArgs e) +194
Microsoft.Crm.Web.SFA.OpportunityDetailPage.Close( Object sender,
DataEventArgs e) +56
Microsoft.Crm.Application.Forms.DataEventProcessor .Raise(FormEventId
eventId, FormState state, User user, String objectId, Entity entity) +176
Microsoft.Crm.Application.Forms.AppForm.RaiseDataE vent(FormEventId
eventId) +89
Microsoft.Crm.Application.Forms.EndUserForm.Initia lize(Entity entity) +56
Microsoft.Crm.Application.Forms.CustomizableForm.E xecute(Entity entity,
String formId, String formType) +83
Microsoft.Crm.Application.Forms.CustomizableForm.E xecute(Entity entity) +13
Microsoft.Crm.Web.SFA.OpportunityDetailPage.Config ureForm() +467
Microsoft.Crm.Application.Controls.AppPage.OnPreRe nder(EventArgs e) +30
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Page.ProcessRequestMain() +1499

Appreciate if someone could help. Thanks.

Posted by Aamir Bashir on July 3rd, 2008


Make a simple opportunity and dont create any activity and relate the
opportunity to any product or so. Just basic values . Make it sure
that user has enough rights .

Try to close and reproduce the error.

/Aamir

Posted by CN on July 4th, 2008


Hi thank you very much for your reply.

May i know the reason for doing your proposed test?
Currently, the opportunity which i'm trying to close does not have any
activity
but it does has a product related to it.

Do you suspect anything wrong?

The user is in fact the creator of the opportunity thus rightfully she has the
right to close the opportunity. The administrator has also attempted to
close it
but also faces the error.

"Aamir Bashir" wrote:

Posted by Aamir Bashir on July 4th, 2008


I wanted to know if there is something wrong with the "Opportunity"
when nothing is related to it. If there is no error then it will be
easy for you to look at "Product" you are associating . In this way
you can narrow down your search to find error.

/Aamir


Similar Posts