473,795 Members | 3,081 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

External component has thrown an error

We have an application that is running under Citrix. The application
files are located on a shared network drive and the app is launched via
UNC. The app contains WinForms that are called from Excel and provide
database connectivity.

Every so often, we're getting an error "External component has thrown
an error" when they try to instantiate a form. I do not have the
InnerException in the MessageBox prompts, but in another unhandled
case, I got the following stacktrace

System.Runtime. InteropServices .SEHException: External component has
thrown an exception.
at System.Reflecti on.Assembly.Get Resource(String resourceName,
UInt64& length, StackCrawlMark& stackMark, Boolean skipSecurityChe ck)
at System.Reflecti on.Assembly.Get ManifestResourc eStream(String name,
StackCrawlMark& stackMark, Boolean skipSecurityChe ck)
at System.Reflecti on.Assembly.Get ManifestResourc eStream(Type type,
String name, Boolean skipSecurityChe ck, StackCrawlMark& stackMark)
at
System.Resource s.ResourceManag er.InternalGetR esourceSet(Cult ureInfo
culture, Boolean createIfNotExis ts, Boolean tryParents)
at
System.Resource s.ResourceManag er.InternalGetR esourceSet(Cult ureInfo
culture, Boolean createIfNotExis ts, Boolean tryParents)
at
System.Resource s.ResourceManag er.InternalGetR esourceSet(Cult ureInfo
culture, Boolean createIfNotExis ts, Boolean tryParents)
at System.Resource s.ResourceManag er.GetObject(St ring name,
CultureInfo culture)
at System.Resource s.ResourceManag er.GetObject(St ring name)
at UserMaintenance Form.Initialize Component()

The only resources in use are the embedded ImageLists used in various
forms.

The thread below mentions a faulty network connection. However, in my
case, if the user tries the operation again, they get the same
exception.

http://groups.google.com/group/micro...33256cadbaffb9
Any clues on how to resolve this?

Thanks

Nov 17 '05 #1
0 2791

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2194
by: Sachy | last post by:
Hi, I have received following error in my ASP.NET application. Many of buttons on the different pages are generating this error. I am not sure what I did until this morning code was working fine. I have downloaded the Office updates and installed them. Rebooted my system. Now after few hours I am getting this error almost everywhere. I am sure some of the pages where I am getting this error has not changed since months. So there is...
0
1424
by: Jon Pope | last post by:
Occasionally, I see the following error whenever I close a form which is being displayed with the ShowDialog() method within my C# app: Error message: External component has thrown an exception. Error Source: System.Windows.Forms Error TargetSite: IntPtr DispatchMessageW(MSG ByRef) Error StackTrace: at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at...
0
1416
by: Ryan | last post by:
Hello I AM POSTING THIS WITH THE INTENT TO HELP SOMEONE ELSE WHO MAY HAVE THIS PROBLEM.... I DONT NEED HELP ;) I was getting the following error in one of my applications which was installed on another computer. At first I could not find the reason this error was happening; however, after some testing I realized this is the error that will show up when debugging isn't on and there in an error on the aspx part of the page.
6
37801
by: **Developer** | last post by:
What does this mean: External component has thrown an exception. My program crashes after it leaves a subroutine. What I see during debugging is when I press F11 at the End Sub statement
0
1116
by: Echo | last post by:
Hi All: Does somebody know why everytime when we update our website, if there is DLLs involved(we are running VS 2003, .net Framework 1.1, the DLLs is for project or referenced external DLLs, exp: myProject.dll and UrlRewriterForMyProject.dll), it always throw around 100 of following error: System.Web.HttpException: External component has thrown an exception. ---> System.Web.HttpCompileException: External component has thrown an...
0
2674
by: JT | last post by:
This seems like it could be an asp.net bug. I am getting the following exception when I add OnSortCommand attribute to a datagrid. I have deleted the temp directories, rebooted etc and I have isolated it to the OnSortCommands presence. When I use a code behind it doesn't fire any events on the back end and the global error handler grabs it. I put together a very simple example to illustrate the problem below. If anyone has an idea of...
0
323
by: Rich Freeman via DotNetMonster.com | last post by:
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...
0
1823
by: Pieter | last post by:
Hi, When using clickOnce for a VB.NET 2.0 application it installs fine on every computer, except one (a new one...). Every is isstalled, Framework, Mdac, .... The error in the log file is: "External component has thrown an exception" Does anybody knows what could have caused this problem?
4
3254
by: =?Utf-8?B?U0g=?= | last post by:
There seems to be an issue with .NET 3.5/Visual Studio 2008 (Team System). After convincing my company to create our latest project in .NET 3.5, this is kind of reflecting bad on me. Problem: Solution will NOT compile. Error is simply: "External component has thrown an exception". NO other details.
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10439
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7541
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.