cancel
Showing results for 
Search instead for 
Did you mean: 

SEHException : External component has thrown an exception

11-17-2010 9:06 PM
1479 views 3 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

All-

We are receiving "SEHException : External component has thrown an exception" error when we call the Open method on the ReportClientDocument.

Environment:

===========

1. Crystal Reports Server 2008 V1 on windows 2003 server

2. ASP.NET application in .Net framework 2.0 (references made to the new 12,0.. DLLs)

3. RAS with unmanaged reports

The code that was working fine in CR X1 Rel 2 environment is generating the above-mentioned error.

Any help will be greatly appreciated.

thanks

Jay

Edited by: Jayamaruthyraman Jaganathan on Nov 17, 2010 9:07 PM

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

See if [this|http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.sehexception.aspx] MS resource helps and make sure you are configured to use the correct framework.

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Former Member
0 Likes

Hi-

After looking at the target runtime details of some of the DLLs, I think I should be using 1.1 rather than 2.0 Framework.

Can someone confirm this?

Please see above for the environment details.

thanks

Jay

Former Member
0 Likes

So, the problem is resolved.

For those of you grappling with this issue, i did the following:

I went back and read the RAS guide and found that i had to enable the Guest account. I did enable and then i gave the Guest account Full Access.

I was still getting the same error message. I then replaced the hostname with 127.0.0.1 and it did not work. Since this is being tried in a VirtualBox, i got the ip address 10...* and used that.

Bingo, it started working.

Answers (0)