Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > External component has thrown an exception

Reply
Thread Tools

External component has thrown an exception

 
 
Rich Freeman via DotNetMonster.com
Guest
Posts: n/a
 
      02-23-2007
I have run into a very bizarre intermittent problem with a web app which has
been online for almost a year now. While the entire app runs correctly on
our dev server, all of a sudden, certain subdirectories on the live server
(but not others) throw an "External component has thrown an exception" error
on pages that were not changed and have been working for months and months.
I suspect the problem could be related to something in one of the ascx files,
but the attempted debug and fix has left me bewildered:

I created a new blank page and one by one added the ascx controls that were
on the pages that threw the External Component Exception. The first 3 added
fine, but when I added the 4th ascx the same error occurred. When I uploaded
the ascx in question to the web server WITH NO CHANGES to the file and
refreshed my page everything magically worked, even though the ascx I
uploaded was identical to the one on the server. More bizarrely, when I
added a Try Catch block to an entirely separate page then re-uploaded my dll
to the server's bin, the External Component error re-occurred right away.
Once again I uploaded the unchanged ascx file and the error went away.

If anyone could give me any info at all as to how to capture more information
about this error could possibly occur and how / why re-uploading the exact
same file seems to make it disappear I would really appreciate the advice.

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200702/1

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"System.Web.HttpException: External component has thrown an exception" if OnSortCommand attribute is present in a datagrid control JT ASP .Net 0 11-10-2006 06:07 AM
External component has thrown an exception error when updating web =?Utf-8?B?RWNobw==?= ASP .Net 0 10-24-2006 02:44 PM
External component has thrown an exception Alan Wang ASP .Net 1 08-19-2005 07:44 AM
External component has thrown an exception =?Utf-8?B?U1RlY2g=?= ASP .Net 3 03-15-2005 06:14 AM
System.Web.HttpException: External component has thrown an exception Ryan ASP .Net 0 10-13-2004 09:21 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57